From: Alex Riesen Date: Thu, 05 Jan 2006 18:07:15 GMT Subject: Re: use result of open(2) to check for presence Message-ID: <20060105180715.GA6112@steel.home> In-Reply-To: <118833cc0601050845i40f93bbajdd70e77953d07014@mail.gmail.com> Morten Welinder, Thu, Jan 05, 2006 17:45:27 +0100: > Config files always tend to grow, but I do agree that 4GB config files stretches > credibility a bit. > > However, empty ones are not unlikely and then mmap will fail. > Shouldn't be a problem: the code in question does not seem to do anything for empty files and wont even touch the result of mmap.