[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Memory-mapped files
From: |
Niels Möller |
Subject: |
Re: Memory-mapped files |
Date: |
12 Nov 2002 13:56:26 +0100 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 |
"Ludovic Courtès" <ludovic.courtes@utbm.fr> writes:
> Although the GNU Coding Standards specify that user applications shouldn't
> rely on mmap() to read files, it turns out that gcc sometimes relies on it
> (depending on the source file size I think). Should we ask the gcc team to
> change that? ;)
gcc ought to fall back to plain read for any file on which mmap fails.
Just as described in the GNU Coding Standard.
/Niels