From: Dirk E. <des...@us...> - 2005-07-16 12:41:55
|
Update of /cvsroot/krusader/krusader_kde3/krusader/GUI In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16341/krusader/GUI Modified Files: kcmdline.cpp Log Message: FIXED: crash when "run in terminal mode" was active on a directory with insufficient permissions (patch by Oleksandr Shneyder) Index: kcmdline.cpp =================================================================== RCS file: /cvsroot/krusader/krusader_kde3/krusader/GUI/kcmdline.cpp,v retrieving revision 1.29 retrieving revision 1.30 diff -C2 -d -r1.29 -r1.30 *** kcmdline.cpp 6 Feb 2005 19:08:01 -0000 1.29 --- kcmdline.cpp 16 Jul 2005 12:41:43 -0000 1.30 *************** *** 47,50 **** --- 47,51 ---- #include "../krservices.h" #include <qdir.h> + #include <kstandarddirs.h> #include <klocale.h> #include <kglobalsettings.h> *************** *** 172,176 **** proc << "-e "; // redirect the command to file so pipe will be supperted.. ! KTempFile tmpfile("krcmd","tmp"); QTextStream *stream = tmpfile.textStream(); // delete the temporary file --- 173,178 ---- proc << "-e "; // redirect the command to file so pipe will be supperted.. ! // KTempFile tmpfile("krcmd","tmp"); ! KTempFile tmpfile(locateLocal("tmp","krcmd"),"tmp"); QTextStream *stream = tmpfile.textStream(); // delete the temporary file |