summaryrefslogtreecommitdiffstats
path: root/Parser/tokenizer.c
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2002-11-02 19:55:21 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2002-11-02 19:55:21 (GMT)
commit39d22e569394e7ddd27a3806dab9d0fc6032e13d (patch)
tree50534beae886540eb84044a23e1b4dab5b9d357b /Parser/tokenizer.c
parente7629c85bcfd8ba023ce89f506f393fc41d5f6bf (diff)
downloadcpython-39d22e569394e7ddd27a3806dab9d0fc6032e13d.zip
cpython-39d22e569394e7ddd27a3806dab9d0fc6032e13d.tar.gz
cpython-39d22e569394e7ddd27a3806dab9d0fc6032e13d.tar.bz2
Use O_NONBLOCK rather than O_NDELAY, so we get POSIX non-blocking I/O.
On HPUX, Solaris, Tru64 (Dec UNIX), and IRIX (I think), O_NONBLOCK is the POSIX version of non-blocking I/O which is what we want. On Linux and FreeBSD (at least), O_NONBLOCK and O_NDELAY are the same. So this change should have no negative effect on those platforms. Tested on Linux, Solaris, HPUX. Thanks to Anders Qvist for diagnosing this problem.
Diffstat (limited to 'Parser/tokenizer.c')
0 files changed, 0 insertions, 0 deletions