changeset 7275:09d34e7dc0d8

* isapipe.h (HAVE_FIFO_PIPES) [!defined HAVE_FIFO_PIPES]: Moved to here ... * isapipe.c (HAVE_FIFO_PIPES) [!defined HAVE_FIFO_PIPES]: ... from here.
author Paul Eggert <eggert@cs.ucla.edu>
date Fri, 08 Sep 2006 17:11:17 +0000
parents 9ff9e0f3d681
children 4be2c469b318
files lib/ChangeLog lib/isapipe.c lib/isapipe.h
diffstat 3 files changed, 15 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/lib/ChangeLog	Fri Sep 08 12:26:34 2006 +0000
+++ b/lib/ChangeLog	Fri Sep 08 17:11:17 2006 +0000
@@ -1,3 +1,10 @@
+2006-09-08  Paul Eggert  <eggert@cs.ucla.edu>
+
+	* isapipe.h (HAVE_FIFO_PIPES) [!defined HAVE_FIFO_PIPES]:
+	Moved to here ...
+	* isapipe.c (HAVE_FIFO_PIPES) [!defined HAVE_FIFO_PIPES]:
+	... from here.
+
 2006-09-06  Bruno Haible  <bruno@clisp.org>
 
 	* striconv.h: New file.
@@ -9,10 +16,10 @@
 2006-09-05  Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
 
 	* argz_.h: Sync from Libtool.
-	
+
 	2006-09-04  George Bosilca <bosilca@cs.utk.edu>
 		and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
-	
+
 	* libltdl/argz_.h: It's __cplusplus, not _cplusplus.
 
 2006-09-05  Davide Angelocola <davide.angelocola@tiscali.it>
--- a/lib/isapipe.c	Fri Sep 08 12:26:34 2006 +0000
+++ b/lib/isapipe.c	Fri Sep 08 17:11:17 2006 +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))
--- a/lib/isapipe.h	Fri Sep 08 12:26:34 2006 +0000
+++ b/lib/isapipe.h	Fri Sep 08 17:11:17 2006 +0000
@@ -1,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);