GNU bug report logs -
#5440
23.1; buffer-file-format encoding temp buffers not reentrant
Previous Next
Reported by: Kevin Ryde <user42 <at> zip.com.au>
Date: Thu, 21 Jan 2010 23:06:01 UTC
Severity: normal
Tags: notabug
Done: Andrew Hyatt <ahyatt <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Eli Zaretskii <eliz <at> gnu.org> writes:
>> From: Andrew Hyatt <ahyatt <at> gmail.com>
>> Cc: user42 <at> zip.com.au, 5440 <at> debbugs.gnu.org
>> Date: Mon, 25 Jul 2016 00:07:50 -0400
>>
>> diff --git a/doc/lispref/files.texi b/doc/lispref/files.texi
>> index f3650a4..5763380 100644
>> --- a/doc/lispref/files.texi
>> +++ b/doc/lispref/files.texi
>
> Thanks. A couple of comments:
>
>> @@ -3238,7 +3238,9 @@ Format Conversion Round-Trip
>>
>> One responsibility of @var{from-fn} is to make sure that the beginning
>> of the file no longer matches @var{regexp}. Otherwise it is likely to
>> -get called again.
>> +get called again. Also, @var{from-fn} must not involve other buffers or
>> +files other than the one being decoded
>
> One of these 2 "others" should be deleted, I think.
Done
>
>> or else formatting may happen
>> +during formatting, leading to incorrect results.
>
> I would say something like
>
> otherwise the internal buffer used for formatting might be
> overwritten.
Done
>
>> +@var{to-fn} must not involve other buffers or files other than the one
>> +being encoded, or else formatting may happen during formatting,
>> +leading to incorrect results.
>
> Same here.
Done.
Thanks for the suggestions. I'll submit this and close out the bug.
This bug report was last modified 8 years and 298 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.