I installed this since coreutils can use the HAVE_FIFO_PIPES definition.

2006-09-08  Paul Eggert  <[EMAIL PROTECTED]>

        * lib/isapipe.h (HAVE_FIFO_PIPES) [!defined HAVE_FIFO_PIPES]:
        Moved to here ...
        * lib/isapipe.c (HAVE_FIFO_PIPES) [!defined HAVE_FIFO_PIPES]:
        ... from here.

Index: lib/isapipe.c
===================================================================
RCS file: /cvsroot/gnulib/gnulib/lib/isapipe.c,v
retrieving revision 1.2
diff -p -u -r1.2 isapipe.c
--- lib/isapipe.c       31 Aug 2006 04:52:03 -0000      1.2
+++ lib/isapipe.c       8 Sep 2006 17:09:55 -0000
@@ -30,11 +30,6 @@
 
 #include "stat-macros.h"
 
-/* Whether pipes are FIFOs; -1 if not known.  */
-#ifndef HAVE_FIFO_PIPES
-# define HAVE_FIFO_PIPES (-1)
-#endif
-
 /* The maximum link count for pipes; (nlink_t) -1 if not known.  */
 #ifndef PIPE_LINK_COUNT_MAX
 # define PIPE_LINK_COUNT_MAX ((nlink_t) (-1))
Index: lib/isapipe.h
===================================================================
RCS file: /cvsroot/gnulib/gnulib/lib/isapipe.h,v
retrieving revision 1.1
diff -p -u -r1.1 isapipe.h
--- lib/isapipe.h       29 Aug 2006 20:32:07 -0000      1.1
+++ lib/isapipe.h       8 Sep 2006 17:09:55 -0000
@@ -1 +1,6 @@
-int isapipe (int);
+/* Whether pipes are FIFOs; -1 if not known.  */
+#ifndef HAVE_FIFO_PIPES
+# define HAVE_FIFO_PIPES (-1)
+#endif
+
+int isapipe (int fd);


Reply via email to