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

Re: 1.8.0 and mmap()

From: Branko Čibej <brane_at_wandisco.com>
Date: Sat, 29 Jun 2013 12:38:35 +0200

On 29.06.2013 10:09, NormW wrote:
> Hi All,
> Pardon for the noise.
> I could build all .c executables in 1.7.x (<=.10) but find the 1.8.0
> series has mmap(), which my now 'dated' OS does not have. Two files
> have the function, namely:

Let me guess ... Windows 95? (Or "98" or "Me" or whatever they wanted to
call it)

> libsvn_diff\diff_file.c,
> libsvn_subr\named_atomic.c
>
> The former is guarded by an #if !APR_HAS_MMAP substitute, while the
> second file does not; the question then 'is there (likely to be) a
> suitable alternate to use of mmap in named_atomic.c in the foreseeable
> future?' or have I arrived at the end of the branch?

Looks like it could be fixed, as the code does have an explicit check
for named atomic support; it just doesn't use the APR_HAS_MMAP flag as
well. Can you try the attached patch?

-- Brane

-- 
Branko Čibej | Director of Subversion
WANdisco // Non-Stop Data
e. brane_at_wandisco.com

Received on 2013-06-29 12:39:15 CEST

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.