kov changed libgksu/trunk/ChangeLog, libgksu/trunk/libgksu/libgksu.c

Gustavo Noronha kov at alioth.debian.org
Sun Mar 4 15:57:06 CET 2007


Mensagem de log: 
also handle strings that had their single quotes quoted


-----


Modified: libgksu/trunk/ChangeLog
===================================================================
--- libgksu/trunk/ChangeLog	2007-03-04 14:47:29 UTC (rev 780)
+++ libgksu/trunk/ChangeLog	2007-03-04 14:57:06 UTC (rev 781)
@@ -1,3 +1,9 @@
+2007-03-04  Gustavo Noronha Silva  <kov at debian.org>
+
+	* libgksu/libgksu.c:
+	- accepted patch by Michael Vogt to handle the
+	  better quoted strings given by gksu
+
 2007-02-04  Gustavo Noronha Silva  <kov at debian.org>
 
 	* Release 2.0.4

Modified: libgksu/trunk/libgksu/libgksu.c
===================================================================
--- libgksu/trunk/libgksu/libgksu.c	2007-03-04 14:47:29 UTC (rev 780)
+++ libgksu/trunk/libgksu/libgksu.c	2007-03-04 14:57:06 UTC (rev 781)
@@ -2471,7 +2471,7 @@
 	  }
 	else
 	  {
-	    if (context->command[i] == '\\')
+	    if (context->command[i] == '\\' && context->command[i+1] != '\\')
 	      i = i + 1;
 	    tmp_arg = g_realloc (tmp_arg, sizeof(gchar)*(j+1));
 	    tmp_arg[j] = context->command[i];




More information about the gksu-commits mailing list