]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
Apply shell quoting to -X flag arguments, fixes bug 542183.
authorJared Moore <jaredm@svn.gnome.org>
Wed, 9 Jul 2008 13:09:15 +0000 (13:09 +0000)
committerJared William Moore <jaredm@src.gnome.org>
Wed, 9 Jul 2008 13:09:15 +0000 (13:09 +0000)
2008-07-98  Jared Moore  <jaredm@svn.gnome.org>

* gobject/valaccodecompiler.vala:

Apply shell quoting to -X flag arguments, fixes bug 542183.

svn path=/trunk/; revision=1689

ChangeLog
gobject/valaccodecompiler.vala

index 3cbcaf55d86e753b4c1c1383e7be4bb59c2c3129..57fc485287e91937b068a3a40964b37863739292 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2008-07-98  Jared Moore  <jaredm@svn.gnome.org>
+
+       * gobject/valaccodecompiler.vala:
+
+       Apply shell quoting to -X flag arguments, fixes bug 542183.
+
 2008-07-09  Raffaele Sandrini  <raffaele@sandrini.ch>
 
        * gobject/valaccodegenerator.vala:
index 06f4a7380a141e54f35158614102282b0eb1960b..47d6725581134bb2cb8a92f5e1810388e8f09a00 100644 (file)
@@ -95,7 +95,7 @@ public class Vala.CCodeCompiler : Object {
                }
                cmdline += " " + pkgflags;
                foreach (string cc_option in cc_options) {
-                       cmdline += " " + cc_option;
+                       cmdline += " " + Shell.quote (cc_option);
                }
 
                /* make sure include files can be found if -d is used */