mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 08:21:25 +00:00
Added new debugging macros.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@3897 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
fb41cc45d4
commit
6d55a1db69
4 changed files with 176 additions and 82 deletions
|
@ -294,7 +294,7 @@ _bundle_load_callback(Class theClass, Category *theCategory)
|
|||
if ([s hasSuffix: @"_obj"])
|
||||
path = [path stringByDeletingLastPathComponent];
|
||||
|
||||
NSDebugLLog(@"NSBundle", @"(NSBundle): Found main in %@\n", path);
|
||||
NSDebugMLLog(@"NSBundle", @"Found main in %@\n", path);
|
||||
/* We do alloc and init separately so initWithPath: knows
|
||||
we are the _mainBundle */
|
||||
_mainBundle = [NSBundle alloc];
|
||||
|
@ -377,7 +377,7 @@ _bundle_load_callback(Class theClass, Category *theCategory)
|
|||
|
||||
if (stat([path cString], &statbuf) != 0)
|
||||
{
|
||||
NSDebugLLog(@"NSBundle", @"Could not access path %s for bundle", [path cString]);
|
||||
NSDebugMLLog(@"NSBundle", @"Could not access path %s for bundle", [path cString]);
|
||||
//[self dealloc];
|
||||
//return nil;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue