Fixes for pathForResource... methods to match MacOS-X and be more efficient.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@27558 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 2009-01-08 10:40:13 +00:00
parent e7454ec280
commit 988f583f7d
3 changed files with 87 additions and 129 deletions

View file

@ -271,8 +271,8 @@ GS_EXPORT NSString* const NSLoadedClasses;
the bundle.
</p>
<p>
If ext is nil or empty, then the first file with name and any
extension is returned.
If ext is nil or empty, then the first file exactly matching name
(ie with no extension) is returned.
</p>
*/
- (NSString*) pathForResource: (NSString*)name