
31 Jan
2005
31 Jan
'05
6:40 p.m.
On 2005-01-31, Marcin 'Qrczak' Kowalczyk
Peter Simons
writes: 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.
True, but most people want x when they construct x/y/.., in makefiles, install scripts, etc. It's not "OS thinks is the same", and shouldn't be marketed as such, but it is useful as "what people generally want to refer to". -- Aaron Denney -><-