mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
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:
parent
f828fe2156
commit
87e0726363
2 changed files with 4 additions and 0 deletions
|
@ -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>
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue