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


_______________________________________________
Bug-gnustep mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-gnustep

Reply via email to