Umpf, the problem is that mmap behaves differently on
different platforms with 0 sized files. I'll have a fix in
the morning. Need some sleep first. Sorry for the inconvenience.
Sander
> -----Original Message-----
> From: Marcus Comstedt [mailto:marcus@mc.pp.se]
> Sent: Thursday, February 27, 2003 10:50 PM
> To: fitz@red-bean.com
> Cc: Philip Martin; dev@subversion.tigris.org
> Subject: Re: Current diff failures
>
>
>
> "B. W. Fitzpatrick" <fitz@red-bean.com> writes:
>
> > I'm wondering if he ran out of filesystem space. Tests pass for me
> > just fine with revision 5137.
>
> Nope, there's 4 gigs of free space on the partition, and 328 megs of
> real (not swap) memory free.
>
> I assume it's due to trying to mmap a file with a zero length. The
> manpage for mmap() on Solaris sayeth:
>
> [...]
> ERRORS
> The mmap() function will fail if:
> [...]
> The argument len has a value less than or equal to 0.
> [...]
>
> (Of course, if there _had_ been a resource problem, the code should
> gracefully degrade to simply not using mmap, rather than bailing
> out.)
>
>
> // Marcus
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: dev-help@subversion.tigris.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Feb 27 23:07:12 2003