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

RE: Windows build severly broken due to read-only issues...

From: Jay Freeman \(saurik\) <saurik_at_saurik.com>
Date: 2002-02-11 00:29:59 CET

Philip:

(first second quoted comment) OK, I assumed the comments were talking
about Subversion, not APR.

(then back to the first) *sigh*... that's an interesting point. The
most straightforward way to do that would be to call another APR
function to see if the file exists first. But, due to the... I don't
even know what to call it... strategy? that APR is taking to Unicode,
that would mean that the filename would get copied from multi-byte to
Unicode yet _another_ time on OS's that purport to have a "Unicode FS"
(whatever they mean by that, note it isn't "Unicode API").

*winces in pain*

*hates APR's file API and tries to avoid it like the plague*

Sincerely,
Jay Freeman (saurik)
saurik@saurik.com

-----Original Message-----
From: Philip Martin [mailto:philip@codematters.co.uk]
Sent: Sunday, February 10, 2002 5:19 PM
To: dev@subversion.tigris.org
Subject: Re: Windows build severly broken due to read-only issues...

...

Sounds good to me. Depending on what happens to apr_file_copy it may
be that Unix also needs to make the destination writeable before
copying. Will you check for the file's existance before setting the
attributes?

...

I subsequently did write and post an APR patch to do this on Unix, see
http://subversion.tigris.org/servlets/ReadMsg?msgId=57054&listName=dev

...

-- 
Philip
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:37:06 2006

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.