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

Re: [PATCH] svnserve: write pid a bit earlier?

From: Karl Fogel <kfogel_at_red-bean.com>
Date: 2007-10-13 02:08:30 CEST

"David Glasser" <glasser@davidglasser.net> writes:
> So one of my test scripts essentially does
>
> svnserve -d -r bla --pid-file .svnserve-pid
> spid=`cat .svnserve-pid`
> run some tests
> kill -9 $spid
>
> ... except that sometimes the shell manages to cat the PID file before
> it's written. Any reason not to apply the attached patch? (Like, the
> proc detach doesn't change the PID or anything weird like that,
> right?)

Looks sensible to me. I don't know of any weirdnesses that would make
this not work.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 13 02:08:40 2007

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.