Commit 4e8f389
FIXED: set_stream/2 close_on_exec silently succeeded on unsupported platforms
setCloseOnExec() returned -1 where close-on-exec is unavailable, which
set_stream/2 treated as success. Raise a not_implemented(feature,
close_on_exec) exception instead and return bool.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent 495b7a3 commit 4e8f389
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2104 | 2104 | | |
2105 | 2105 | | |
2106 | 2106 | | |
2107 | | - | |
| 2107 | + | |
2108 | 2108 | | |
2109 | 2109 | | |
2110 | 2110 | | |
| |||
2130 | 2130 | | |
2131 | 2131 | | |
2132 | 2132 | | |
2133 | | - | |
| 2133 | + | |
2134 | 2134 | | |
2135 | 2135 | | |
2136 | 2136 | | |
| |||
0 commit comments