# HG changeset patch # User Mike Miller # Date 1459972260 25200 # Node ID 7f3519e6194adca5a38170f9c15207771536f660 # Parent f3f8e1d3e39937f8fde12082f170e8aa5b466bdc Enable the pipe function on Windows (bug #47614) * bootstrap.conf (gnulib_modules): Include pipe-posix in the list. * oct-syscalls.cc (octave_syscalls::pipe): Call gnulib::pipe portability wrapper, drop HAVE_PIPE condition. diff -r f3f8e1d3e399 -r 7f3519e6194a bootstrap.conf --- a/bootstrap.conf Fri Apr 01 12:04:04 2016 -0400 +++ b/bootstrap.conf Wed Apr 06 12:51:00 2016 -0700 @@ -68,6 +68,7 @@ open opendir pathmax + pipe-posix progname putenv readdir diff -r f3f8e1d3e399 -r 7f3519e6194a liboctave/system/oct-syscalls.cc --- a/liboctave/system/oct-syscalls.cc Fri Apr 01 12:04:04 2016 -0400 +++ b/liboctave/system/oct-syscalls.cc Wed Apr 06 12:51:00 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; }