bug-gnustep
[Top][All Lists]
Advanced

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

[ 101269 ] NSBundle returns bad directory paths


From: nobody
Subject: [ 101269 ] NSBundle returns bad directory paths
Date: Tue, 10 Sep 2002 10:10:16 -0400

Support Request #101269, was updated on 2002-Sep-10 10:10
You can respond by visiting: 
http://savannah.gnu.org/support/?func=detailsupport&support_id=101269&group_id=99

Category: Foundation
Status: Open
Priority: 5
Summary: NSBundle returns bad directory paths

By: lcampbel
Date: 2002-Sep-10 10:10
Logged In: NO 
Browser: Mozilla/4.5 (compatible; OmniWeb/4.1-v422; Mac_PowerPC)

NSBundle's methods that return directory paths (resourcePath, bundlePath) 
return strings that lack a trailing slash. There are two problems with this:

1. It's incompatible with MacOS X, which returns a trailing slash

2. More importantly, it means that if you use one of these paths to create a 
base URL (with +[NSURL fileURLWithPath]), then try to create a URL for a 
specific file using +[NSURL URLWithString:relativeToURL:], the resulting URL 
won't work.


----------------------------------------------------------------------
You can respond by visiting: 
http://savannah.gnu.org/support/?func=detailsupport&support_id=101269&group_id=99




reply via email to

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