From: Frank Lichtenheld Date: Mon, 10 Dec 2007 23:51:37 +0000 (+0100) Subject: Dpkg::Changelog::Debian: Don't lock the input file X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=24b37628a18c4921882d7e9068f12ca4bd42151d;p=dpkg 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. --- diff --git a/scripts/Dpkg/Changelog/Debian.pm b/scripts/Dpkg/Changelog/Debian.pm index e99118bc..ae2b3101 100644 --- a/scripts/Dpkg/Changelog/Debian.pm +++ b/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 ($@) {