changeset 3520:0c0aea0ab1bb

avoid popen macro in stable-octave
author John W. Eaton <jwe@octave.org>
date Fri, 14 Feb 2014 18:00:12 -0500
parents de728273f855
children 2aaa6f511434
files src/stable-octave-1-fixes.patch
diffstat 1 files changed, 12 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/stable-octave-1-fixes.patch	Fri Feb 14 18:00:12 2014 -0500
@@ -0,0 +1,12 @@
+diff -ur a/libinterp/corefcn/file-io.cc b/libinterp/corefcn/file-io.cc
+--- a/libinterp/corefcn/file-io.cc	2014-01-08 01:39:44.000000000 -0500
++++ b/libinterp/corefcn/file-io.cc	2014-02-14 17:31:58.816756036 -0500
+@@ -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\