[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

RE: Current diff failures

From: Sander Striker <striker_at_apache.org>
Date: 2003-02-27 23:05:59 CET

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

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.