]> git.lyx.org Git - lyx.git/blobdiff - src/support/os_unix.C
another safety belt
[lyx.git] / src / support / os_unix.C
index e5ccd430d9959a1da95f7c3284a9f3edda60d274..26778e85df79af5971816055c481c41ead7132dd 100644 (file)
@@ -77,9 +77,16 @@ bool os::is_absolute_path(string const & p)
        return (!p.empty() && p[0] == '/');
 }
 
-// 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";
+}