libuv/src/unix
Ben Noordhuis ac0d46851a unix: work around darwin bug, don't poll() on pipe
poll() on newer versions of OS X sets POLLHUP|POLLIN whereas older versions
(and other Unices) only set POLLHUP. It was tripping up a check that expected
to read data when POLLIN was set.

While easy to work around, I switched it to a blocking read instead:
it's less code and avoids surprises like the one above altogether.

Fixes #522.
2012-08-12 00:59:18 +02:00
..
eio eio: don't use futimes() on linux 2012-02-06 20:35:56 +01:00
ev unix: fix memory leak in libev 2012-06-14 04:03:05 +02:00
linux unix, windows: remove handle init counters 2012-08-10 02:00:11 +02:00
async.c unix, windows: remove handle init counters 2012-08-10 02:00:11 +02:00
core.c unix, windows: preliminary signal handler support 2012-08-10 02:00:07 +02:00
cygwin.c unix, windows: remove handle init counters 2012-08-10 02:00:11 +02:00
darwin.c unix: undo changes to uv_set_process_title() 2012-07-18 22:54:39 +02:00
dl.c unix: assume that dlopen() clobbers dlerror() 2012-06-28 01:54:02 +02:00
error.c unix: map ENODEV to UV_ENODEV 2012-06-26 17:33:29 +02:00
freebsd.c unix: fix format string vulnerability in freebsd.c 2012-07-19 16:26:54 +02:00
fs.c darwin: emulate fdatasync() with fcntl(F_FULLFSYNC) 2012-08-11 23:43:51 +02:00
internal.h unix, windows: remove handle init counters 2012-08-10 02:00:11 +02:00
kqueue.c unix, windows: remove handle init counters 2012-08-10 02:00:11 +02:00
loop-watcher.c unix, windows: remove handle init counters 2012-08-10 02:00:11 +02:00
loop.c unix: remove dependency on ev_child 2012-08-10 02:00:11 +02:00
netbsd.c unix, test: make NANOSEC a 64 bits unsigned int 2012-06-07 17:00:01 +02:00
openbsd.c unix: undo changes to uv_set_process_title() 2012-07-18 22:54:39 +02:00
pipe.c unix, windows: remove handle init counters 2012-08-10 02:00:11 +02:00
poll.c unix, windows: remove handle init counters 2012-08-10 02:00:11 +02:00
process.c unix: work around darwin bug, don't poll() on pipe 2012-08-12 00:59:18 +02:00
signal.c unix, windows: preliminary signal handler support 2012-08-10 02:00:07 +02:00
stream.c unix, windows: remove handle init counters 2012-08-10 02:00:11 +02:00
sunos.c unix, windows: remove handle init counters 2012-08-10 02:00:11 +02:00
tcp.c unix, windows: remove handle init counters 2012-08-10 02:00:11 +02:00
thread.c unix: don't abort() when trylock functions return EBUSY 2012-07-26 00:11:46 +02:00
timer.c unix, windows: remove handle init counters 2012-08-10 02:00:11 +02:00
tty.c unix, windows: remove handle init counters 2012-08-10 02:00:11 +02:00
udp.c unix, windows: remove handle init counters 2012-08-10 02:00:11 +02:00
uv-eio.c unix: rework uv_eio_init() init once logic 2012-08-10 02:00:11 +02:00
uv-eio.h move eio stuff into src/unix 2011-08-31 00:24:07 -07:00