Selaa lähdekoodia

Dpkg::Changelog::Debian: Don't lock the input file

We don't lock any other input files in dpkg-dev, so
don't start it here.
Frank Lichtenheld 18 vuotta sitten
vanhempi
commit
24b37628a1
1 muutettua tiedostoa jossa 0 lisäystä ja 5 poistoa
  1. 0 5
      scripts/Dpkg/Changelog/Debian.pm

+ 0 - 5
scripts/Dpkg/Changelog/Debian.pm

@@ -99,11 +99,6 @@ sub parse {
 					$file, $! );
 	    return undef;
 	};
-	flock $fh, LOCK_SH or do {
-	    $self->_do_fatal_error( _g("can't lock file %s: %s"),
-					$file, $! );
-	    return undef;
-	};
     } elsif (my $string = $self->{config}{instring}) {
 	eval { require IO::String };
 	if ($@) {