logo       

Re: commit: directory symlinks work in help directory: msg#00214

audio.supercollider.devel

Subject: Re: commit: directory symlinks work in help directory

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hey Scott,

Thanks for your work on this field.

On 21 Aug 2004, at 11:53, Scott Wilson wrote:

Okay, I've committed this, code below from MyDocument.M

The problem is that NSFileManager - enumeratorFromPath doesn't traverse directory symlinks. Curiously enough neither does subpathsFromPath even though it says it does... Given this I think this is the best way. I had to add a path arg to helpFileWithName() so that it could be called recursively with traversed links.

Does this means, that from now on the helpfile-directory can be espanded via symlink-dirs?

This could cause a lockup if there are looped links, but I doubt that's likely to be a problem, so I don't check for it.

I think, this is a generally known problem.
Perhaps it should be documented in MyDocument.M?

regards
Till
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (Darwin)

iD8DBQFBKyQzdULuWLxlveYRAuJZAJ9e9zfP9Ha5xvXp9Nt1tWKDfEZpJACfQTgg
ISGnRoVBFrgmAxfFelA1GT0=
=8Gmf
-----END PGP SIGNATURE-----


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise