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:
Adam Fedor 2002-10-04 03:11:16 +00:00
parent 2623c68610
commit 9fa387428d
3 changed files with 21 additions and 6 deletions

View file

@ -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);