mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-29 16:01:38 +00:00
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:
parent
e085dd6bb9
commit
bf055f4e56
7 changed files with 142 additions and 87 deletions
|
@ -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
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue