ignore framework version on windows ... not supported

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@22448 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 2006-02-08 07:57:07 +00:00
parent f828fe2156
commit 87e0726363
2 changed files with 4 additions and 0 deletions

View file

@ -2,6 +2,8 @@
* Source/GSFileHandle.m: ([-availabledata])a fix logic of non-blocking
I/O setting.
* Source/NSBundle.m: ([-pathForResource:ofType:inDirectory:])
ignore versioning on windows.
2006-02-05 Richard Frith-Macdonald <rfm@gnu.org>

View file

@ -1315,10 +1315,12 @@ _bundle_load_callback(Class theClass, struct objc_category *theCategory)
{
NSString *rootPath;
#if !defined(__MINGW32__)
if (_frameworkVersion)
rootPath = [NSString stringWithFormat:@"%@/Versions/%@", [self bundlePath],
_frameworkVersion];
else
#endif
rootPath = [self bundlePath];
return [NSBundle pathForResource: name