From 431622844fcecf9286bca43cbdd9e3ae5ff5e273 Mon Sep 17 00:00:00 2001 From: Michael Nottebrock Date: Tue, 12 Sep 2006 23:26:52 +0000 Subject: KDE 3.5.4 / KOffice 1.5.2 --- x11/kdebase3/files/patch-ksystraycmd-quoting.diff | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 x11/kdebase3/files/patch-ksystraycmd-quoting.diff (limited to 'x11/kdebase3/files/patch-ksystraycmd-quoting.diff') diff --git a/x11/kdebase3/files/patch-ksystraycmd-quoting.diff b/x11/kdebase3/files/patch-ksystraycmd-quoting.diff new file mode 100644 index 000000000000..8543f7254a95 --- /dev/null +++ b/x11/kdebase3/files/patch-ksystraycmd-quoting.diff @@ -0,0 +1,19 @@ +--- ksystraycmd/main.cpp (revision 572102) ++++ ksystraycmd/main.cpp (revision 572103) +@@ -5,6 +5,7 @@ + #include + #include + #include ++#include + + #include "ksystraycmd.h" + +@@ -94,7 +95,7 @@ int main( int argc, char *argv[] ) + // Read the command + QString command; + for ( int i = 0; i < args->count(); i++ ) +- command += QCString( args->arg(i) ) + " "; ++ command += KProcess::quote(QString::fromLocal8Bit( args->arg(i) )) + " "; + if ( !command.isEmpty() ) + cmd.setCommand( command ); + -- cgit v1.2.3