This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: dir/../ collapsing improvements (and bug fix?)


Note that libiberty has a canonicalize-path function too.

Note also that the main reason we don't always collapse .. is for
cases like symlink/.. where symlink points elsewhere; collapsing that
to . results in a different destination.  Not that I'm a big fan of
relying on those semantics, though.  It's useful in some cases, and
harmful in others.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]