+dpkg (1.4.1.11) unstable; urgency=low
+
+ * Non-maintainer release.
+ * Added sparc64 to archtable
+ * Added entries for newer alpha architectures to the archtable
+ * Always run patch and diff with LANG set to C.
+ * Handle diff warning for files with no newline at the end of file
+ Closes: Bug#45642
+
+ -- Wichert Akkerman <wakkerma@debian.org> Fri, 24 Sep 1999 03:23:54 +0200
+
dpkg (1.4.1.10) unstable; urgency=low
* Non-maintainer release.
+dpkg (1.4.1.11) unstable; urgency=low
+
+ * Non-maintainer release.
+ * Added sparc64 to archtable
+ * Added entries for newer alpha architectures to the archtable
+ * Always run patch and diff with LANG set to C.
+ * Handle diff warning for files with no newline at the end of file
+ Closes: Bug#45642
+
+ -- Wichert Akkerman <wakkerma@debian.org> Fri, 24 Sep 1999 03:23:54 +0200
+
dpkg (1.4.1.10) unstable; urgency=low
* Non-maintainer release.
}
defined($c3= open(DIFFGEN,"-|")) || &syserr("fork for diff");
if (!$c3) {
+ $ENV{'LANG'}= 'C';
exec('diff','-u',
'-L',"$basedirname.orig/$fn",
'-L',"$basedirname/$fn",
while (($_ = <GZIP>) && !/^--- /) {
# read hunk header (@@)
s/\n$// or &error("diff is missing trailing newline");
+ next if /^\\ No newline/;
/^@@ -\d+(,(\d+))? \+\d+(,(\d+))? @\@$/ or
&error("Expected ^@@ in line $. of diff");
my ($olines, $nlines) = ($1 ? $2 : 1, $3 ? $4 : 1);
while ($olines || $nlines) {
$_ = <GZIP> or &error("unexpected end of diff");
s/\n$// or &error("diff is missing trailing newline");
+ next if /^\\ No newline/;
if (/^ /) { --$olines; --$nlines; }
elsif (/^-/) { --$olines; }
elsif (/^\+/) { --$nlines; }
if (!$c2) {
open(STDIN,"<&GZIP") || &syserr("reopen gzip for patch");
chdir($newdirectory) || &syserr("chdir to $newdirectory for patch");
+ $ENV{'LANG'}= 'C';
exec('patch','-s','-t','-F','0','-N','-p1','-u',
'-V','never','-g0','-b','-z','.dpkg-orig');
&syserr("exec patch");