mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 00:11:26 +00:00
Change NSDebugLog to NSLog
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@14636 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
2623c68610
commit
9fa387428d
3 changed files with 21 additions and 6 deletions
|
@ -478,6 +478,12 @@ static SEL appSel;
|
|||
|
||||
someData = [[NSData allocWithZone: NSDefaultMallocZone()]
|
||||
initWithContentsOfFile: path];
|
||||
if (someData == nil)
|
||||
{
|
||||
/* NSData should have already logged an error message */
|
||||
RELEASE(self);
|
||||
return nil;
|
||||
}
|
||||
myString = [[NSString allocWithZone: NSDefaultMallocZone()]
|
||||
initWithData: someData encoding: NSUTF8StringEncoding];
|
||||
RELEASE(someData);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue