]> err.no Git - dpkg/commitdiff
Dpkg::Changelog::Debian: Don't lock the input file
authorFrank Lichtenheld <djpig@debian.org>
Mon, 10 Dec 2007 23:51:37 +0000 (00:51 +0100)
committerFrank Lichtenheld <djpig@debian.org>
Mon, 10 Dec 2007 23:51:37 +0000 (00:51 +0100)
We don't lock any other input files in dpkg-dev, so
don't start it here.

scripts/Dpkg/Changelog/Debian.pm

index e99118bc879dbf61091abbd6212cb450586047d4..ae2b3101140828c1ad936a7acc44c5fa12f68ea8 100644 (file)
@@ -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 ($@) {