bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

isapipe change to export HAVE_FIFO_PIPES


From: Paul Eggert
Subject: isapipe change to export HAVE_FIFO_PIPES
Date: Fri, 08 Sep 2006 10:12:27 -0700
User-agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (gnu/linux)

I installed this since coreutils can use the HAVE_FIFO_PIPES definition.

2006-09-08  Paul Eggert  <address@hidden>

        * 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

[Prev in Thread] Current Thread [Next in Thread]