https://bugzilla.novell.com/show_bug.cgi?id=852008
https://bugzilla.novell.com/show_bug.cgi?id=852008#c3
Andreas Bolsch changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |andreas.bolsch@alumni.tu-be
| |rlin.de
--- Comment #3 from Andreas Bolsch 2013-11-24 17:07:57 UTC ---
It appears that from 10.61 to 10.63 one line was lost:
-- netpbm-10.61.1/converter/other/pnmtops.c 2012-12-31 12:31:10.042663187
+0100
+++ /usr/src/packages/BUILD/netpbm-10.63.1/converter/other/pnmtops.c
2013-11-24 13:06:45.001832997 +0100
@@ -548,10 +562,8 @@
if (repeat) {
fputc(257 - count, fP);
fputc(repeatitem, fP);
- } else {
- fputc(count - 1, fP);
- fwrite(itembuf, 1, count, fP);
- }
+ } else
+ writeFile(itembuf, count, "rlePutBuffer", fP);
}
Reinserting the dropped "fputc(count -1 , fP)" in the else-clause seems to cure
the problem:
--- netpbm-10.63.1/converter/other/pnmtops.c.orig 2013-11-24
18:02:23.544351575 +0100
+++ netpbm-10.63.1/converter/other/pnmtops.c 2013-11-24 13:40:24.639727670
+0100
@@ -563,6 +563,7 @@
fputc(257 - count, fP);
fputc(repeatitem, fP);
} else {
+ fputc(count - 1, fP);
writeFile(itembuf, count, "rlePutBuffer", fP);
}
}
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.