[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#9800: Incomplete truncated file buffers from the /proc filesystem
From: |
Juri Linkov |
Subject: |
bug#9800: Incomplete truncated file buffers from the /proc filesystem |
Date: |
Fri, 04 Nov 2011 11:36:01 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.91 (x86_64-pc-linux-gnu) |
>> It strikes me that regular files can go as you read them, too,
>> and that Emacs is not doing this properly. That is, Emacs should
>> be fixed so that it continues to read from a growing regular file
>> until a proper EOF is reached (i.e., until read returns 0).
>
> Sounds like a good idea, but remember to bail out some time before
> reading the infinitely big files to the very end. :-)
Maybe limit the reading by the value of `large-file-warning-threshold'.