mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
* Source/NSBundle.m ([NSBundle +_addFrameworkFromClass:]): fixed an
autorelease problem. (reported by Gerald Siebke <gerald@turbocat.de>) git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@8180 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
14c50fb973
commit
c72deb7ce3
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2000-11-23 Mirko Viviani <mirko.viviani@rccr.cremona.it>
|
||||
|
||||
* Source/NSBundle.m ([NSBundle +_addFrameworkFromClass:]): fixed an
|
||||
autorelease problem. (reported by Gerald Siebke <gerald@turbocat.de>)
|
||||
|
||||
2000-11-22 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* Source/GSTcpPort.m: ([-connectToPort:beforeDate:]) added locking to
|
||||
|
|
|
@ -259,7 +259,7 @@ _bundle_name_first_match(NSString* directory, NSString* name)
|
|||
bundlePath = [bundlePath stringByAppendingPathComponent:
|
||||
[NSString stringWithFormat: @"%@.framework", name]];
|
||||
|
||||
bundle = [NSBundle bundleWithPath: bundlePath];
|
||||
bundle = [NSBundle initWithPath: bundlePath];
|
||||
bundle->_bundleType = NSBUNDLE_FRAMEWORK;
|
||||
bundle->_codeLoaded = YES;
|
||||
bundle->_frameworkVersion = RETAIN([frameworkClass frameworkVersion]);
|
||||
|
|
Loading…
Reference in a new issue