mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-22 05:02:00 +00:00
Improved -description writing/reading. Bug fixes to NSString.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2429 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
21039e770f
commit
b6e22efb49
10 changed files with 139 additions and 44 deletions
|
@ -28,6 +28,7 @@
|
|||
#include <Foundation/NSLock.h>
|
||||
|
||||
static NSString* NSCharacterSet_PATH = @"NSCharacterSets";
|
||||
|
||||
static NSString* gnustep_libdir =
|
||||
#ifdef GNUSTEP_INSTALL_LIBDIR
|
||||
@GNUSTEP_INSTALL_LIBDIR;
|
||||
|
@ -80,12 +81,12 @@ static NSLock* cache_lock = nil;
|
|||
path = [gstep_base_bundle pathForResource:setname
|
||||
ofType:@"dat"
|
||||
inDirectory:NSCharacterSet_PATH];
|
||||
/* This is for testing purposes */
|
||||
/* This is for testing purposes only! Look in uninstalled dir */
|
||||
if (path == nil || [path length] == 0)
|
||||
{
|
||||
path = [gstep_base_bundle pathForResource:setname
|
||||
ofType:@"dat"
|
||||
inDirectory:@"../NSCharacterSets"];
|
||||
path = [@"../NSCharacterSets" stringByAppendingPathComponent:
|
||||
setname];
|
||||
path = [path stringByAppendingPathExtension: @"dat"];
|
||||
}
|
||||
|
||||
if (path == nil || [path length] == 0)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue