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

Re: [issue #2723] 'diff' output, and handling chdir() in multi-threaded applications

From: Garrett Rooney <rooneg_at_electricjellyfish.net>
Date: 2007-03-03 00:00:25 CET

On 3/2/07, Daniel Rall <dlr@collab.net> wrote:

> If use of chdir() is unsafe for multi-threaded applications, would
> anyone mind if I added an API to allow control over the file
> references in Subversion's 'diff' output? If not, how should this new
> API inter-op with URLs?

chdir is totally unsafe in a multi-threaded application. It is
essentially modifying global state for which there is no conceivable
way to do appropriate locking. I don't see any problem with a new API
to control the behavior, although I have no clue how to make it
inter-op with URLs.


To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Mar 3 00:00:39 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.