canonicalize: fix references to stat() and lstat()
[gnulib.git] / lib / pipe-filter-aux.h
index 4964431..8c6cb74 100644 (file)
@@ -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 <haible@clisp.cons.org>, 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