fix unsigned comparison bug in posix_spawn
authorRich Felker <dalias@aerifal.cx>
Sun, 3 Feb 2013 22:09:47 +0000 (17:09 -0500)
committerRich Felker <dalias@aerifal.cx>
Sun, 3 Feb 2013 22:09:47 +0000 (17:09 -0500)
commit4862864fc1a6d162b297db09c216b136db83d7dd
treee7005707af3b8b89eb827423c6d02c154f86c0b7
parentfb6b159d9ec7cf1e037daa974eeeacf3c8b3b3f1
fix unsigned comparison bug in posix_spawn

read should never return anything but 0 or sizeof ec here, but if it
does, we want to treat any other return as "success". then the caller
will get back the pid and is responsible for waiting on it when it
immediately exits.
src/process/posix_spawn.c