[NSString isAbsolutePath] fixed for __MINGW__

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@37599 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
znek 2014-01-13 19:45:30 +00:00
parent 804104ddfd
commit ed50aed50e
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,9 @@
2014-01-13 Marcus Mueller <znek@mulle-kybernetik.com>
* Source/NSString.m: absolute paths on __MINGW__ can also start
with "/" if GSPathHandlingRight() is YES, otherwise GNUstep config
paths can't be used during startup.
2014-01-11 Marcus Mueller <znek@mulle-kybernetik.com>
* Source/GSMDNSNetServices.m: minor fixes - does now properly compile

View file

@ -5044,7 +5044,7 @@ static NSFileManager *fm = nil;
if (c == pathSepChar())
{
#if defined(__MINGW__)
if (GSPathHandlingUnix() == YES)
if ((GSPathHandlingUnix() == YES) || (GSPathHandlingRight() == YES))
{
return YES;
}