]> git.lyx.org Git - lyx.git/blobdiff - src/support/os_os2.C
another safety belt
[lyx.git] / src / support / os_os2.C
index a16620dff876b92ae7f64197fce1cedc3414b116..bc05f319c28f2708fe582612ea4d10b581026aa5 100644 (file)
@@ -174,9 +174,16 @@ bool os::is_absolute_path(string const & p)
 }
 
 
-// returns a string suitable to be passed to fopen/popen when
+// returns a string suitable to be passed to fopen when
 // reading a file
 char const * os::read_mode()
 {
        return "r";
 }
+
+// returns a string suitable to be passed to popen when
+// reading a pipe
+char const * os::popen_read_mode()
+{
+       return "r";
+}