From 24b37628a18c4921882d7e9068f12ca4bd42151d Mon Sep 17 00:00:00 2001 From: Frank Lichtenheld Date: Tue, 11 Dec 2007 00:51:37 +0100 Subject: [PATCH] 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. --- scripts/Dpkg/Changelog/Debian.pm | 5 ----- 1 file changed, 5 deletions(-) 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 ($@) { -- 2.39.5