Mercurial > octave
comparison liboctave/system/oct-syscalls.cc @ 21591:ec77a07e4220
maint: merge stable to default.
author | Mike Miller <mtmiller@octave.org> |
---|---|
date | Wed, 06 Apr 2016 12:52:40 -0700 |
parents | 40de9f8f23a6 7f3519e6194a |
children | 46f059de4dce |
comparison
equal
deleted
inserted
replaced
21589:ad90fb5a139f | 21591:ec77a07e4220 |
---|---|
231 { | 231 { |
232 msg = ""; | 232 msg = ""; |
233 | 233 |
234 int status = -1; | 234 int status = -1; |
235 | 235 |
236 #if defined (HAVE_PIPE) | 236 status = gnulib::pipe (fildes); |
237 status = ::pipe (fildes); | 237 |
238 | 238 if (status < 0) |
239 if (status < 0) | 239 msg = gnulib::strerror (errno); |
240 msg = gnulib::strerror (errno); | |
241 #else | |
242 msg = NOT_SUPPORTED ("pipe"); | |
243 #endif | |
244 | 240 |
245 return status; | 241 return status; |
246 } | 242 } |
247 | 243 |
248 pid_t | 244 pid_t |