Re: symlinks, lstat, relative/absolute combos
Re: symlinks, lstat, relative/absolute combos
- Subject: Re: symlinks, lstat, relative/absolute combos
- From: Jonas Maebe <email@hidden>
- Date: Tue, 22 Mar 2011 14:21:08 +0100
On 22 Mar 2011, at 14:08, Steven Abner wrote:
a return of ../..//System . Should "../../" be ignored and jump to
System directory of of root? Or is "/" before "System" suppose to
mean ignore me please? Currently my code just returns "//" is an
error. As I read it: from here (relative path) go to parent (..),
from here (/) go to parent (..) from here (/) go to (/System). Or is
"//" an abbreviated "/./" , which currently seems unsupported?
// means the same as / in practice (it sometimes happens because of
e.g. scripts that concatenate a path already ending in / with "/
$subdir" or so). So in your case, it simply means ../../System
Jonas
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden