]> git.lyx.org Git - features.git/blobdiff - src/support/os_unix.C
popen tweaks; "no 0cm" patch from Herbert; fix disabled toggles in menus
[features.git] / src / support / os_unix.C
index 1cf91a34c5c9f498fc0c50cccaf46a4e7b148f62..e5ccd430d9959a1da95f7c3284a9f3edda60d274 100644 (file)
@@ -76,3 +76,10 @@ bool os::is_absolute_path(string const & p)
 {
        return (!p.empty() && p[0] == '/');
 }
+
+// returns a string suitable to be passed to fopen/popen when
+// reading a file
+char const * os::read_mode()
+{
+       return "r";
+}