[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: NSBundle -initWithPath: warning
From: |
David Ayers |
Subject: |
Re: NSBundle -initWithPath: warning |
Date: |
Thu, 31 Mar 2005 10:25:17 +0200 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041217 |
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 '/'
I've fixed NSString to know that it's an absolute path when running on
unix.
This seems fine (I'm undecided whether the we should warn anyway about
double slashes, but that's not really important).
Cheers,
David