[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] fix infinite loop eating all the memory
From: |
Paul Eggert |
Subject: |
Re: [PATCH] fix infinite loop eating all the memory |
Date: |
Fri, 07 Oct 2005 10:08:02 -0700 |
User-agent: |
Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux) |
Colin Leroy <address@hidden> writes:
> In this patch however, there was no silent truncation but an
> explicit error.
Coreutils tail should also report an explicit error, when you run out
of main memory. (You evidently didn't wait long enough. :-)
Running out of memory is not an arbitrary limit, so it's OK for tail
to report an error and exit in that case. But a 1 MiB limit is
arbitrary (and rather small these days), and it's not OK for tail to
impose such a limit.