changeset 21591:ec77a07e4220

maint: merge stable to default.
author Mike Miller <mtmiller@octave.org>
date Wed, 06 Apr 2016 12:52:40 -0700
parents ad90fb5a139f (current diff) 7f3519e6194a (diff)
children fe5ed6d7fb10
files bootstrap.conf liboctave/system/oct-syscalls.cc
diffstat 2 files changed, 2 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/bootstrap.conf	Wed Apr 06 10:54:31 2016 -0400
+++ b/bootstrap.conf	Wed Apr 06 12:52:40 2016 -0700
@@ -74,6 +74,7 @@
   open
   opendir
   pathmax
+  pipe-posix
   progname
   putenv
   readdir
--- a/liboctave/system/oct-syscalls.cc	Wed Apr 06 10:54:31 2016 -0400
+++ b/liboctave/system/oct-syscalls.cc	Wed Apr 06 12:52:40 2016 -0700
@@ -233,14 +233,10 @@
 
   int status = -1;
 
-#if defined (HAVE_PIPE)
-  status = ::pipe (fildes);
+  status = gnulib::pipe (fildes);
 
   if (status < 0)
     msg = gnulib::strerror (errno);
-#else
-  msg = NOT_SUPPORTED ("pipe");
-#endif
 
   return status;
 }