LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File yudit-2.4.8-tempfile.patch of Package yudit (Project home:linux4humans:sle11_software:M17N)

--- yudit-2.4.8/gui/Main.cpp.tempfile	Sun Nov 11 10:32:21 2001
+++ yudit-2.4.8/gui/Main.cpp	Wed Jan 23 15:31:11 2002
@@ -170,7 +170,7 @@
   //userProperties.put ("yudit.default.language", "en");
   userProperties.put ("yudit.default.filetype", "utf-8");
   userProperties.put ("yudit.default.printer.options", "");
-  userProperties.put ("yudit.default.preview.command", "-e 'cat > /tmp/yudit$$.ps; gv /tmp/yudit$$.ps ; /bin/rm -f /tmp/yudit$$.ps'");
+  userProperties.put ("yudit.default.preview.command", "-e 'TMPNAME=`mktemp /tmp/yudit.XXXXXX`; cat > $TMPNAME; gv $TMPNAME ; /bin/rm -f $TMPNAME'");
 
   SString userconfig (dotdir);
   userconfig.append ("/yudit.properties");