Mercurial > octave
changeset 21936:45c5f4426289
Use library wrapper for one more instance of WNOHANG (bug #48253)
* sighandlers.cc (octave_child_list::octave_child_list_rep::wait): Use
octave::sys::wnohang wrapper.
author | Mike Miller <mtmiller@octave.org> |
---|---|
date | Fri, 17 Jun 2016 09:11:40 -0700 |
parents | 2f33052c68ff |
children | 55f7de37b618 |
files | libinterp/corefcn/sighandlers.cc |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libinterp/corefcn/sighandlers.cc Thu Jun 16 19:43:20 2016 -0400 +++ b/libinterp/corefcn/sighandlers.cc Fri Jun 17 09:11:40 2016 -0700 @@ -1005,7 +1005,7 @@ { int status; - if (octave::sys::waitpid (pid, &status, WNOHANG) > 0) + if (octave::sys::waitpid (pid, &status, octave::sys::wnohang ()) > 0) { oc.have_status = 1;