mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 16:30:41 +00:00
portability bugfixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32769 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
3e0fcb2b73
commit
c078d97164
5 changed files with 85 additions and 28 deletions
|
@ -845,9 +845,14 @@ _bundle_load_callback(Class theClass, struct objc_category *theCategory)
|
|||
{
|
||||
if (self == [NSBundle class])
|
||||
{
|
||||
NSDictionary *env;
|
||||
NSString *str;
|
||||
extern const char *GSPathHandling(const char *);
|
||||
const char *mode;
|
||||
NSDictionary *env;
|
||||
NSString *str;
|
||||
|
||||
/* Ensure we do 'right' path handling while initializing core paths.
|
||||
*/
|
||||
mode = GSPathHandling("right");
|
||||
_emptyTable = RETAIN([NSDictionary dictionary]);
|
||||
|
||||
/* Initialise manager here so it's thread-safe.
|
||||
|
@ -935,6 +940,7 @@ _bundle_load_callback(Class theClass, struct objc_category *theCategory)
|
|||
objc_close_main_module(handle);
|
||||
_loadingBundle = nil;
|
||||
#endif
|
||||
GSPathHandling(mode);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue