X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fpipe-filter-aux.h;h=8c6cb747aa6fcc8accbd399c00f030aeaeaab3df;hb=b344de996cd51f8a2f2558a3172016b64d99c622;hp=49644312d2f0dad2466a3c0e64b39e2d774de902;hpb=a54fe4af6d5d2d56ab422b3600bc3d5d450b05c8;p=gnulib.git diff --git a/lib/pipe-filter-aux.h b/lib/pipe-filter-aux.h index 49644312d..8c6cb747a 100644 --- a/lib/pipe-filter-aux.h +++ b/lib/pipe-filter-aux.h @@ -1,5 +1,5 @@ /* Auxiliary code for filtering of data through a subprocess. - Copyright (C) 2001-2003, 2008-2009 Free Software Foundation, Inc. + Copyright (C) 2001-2003, 2008-2011 Free Software Foundation, Inc. Written by Bruno Haible , 2009. This program is free software: you can redistribute it and/or modify @@ -84,7 +84,7 @@ nonintr_write (int fd, const void *buf, size_t count) static inline int nonintr_select (int n, fd_set *readfds, fd_set *writefds, fd_set *exceptfds, - struct timeval *timeout) + struct timeval *timeout) { int retval; @@ -102,9 +102,6 @@ nonintr_select (int n, fd_set *readfds, fd_set *writefds, fd_set *exceptfds, #endif /* Non-blocking I/O. */ -#ifndef O_NONBLOCK -# define O_NONBLOCK O_NDELAY -#endif #if HAVE_SELECT # define IS_EAGAIN(errcode) 0 #else