Minor fixups for release ... mostly avoid failed testcases.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32837 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
rfm 2011-04-12 05:41:53 +00:00
parent e085dd6bb9
commit bf055f4e56
7 changed files with 142 additions and 87 deletions

View file

@ -143,8 +143,13 @@ GSSelectorFromNameAndTypes(const char *name, const char *types)
{
#if NeXT_RUNTIME
return sel_getUid(name);
/* Don't use sel_registerTypedName() ... it's broken when first introduced
* into gcc (fails to correctly check for multple registrations with same
* types but different layout info).
*
#elif defined (__GNU_LIBOBJC__)
return sel_registerTypedName(name, types);
*/
#elif defined (__GNUSTEP_RUNTIME__)
return sel_registerTypedName_np(name, types);
#else

View file

@ -218,6 +218,8 @@ static NSString *gnustepUserDirDocumentation = nil;
static NSString *gnustepUserDirDocumentationInfo = nil;
static NSString *gnustepUserDirDocumentationMan = nil;
static NSString *uninstalled = nil;
static BOOL ParseConfigurationFile(NSString *name, NSMutableDictionary *dict,
NSString *userName);
@ -973,6 +975,8 @@ static void InitialisePathUtilities(void)
NSMutableDictionary *config;
[gnustep_global_lock lock];
ASSIGNCOPY(uninstalled, [[[NSProcessInfo processInfo] environment]
objectForKey: @"GNUSTEP_UNINSTALLED_LIBRARY_DIRECTORY"]);
gnustepUserName = [NSUserName() copy];
#if defined(__MINGW__)
{
@ -2026,6 +2030,12 @@ if (domainMask & mask) \
case NSLibraryDirectory:
{
/* We allow the environment to be used to specify the location of
* the resources of uninstalled libraries so that we can run tests
* on software prior to installation.
*/
ADD_PLATFORM_PATH(NSAllDomainsMask, uninstalled);
ADD_PLATFORM_PATH(NSUserDomainMask, gnustepUserLibrary);
ADD_PLATFORM_PATH(NSLocalDomainMask, gnustepLocalLibrary);
ADD_PLATFORM_PATH(NSNetworkDomainMask, gnustepNetworkLibrary);