
31 Jan
2005
31 Jan
'05
1:39 p.m.
Peter Simons
There also is a function which changes a path specification into its canonic form, meaning that all redundant segments are stripped.
It's incorrect: canon (read "x/y/.." :: RelPath Posix) gives "x", yet on Unix they aren't equivalent when y is a non-local symlink or doesn't exist. Also, "x/." is not equivalent to "x": rmdir can be used with "x" but not with "x/.". -- __("< Marcin Kowalczyk \__/ qrczak@knm.org.pl ^^ http://qrnik.knm.org.pl/~qrczak/