Package: dpkg
Version: 1.14.16.6
Severity: important
Tags: patch
User: [EMAIL PROTECTED]
Usertags: origin-ubuntu hardy ubuntu-patch

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


In Ubuntu, we've applied the attached patch to achieve the following:

  * Fix wrong call to open in Dpkg/Control.pm that makes using a different
    control file than debian/control fail horribly.

We thought you might be interested in doing the same. 


- -- System Information:
Debian Release: lenny/sid
  APT prefers hardy
  APT policy: (500, 'hardy'), (500, 'gutsy')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.24-6-generic (SMP w/2 CPU cores)
Locale: LANG=da_DK.UTF-8, LC_CTYPE=da_DK.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFHsNBxonjfXui9pOMRAtxZAJwOJGRnPBBVuxf+wyjj7heRPh6ldwCfYGKk
gnFO1f8OjTlKg6rp654onUk=
=u9ID
-----END PGP SIGNATURE-----
diff -Nru /tmp/63ah7FRjAl/dpkg-1.14.16.6ubuntu1/scripts/Dpkg/Control.pm 
/tmp/fQCCS9NM6H/dpkg-1.14.16.6ubuntu2/scripts/Dpkg/Control.pm
--- dpkg-1.14.16.6ubuntu1/scripts/Dpkg/Control.pm       2008-01-18 
11:12:53.000000000 +0100
+++ dpkg-1.14.16.6ubuntu2/scripts/Dpkg/Control.pm       2008-02-11 
23:20:11.000000000 +0100
@@ -78,7 +78,7 @@
     my ($self, $file) = @_;
     $self->reset();
     # Parse
-    open(CDATA, "<", $file) || syserr(_g("cannot read %s"), $file);
+    open(CDATA, "< $file") || syserr(_g("cannot read %s"), $file);
     my $cdata = parsecdata(\*CDATA, $file);
     return if not defined $cdata;
     $self->{source} = $cdata;

Reply via email to