Package: tcllib
Version: 1.7-1
Severity: normal

Tcllib jpeg package have procedure

jpeg::removeComments

When tcl's system encoding is not iso8859-1, calling this procedure
or any other which calls it (i.e. replaceComments) results in corrupted
JPEG file.

New upstream release (1.8) doesn't fix this bug. It still exists in
today's CVS.

Upstream bug report is filed under #1381659
http://sourceforge.net/tracker/index.php?func=detail&aid=1381659&group_id=12883&atid=112883

Bug can be fixed by one-line patch - 

fconfigure $fh -translation binary

just after

set fh [open $file w]

-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.11-xeon
Locale: LANG=ru_RU.KOI8-R, LC_CTYPE=ru_RU.KOI8-R (charmap=KOI8-R)

Versions of packages tcllib depends on:
ii  tcl8.3 [tclsh]                8.3.5-4    Tcl (the Tool Command Language) v8
ii  tcl8.4 [tclsh]                8.4.9-1    Tcl (the Tool Command Language) v8

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to