mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-31 00:30:53 +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
45bf6a1f8f
commit
d684f59787
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…
Add table
Add a link
Reference in a new issue