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

Re: fsfs rep on Win98SE lock file problem

From: Greg Hudson <ghudson_at_MIT.EDU>
Date: 2004-10-24 18:24:50 CEST

On Sun, 2004-10-24 at 07:39, John J Smith wrote:
> I'm not sure what you mean by a `shared lock'.
> Quoting from the online MSDN documentation for
> LockFile():

Look up the documentation for LockFileEx(); you'll see there is a flag
field for a shared vs. exclusive lock. The idea is that many people can
get shared locks on the same file at the same time, but nobody can get
an exclusive lock on the file until no one else has a lock of any sort.

If win98 does not have LockFileEx(), then it sounds like APR silently
maps shared locks (or "read locks") to exclusive locks, meaning a
repository can only be opened once at a time, meaning any operation
which opens a repository twice in the same process won't work. Since
"checkout" is one of those operations (due to some sloppiness in
libsvn_client), that renders svn not terribly useful.

So it sounds like svn repositories still don't work on win98 (although
for a much more trivial reason), and our FAQ should be updated. I'll
update the FAQ, and will assign myself higher priority for a fix for

> I can build the code only if it can be done under
> Cygwin/Mingw (which I tried but didn't succeed).

It has certainly been done, but I don't know if it's easy or how to do

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Oct 24 18:25:10 2004

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.