[darcs-users] darcs patch: Make FileName.drop_dotdot work with abso... (and 3 more)
Simon Marlow
marlowsd at gmail.com
Fri Sep 26 20:56:24 UTC 2008
Jason Dagit wrote:
>
>
> On Fri, Sep 26, 2008 at 11:35 AM, Simon Marlow
> <simonmarhaskell at gmail.com <mailto:simonmarhaskell at gmail.com>> wrote:
>
>
> BTW, I haven't followed the whole thread, but I hope you're taking into
> account the fact that "foo/../bar" /= "bar" on POSIX systems, due to
> symlinks.
>
>
> I'm not following your example, but if what you say is true due to
> symlinks on POSIX, then the same can likely be said about Vista. I seem
> to recall hearing that Vista has symlinks now.
Quite possibly, yes. The problem arises when foo is a symlink to
another directory: suppose foo is a symlink to x/y, then
foo/../bar == x/bar
i.e. not bar. But maybe this isn't an issue for you inside a darcs repo?
Cheers,
Simon
More information about the darcs-users
mailing list