GNU bug report logs - #75569
30.0.93; Large /proc/* file are read incompletely

Previous Next

Package: emacs;

Reported by: Daniel Mendler <mail <at> daniel-mendler.de>

Date: Wed, 15 Jan 2025 00:22:01 UTC

Severity: normal

Found in version 30.0.93

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #50 received at 75569 <at> debbugs.gnu.org (full text, mbox):

From: Daniel Mendler <mail <at> daniel-mendler.de>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: Paul Eggert <eggert <at> cs.ucla.edu>, 75569 <at> debbugs.gnu.org, juri <at> linkov.net
Subject: Re: bug#75569: 30.0.93; Large /proc/* file are read incompletely
Date: Sun, 19 Jan 2025 11:58:26 +0100
Eli Zaretskii <eliz <at> gnu.org> writes:

>> Date: Sat, 18 Jan 2025 09:35:34 -0800
>> Cc: 75569 <at> debbugs.gnu.org
>> From: Paul Eggert <eggert <at> cs.ucla.edu>
>> 
>> On 2025-01-18 02:44, Eli Zaretskii wrote:
>> >> In other words, when reading a file Emacs should treat st_size as merely
>> >> a heuristic, not as authoritative.
>> > But does it do that now?  Regular files whose size changes as we read
>> > them are pretty rare, so maybe we almost never bump into them.
>> 
>> No, it doesn't do it now, and that's the main bug here. Fix that, and 
>> this other stuff isn't needed (and likely gets simplified away).
>
> Patches welcome, then.
>
> For now, I've installed a fix that Juri tested, to fix the regression.

Thank you! Are you going to install the fix on the emacs-30 branch if
this is a regression, or has it been broken in 29 too?

Daniel




This bug report was last modified 163 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.