SF.net SVN: geany: [2676] trunk

eht16 at users.sourceforge.net eht16 at xxxxx
Tue Jun 10 16:18:09 UTC 2008


Revision: 2676
          http://geany.svn.sourceforge.net/geany/?rev=2676&view=rev
Author:   eht16
Date:     2008-06-10 09:18:08 -0700 (Tue, 10 Jun 2008)

Log Message:
-----------
Fix endless loop when there are two triple strings on one line inside a multiline string.

Modified Paths:
--------------
    trunk/ChangeLog
    trunk/tagmanager/python.c

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog	2008-06-10 13:51:45 UTC (rev 2675)
+++ trunk/ChangeLog	2008-06-10 16:18:08 UTC (rev 2676)
@@ -3,6 +3,9 @@
  * src/utils.c:
    Allow and use arguments to the browser command (closes #1989575).
    Add 'xdg-open' as first browser fallback.
+ * tagmanager/python.c:
+   Fix endless loop when there are two triple strings on one line
+   inside a multiline string.
 
 
 2008-06-10  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>

Modified: trunk/tagmanager/python.c
===================================================================
--- trunk/tagmanager/python.c	2008-06-10 13:51:45 UTC (rev 2675)
+++ trunk/tagmanager/python.c	2008-06-10 16:18:08 UTC (rev 2676)
@@ -423,7 +423,7 @@
     while (1)
 	{
 	    /* Check if the sting ends in the same line. */
-	    s = strstr (string, *which);
+	    s = strstr (s, *which);
 		if (!s) break;
 		s += 3;
 		*which = NULL;


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the Commits mailing list