diff options
Diffstat (limited to 'src/sysdep.c')
| -rw-r--r-- | src/sysdep.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sysdep.c b/src/sysdep.c index 460166d119e..674e76db7a0 100644 --- a/src/sysdep.c +++ b/src/sysdep.c | |||
| @@ -2337,7 +2337,7 @@ posix_close (int fd, int flag) | |||
| 2337 | closed, and retrying the close could inadvertently close a file | 2337 | closed, and retrying the close could inadvertently close a file |
| 2338 | descriptor allocated by some other thread. In other systems | 2338 | descriptor allocated by some other thread. In other systems |
| 2339 | (e.g., HP/UX) FD is not closed. And in still other systems | 2339 | (e.g., HP/UX) FD is not closed. And in still other systems |
| 2340 | (e.g., OS X, Solaris), maybe FD is closed, maybe not, and in a | 2340 | (e.g., macOS, Solaris), maybe FD is closed, maybe not, and in a |
| 2341 | multithreaded program there can be no way to tell. | 2341 | multithreaded program there can be no way to tell. |
| 2342 | 2342 | ||
| 2343 | So, in this case, pretend that the close succeeded. This works | 2343 | So, in this case, pretend that the close succeeded. This works |