diff libinterp/corefcn/oct-procbuf.cc @ 25655:be7ba25bb5bf

Fix Windows cross-build after 85c3e315bd43. * sysdep.cc: Don't make "get_regkey_value" static (is used in ov-java.cc). Fix ambiguous function name error. * oct-procbuf.cc (open, close): Use function names in octave namespace.
author Markus Mützel <markus.muetzel@gmx.de>
date Sun, 22 Jul 2018 21:04:09 +0200
parents cb1606f78f6b
children 00f796120a6d
line wrap: on
line diff
--- a/libinterp/corefcn/oct-procbuf.cc	Sat Jul 21 12:49:57 2018 -0700
+++ b/libinterp/corefcn/oct-procbuf.cc	Sun Jul 22 21:04:09 2018 +0200
@@ -78,7 +78,7 @@
   if (is_open ())
     return 0;
 
-  f = (octave_popen (command, (mode & std::ios::in) ? "r" : "w"));
+  f = (octave::popen (command, (mode & std::ios::in) ? "r" : "w"));
 
   if (! f)
     return 0;
@@ -183,7 +183,7 @@
 
   if (f)
     {
-      wstatus = octave_pclose (f);
+      wstatus = octave::pclose (f);
       f = 0;
     }