On Wed, Jul 13, 2005 at 10:07:24PM +0200, Matthias Urlichs wrote:

> You lose if the link is relative and the symlink is not in the
> current directory.

Cogito doesn't create such links in my (limited_ experience.  Why
would anyone else do that?

> You also lose on systems where the empty filename is synonymous with
> the current directory.

Well, return code from readlink should be tested there.


[...]

> You should remove "DEST first. Otherwise, under Linux, you'll
> magically create the file the symlink points to, which may not be
> what you want to do.

That behavior *is* desirable in this case.


Anyhow, the fact this is so complicated and getting more so makes me
think it's misdirected :-(

-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to