diff options
author | Daniel Stenberg <daniel@haxx.se> | 2005-01-13 21:51:48 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2005-01-13 21:51:48 +0000 |
commit | 0e263553488ffbc08b5e98012835bceff9d23f7d (patch) | |
tree | 84aae6c5c0254027471b718b8ad43569828e099c /CHANGES | |
parent | 246ea56eab26e9a13211e88a919e7e30d29272e8 (diff) |
Inspired by Martijn Koster's patch and example source at
http://www.greenhills.co.uk/mak/gentoo/curl-eintr-bug.c, I now made the
select() and poll() calls properly loop if they return -1 and errno is
EINTR. glibc docs for this is found here:
http://www.gnu.org/software/libc/manual/html_node/Interrupted-Primitives.html
This last link says BSD doesn't have this "effect". Will there be a problem
if we do this unconditionally?
S: ----------------------------------------------------------------------
Diffstat (limited to 'CHANGES')
-rw-r--r-- | CHANGES | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -7,6 +7,16 @@ Changelog +Daniel (13 January 2005) +- Inspired by Martijn Koster's patch and example source at + http://www.greenhills.co.uk/mak/gentoo/curl-eintr-bug.c, I now made the + select() and poll() calls properly loop if they return -1 and errno is + EINTR. glibc docs for this is found here: + http://www.gnu.org/software/libc/manual/html_node/Interrupted-Primitives.html + + This last link says BSD doesn't have this "effect". Will there be a problem + if we do this unconditionally? + Daniel (11 January 2005) - Dan Torop cleaned up a few no longer used variables from David Phillips' select() overhaul fix. |