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

List:       cups-bugs
Subject:    Re: [cups.bugs] [HIGH] STR #3084: ppdc does not properly search for
From:       Michael Sweet <msweet () apple ! com>
Date:       2009-01-30 22:04:22
Message-ID: 20090130220422.7DA6A3C68112 () dns ! easysw ! com
[Download RAW message or body]

[STR Closed w/Resolution]

Fixed in Subversion repository.

See the attached patch for an update - we still need to make sure
pofilename is initialized for the poname == "" case...

Link: http://www.cups.org/str.php?L3084
Version: 1.4-current
Fix Version: 1.4-current (r8309)
["str3084.patch" (text/plain)]

Index: ppdc/ppdc-source.cxx
===================================================================
--- ppdc/ppdc-source.cxx	(revision 8308)
+++ ppdc/ppdc-source.cxx	(working copy)
@@ -1665,7 +1665,9 @@
     strcpy(basedir, ".");
 
   // Find the po file...
-  if (!pofilename[0] ||
+  pofilename[0] = '\0';
+
+  if (!poname[0] ||
       find_include(poname, basedir, pofilename, sizeof(pofilename)))
   {
     // Found it, so load it...


_______________________________________________
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