emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

decode-coding-region broken


From: Andreas Schwab
Subject: decode-coding-region broken
Date: Fri, 29 Feb 2008 17:52:06 +0100
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.1 (gnu/linux)

When decode-coding-region is instructed to decode in-place it can
clobber the buffer text with NULs.  That can best be observed when
running dired-do-redisplay on a (big) subdirectory in a dired buffer.
Sometimes parts of the newly inserted directory text are be overwritten
with NULs.  This happens only rarely, perhaps once in 10-20 tries.
Perhaps garbage collection is biting here?  The new way of decoding
in-place dates back to the very start of the emacs-unicode-2 branch,
unfortunately checked in as part of a big merge without history.

Andreas.

-- 
Andreas Schwab, SuSE Labs, address@hidden
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




reply via email to

[Prev in Thread] Current Thread [Next in Thread]