This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug cli/15145] cd and $cwd do not handle symlink/../ correctly
- From: "palves at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Thu, 14 Feb 2013 14:03:56 +0000
- Subject: [Bug cli/15145] cd and $cwd do not handle symlink/../ correctly
- Auto-submitted: auto-generated
- References: <bug-15145-4717@http.sourceware.org/bugzilla/>
http://sourceware.org/bugzilla/show_bug.cgi?id=15145
--- Comment #5 from Pedro Alves <palves at redhat dot com> 2013-02-14 14:03:56 UTC ---
See 8.b.:
http://pubs.opengroup.org/onlinepubs/009695399/utilities/cd.html
"For each dot-dot component, if there is a preceding component and it is
neither root nor dot-dot, the preceding component, all slashes separating the
preceding component from dot-dot, dot-dot and all slashes separating dot-dot
from the following component shall be deleted."
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.