Explorar el Código

Fix missspelling of "occurred" as "occoured" in dpkg-gencontrol and
dpkg-source (Matt Kraai). Closes: #353949

Guillem Jover hace 20 años
padre
commit
e1759efe73
Se han modificado 4 ficheros con 9 adiciones y 2 borrados
  1. 5 0
      ChangeLog
  2. 2 0
      debian/changelog
  3. 1 1
      scripts/dpkg-gencontrol.pl
  4. 1 1
      scripts/dpkg-source.pl

+ 5 - 0
ChangeLog

@@ -1,3 +1,8 @@
+2006-02-28  Matt Kraai  <kraai@ftbfs.org>
+
+	* scripts/dpkg-gencontrol.pl: Fix typo (occoured -> occurred).
+	* scripts/dpkg-source.pl: Likewise.
+
 2006-02-19  Guillem Jover  <guillem@debian.org>
 
 	* po/READNE.translators: Move to ...

+ 2 - 0
debian/changelog

@@ -9,6 +9,8 @@ dpkg (1.13.17~) UNRELEASED; urgency=low
   [ Guillem Jover ]
   * Add missing parentheses surrounding a man page section reference
     in the dpkg-source man page (Matt Kraai). Closes: #353731
+  * Fix missspelling of "occurred" as "occoured" in dpkg-gencontrol and
+    dpkg-source (Matt Kraai). Closes: #353949
 
   [ Updated man pages translations ]
   * Polish (Robert Luberda). Closes: #353782

+ 1 - 1
scripts/dpkg-gencontrol.pl

@@ -181,7 +181,7 @@ for $_ (keys %fi) {
         if (m/^(Package|Description|Essential|Optional)$/) {
         } elsif (exists($pkg_dep_fields{$_})) {
            my $dep = parsedep(substvars($v), 1, 1);
-           &error("error occoured while parsing $_") unless defined $dep;
+           &error("error occurred while parsing $_") unless defined $dep;
             $f{$_}= showdep($dep, 0);
         } elsif (m/^Section$|^Priority$/) {
         } elsif (m/^Architecture$/) {

+ 1 - 1
scripts/dpkg-source.pl

@@ -177,7 +177,7 @@ if ($opmode eq 'build') {
 	    elsif (m/^Uploaders$/i) { ($f{$_}= $v) =~ s/[\r\n]//g; }
 	    elsif (m/^Build-(Depends|Conflicts)(-Indep)?$/i) {
 		my $dep = parsedep(substvars($v),1);
-		&error("error occoured while parsing $_") unless defined $dep;
+		&error("error occurred while parsing $_") unless defined $dep;
 		$f{$_}= showdep($dep, 1);
 	    }
             elsif (s/^X[BC]*S[BC]*-//i) { $f{$_}= $v; }