diff options
author | Michael Nottebrock <lofi@FreeBSD.org> | 2006-09-12 23:26:52 +0000 |
---|---|---|
committer | Michael Nottebrock <lofi@FreeBSD.org> | 2006-09-12 23:26:52 +0000 |
commit | 431622844fcecf9286bca43cbdd9e3ae5ff5e273 (patch) | |
tree | e1d9b3f62c8fb343d38afebf5cbf0b93095f1508 /x11/kdebase4-runtime/files/patch-ksystraycmd-quoting.diff | |
parent | b5c6ae5f82611e0c6f470a54bcdce721f86d15e4 (diff) |
Notes
Diffstat (limited to 'x11/kdebase4-runtime/files/patch-ksystraycmd-quoting.diff')
-rw-r--r-- | x11/kdebase4-runtime/files/patch-ksystraycmd-quoting.diff | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/x11/kdebase4-runtime/files/patch-ksystraycmd-quoting.diff b/x11/kdebase4-runtime/files/patch-ksystraycmd-quoting.diff new file mode 100644 index 000000000000..8543f7254a95 --- /dev/null +++ b/x11/kdebase4-runtime/files/patch-ksystraycmd-quoting.diff @@ -0,0 +1,19 @@ +--- ksystraycmd/main.cpp (revision 572102) ++++ ksystraycmd/main.cpp (revision 572103) +@@ -5,6 +5,7 @@ + #include <kcmdlineargs.h> + #include <kdebug.h> + #include <klocale.h> ++#include <kprocess.h> + + #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 ); + |