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 10:10:39 +0100

On 2005-03-31 08:39:44 +0100 Stefan Urbanek <stefan@agentfarms.net> wrote:

Hi,

With recent (march 31) GNUstep CVS + Gorm I am experiencing lots of
NSBundle warnings. I have used this change to see what was wrong:
NSBundle.m:927:

NSLog(@"WARNING: NSBundle -initWithPath: requires absolute path names!
Used path: '%@'", path);

And I was getting this:
....
2005-03-31 09:29:41.000 Gorm[31671] WARNING: NSBundle -initWithPath:
requires absolute path names! Used path: '//Local/Library'
2005-03-31 09:29:41.000 Gorm[31671] WARNING: NSBundle -initWithPath:
requires absolute path names! Used path: '//Local/Library'
2005-03-31 09:29:41.000 Gorm[31671] WARNING: NSBundle -initWithPath:
requires absolute path names! Used path: '//Local/Library'
2005-03-31 09:29:41.000 Gorm[31671] WARNING: NSBundle -initWithPath:
requires absolute path names! Used path: '//Local/Library'
....

I am using no app extension bundles, nor custom Gorm palettes.

Anyone else experiencing this?

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.
I've fixed NSString to know that it's an absolute path when running on unix.





reply via email to

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