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?
|