mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-31 16:50:58 +00:00
* Source/NSBundle.m (_bundle_name_first_match): Remove path
extension when comparing name (fixes #10611) git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20222 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
95daaf5f4c
commit
f67c563d8e
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2004-10-13 Adam Fedor <fedor@gnu.org>
|
||||||
|
|
||||||
|
* Source/NSBundle.m (_bundle_name_first_match): Remove path
|
||||||
|
extension when comparing name (fixes #10611)
|
||||||
|
|
||||||
2004-10-13 Richard Frith-Macdonald <rfm@gnu.org>
|
2004-10-13 Richard Frith-Macdonald <rfm@gnu.org>
|
||||||
|
|
||||||
* Source/Additions/GSXML.m: Fix bug escaping XML special chartacters.
|
* Source/Additions/GSXML.m: Fix bug escaping XML special chartacters.
|
||||||
|
|
|
@ -211,7 +211,7 @@ _bundle_name_first_match(NSString* directory, NSString* name)
|
||||||
/* name might have a directory in it also, so account for this */
|
/* name might have a directory in it also, so account for this */
|
||||||
path = [[directory stringByAppendingPathComponent: name]
|
path = [[directory stringByAppendingPathComponent: name]
|
||||||
stringByDeletingLastPathComponent];
|
stringByDeletingLastPathComponent];
|
||||||
cleanname = [name lastPathComponent];
|
cleanname = [[name lastPathComponent] stringByDeletingPathExtension];
|
||||||
filelist = [[mgr directoryContentsAtPath: path] objectEnumerator];
|
filelist = [[mgr directoryContentsAtPath: path] objectEnumerator];
|
||||||
while ((match = [filelist nextObject]))
|
while ((match = [filelist nextObject]))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue