apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ian Holsman <i...@apache.org>
Subject Re: mmap bug?
Date Thu, 27 Feb 2003 23:21:54 GMT
Sander Striker wrote:
>>From: Joe Orton [mailto:joe@manyfish.co.uk]
>>Sent: Thursday, February 27, 2003 10:32 PM

> 
> Yah, from the flurry of failures I've seen on the subversion list I've
> learned enough :(.
> 
> I guess we need to always return APR_EINVAL when a 0 sized mmap is requested.
> 
> Sander
> 


before we do this, what will happen (before & after this change)
if someone requests a zero-length file.
1. with sendfile turned on
2. with sendfile turned off (which I think then uses mmap)

are we going to be causing weird & wonderfull errors for ourselves?


Mime
View raw message