Browse Source

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 years ago
parent
commit
24b37628a1
1 changed files with 0 additions and 5 deletions
  1. 0 5
      scripts/Dpkg/Changelog/Debian.pm

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

@@ -99,11 +99,6 @@ sub parse {
 					$file, $! );
 					$file, $! );
 	    return undef;
 	    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}) {
     } elsif (my $string = $self->{config}{instring}) {
 	eval { require IO::String };
 	eval { require IO::String };
 	if ($@) {
 	if ($@) {