Mercurial > hg > octave-nkf
changeset 18545:aa7ca90ce746 stable
avoid problems if popen is a macro
* file-io.cc (Fpopen): Define with DEFUNX instead of DEFUN.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Mon, 17 Feb 2014 02:19:52 -0500 |
parents | df8e5e3a0f67 |
children | 3c1a28978599 |
files | libinterp/corefcn/file-io.cc |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libinterp/corefcn/file-io.cc +++ b/libinterp/corefcn/file-io.cc @@ -1801,7 +1801,7 @@ return retval; } -DEFUN (popen, args, , +DEFUNX ("popen", Fpopen, args, , "-*- texinfo -*-\n\ @deftypefn {Built-in Function} {@var{fid} =} popen (@var{command}, @var{mode})\n\ Start a process and create a pipe. The name of the command to run is\n\