ext: handle weird regular files with O_NONBLOCK set
commitcd76457a8eec40a0de8cb2bc779c5bfb08b9d7b3
authorEric Wong <normalperson@yhbt.net>
Sun, 6 Jun 2010 07:19:55 +0000 (6 07:19 +0000)
committerEric Wong <normalperson@yhbt.net>
Sun, 6 Jun 2010 07:21:30 +0000 (6 07:21 +0000)
treecc99b6f8a0b70b558a568a7b32eb357db929f712
parent8794037db3e88fc03d8bc33d603a0b39a69ddf97
ext: handle weird regular files with O_NONBLOCK set

Sometimes programmers can blindly set O_NONBLOCK on everything
in sight.  However, O_NONBLOCK has no effect on regular files,
so ignore it and allow the raw file descriptor to be used.
ext/clogger_ext/clogger.c