Author: djpig
Date: 2006-05-13 00:06:24 +0000 (Sat, 13 May 2006)
New Revision: 310

Modified:
   trunk/ChangeLog
   trunk/debian/changelog
   trunk/src/main.c
Log:
Fix --ignore-depends argument value parsing. Closes: #169125


Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog     2006-05-12 23:43:54 UTC (rev 309)
+++ trunk/ChangeLog     2006-05-13 00:06:24 UTC (rev 310)
@@ -1,5 +1,8 @@
 2006-05-12  Frank Lichtenheld  <[EMAIL PROTECTED]>
 
+       * src/main.c (ignoredepends): Fix parsing of the
+       --ignore-depends argument value.
+
        * dpkg-deb/info.c (info_spew): Prepend the name of the
        directory we're in to the control component name. This
        way we don't spew out garbage if we get an absolute

Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog      2006-05-12 23:43:54 UTC (rev 309)
+++ trunk/debian/changelog      2006-05-13 00:06:24 UTC (rev 310)
@@ -23,6 +23,7 @@
   * Don't spew out garbage from dpkg-deb, if the second argument
     to -I is a absolute filename. Based on a patch by Ian Eure.
     Closes: #35573
+  * Fix --ignore-depends argument value parsing. Closes: #169125
 
   [ Nicolas François ]
   * fix typos in the Russian man pages. Thanks to Stepan Golosunov.

Modified: trunk/src/main.c
===================================================================
--- trunk/src/main.c    2006-05-12 23:43:54 UTC (rev 309)
+++ trunk/src/main.c    2006-05-13 00:06:24 UTC (rev 310)
@@ -266,11 +266,11 @@
   }
   p= copy;
   while (*p) {
-    pnerr= illegal_packagename(value,0);
+    pnerr= illegal_packagename(p,0);
     if (pnerr) ohshite(_("--ignore-depends requires a legal package name. "
-                       "`%.250s' is not; %s"), value, pnerr);
+                       "`%.250s' is not; %s"), p, pnerr);
     ni= m_malloc(sizeof(struct packageinlist));
-    ni->pkg= findpackage(value);
+    ni->pkg= findpackage(p);
     ni->next= ignoredependss;
     ignoredependss= ni;
     p+= strlen(p)+1;


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to