bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSBundle -initWithPath: warning


From: Richard Frith-Macdonald
Subject: Re: NSBundle -initWithPath: warning
Date: Thu, 31 Mar 2005 16:22:25 +0100

On 2005-03-31 09:25:17 +0100 David Ayers <d.ayers@inode.at> wrote:

Richard Frith-Macdonald wrote:
[snip]

No ... but I can easily see what the problem is ... '//Local/Library' looks like a windows UNC path where 'Local' is the host and 'Library' is the share and the actual file is unspecified ... ie it would be a relative path on windows.

Are you sure this is the behavior we want?
The UNC path seems like an absolute path to me, comparable to '/'

No ... I'm not sure ... I'm not a windows user.
I have been treating a UNC path of the form '//host/share' like a drive-relative path of the form 'C:' and assuming that it should be considered 'relative' because it specifies a dvice but not as particular location on the device. I'm pretty convinced that 'C:' or 'C:file' are relative paths and 'C:/' and 'C:/file' are absolute. However, it may be that '//host/share' should be treated as equivalent to '//host/share/' ... and both should be treated like '/' on unix. Do you know exactly how UNC paths behave? Is //host/share the same thing as //host/share/ ?





reply via email to

[Prev in Thread] Current Thread [Next in Thread]