Просмотр исходного кода

Remove duplicated string " , at changelog " in dpkg-parsechangelog's
debian style parser (Julian Gilbey). Closes: #369205

Guillem Jover лет назад: 20
Родитель
Сommit
ef135ceea0
3 измененных файлов с 7 добавлено и 1 удалено
  1. 4 0
      ChangeLog
  2. 2 0
      debian/changelog
  3. 1 1
      scripts/changelog/debian.pl

+ 4 - 0
ChangeLog

@@ -1,3 +1,7 @@
+2006-05-31  Julian Gilbey  <jdg@debian.org>
+
+	* scripts/changelog/debian.pl: Remove duped string ' , at changelog '.
+
 2006-05-31  Guillem Jover  <guillem@debian.org>
 
 	* src/enquiry.c (cmpversions): Prefix the bad syntax error with a

+ 2 - 0
debian/changelog

@@ -68,6 +68,8 @@ dpkg (1.13.20~) UNRELEASED; urgency=low
     page (Ben Pfaff). Closes: #368875
   * Print the bogus version and prefix the error message with 'dpkg: '
     when using '--compare-versions'. Closes: #369177
+  * Remove duplicated string " , at changelog " in dpkg-parsechangelog's
+    debian style parser (Julian Gilbey). Closes: #369205
 
   [ Updated dpkg Translations ]
   * Portuguese (Miguel Figueiredo).

+ 1 - 1
scripts/changelog/debian.pl

@@ -92,7 +92,7 @@ while (<STDIN>) {
             $kvdone{$k}++ && &clwarn(sprintf(_g("repeated key-value %s"), $k));
             if ($k eq 'Urgency') {
                 $v =~ m/^([-0-9a-z]+)((\s+.*)?)$/i ||
-                    &clerror(_g("badly formatted urgency value, at changelog "));
+                    &clerror(_g("badly formatted urgency value"));
                 $newurg= lc $1;
                 $newurgn= $urgencies{lc $1}; $newcomment= $2;
                 $newurgn ||