[prev in list] [next in list] [prev in thread] [next in thread] 

List:       cups-bugs
Subject:    Re: [cups.bugs] [MOD] STR #2506: ppdc incorrectly handles #include
From:       Michael Sweet <mike () easysw ! com>
Date:       2007-09-28 22:27:49
Message-ID: 20070928222750.488A83C68122 () dns ! easysw ! com
[Download RAW message or body]

[STR Closed w/Resolution]

Fixed in Subversion repository.

Link: http://www.cups.org/str.php?L2506
Version: 1.2-current
Fix Version: 1.2-current (r355)
["str2506.patch" (text/plain)]

Index: ppdc/ppdc-source.cxx
===================================================================
--- ppdc/ppdc-source.cxx	(revision 354)
+++ ppdc/ppdc-source.cxx	(working copy)
@@ -1842,7 +1842,7 @@
         quote     = ch;
       }
     }
-    else if (ch == '(' && !quote)
+    else if ((ch == '(' || ch == '<') && !quote)
     {
       empty     = 0;
       quote     = ch;
@@ -1851,7 +1851,7 @@
       if (bufptr < bufend)
 	*bufptr++ = ch;
     }
-    else if (ch == ')' && quote == '(')
+    else if ((ch == ')' && quote == '(') || (ch == '>' && quote == '<'))
     {
       quote = 0;
 


_______________________________________________
cups-bugs mailing list
cups-bugs@easysw.com
http://lists.easysw.com/mailman/listinfo/cups-bugs


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic