+2007-11-15 Guillem Jover <guillem@debian.org>
+
+ * scripts/Dpkg/Arch.pm (read_cputable): Force a sane input record
+ separator.
+ (read_ostable): Likewise.
+ (read_triplettable): Likewise.
+
2007-11-04 Guillem Jover <guillem@debian.org>
* scripts/Makefile.am (clean): Set PERL5LIB to force use of shipped
sub read_cputable
{
local $_;
+ local $/ = "\n";
open CPUTABLE, "$pkgdatadir/cputable"
or syserr(_g("unable to open cputable"));
sub read_ostable
{
local $_;
+ local $/ = "\n";
open OSTABLE, "$pkgdatadir/ostable"
or syserr(_g("unable to open ostable"));
read_cputable() if (!@cpu);
local $_;
+ local $/ = "\n";
open TRIPLETTABLE, "$pkgdatadir/triplettable"
or syserr(_g("unable to open triplettable"));