From: Paul Eggert Date: Fri, 8 Sep 2006 17:11:17 +0000 (+0000) Subject: * isapipe.h (HAVE_FIFO_PIPES) [!defined HAVE_FIFO_PIPES]: X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c74addc7bfdbd6b66878adef1f7079a28d3cec83;p=pspp * isapipe.h (HAVE_FIFO_PIPES) [!defined HAVE_FIFO_PIPES]: Moved to here ... * isapipe.c (HAVE_FIFO_PIPES) [!defined HAVE_FIFO_PIPES]: ... from here. --- diff --git a/lib/ChangeLog b/lib/ChangeLog index ffb0909fa3..fef066c764 100644 --- a/lib/ChangeLog +++ b/lib/ChangeLog @@ -1,3 +1,10 @@ +2006-09-08 Paul Eggert + + * 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 * striconv.h: New file. @@ -9,10 +16,10 @@ 2006-09-05 Ralf Wildenhues * argz_.h: Sync from Libtool. - + 2006-09-04 George Bosilca and Ralf Wildenhues - + * libltdl/argz_.h: It's __cplusplus, not _cplusplus. 2006-09-05 Davide Angelocola diff --git a/lib/isapipe.c b/lib/isapipe.c index fe885bf431..59b6f5481a 100644 --- a/lib/isapipe.c +++ b/lib/isapipe.c @@ -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)) diff --git a/lib/isapipe.h b/lib/isapipe.h index 187527ac8e..c108e308ad 100644 --- a/lib/isapipe.h +++ b/lib/isapipe.h @@ -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);