Various minro tidyups

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@14744 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
CaS 2002-10-12 16:12:25 +00:00
parent 72c3b7f7a5
commit f856d3ec00
3 changed files with 30 additions and 15 deletions

View file

@ -492,13 +492,15 @@ main(int argc, char **argv, char **env)
NSMutableArray *sFiles = nil; // Source
NSMutableArray *gFiles = nil; // GSDOC
NSMutableArray *hFiles = nil; // HTML
CREATE_AUTORELEASE_POOL(outer);
CREATE_AUTORELEASE_POOL(pool);
#if GS_WITH_GC == 0
NSAutoreleasePool *outer = nil;
NSAutoreleasePool *pool = nil;
#endif
RELEASE(pool);
#ifdef GS_PASS_ARGUMENTS
[NSProcessInfo initializeWithArguments: argv count: argc environment: env];
#if GS_WITH_GC == 0
outer = [NSAutoreleasePool new];
#endif
#ifndef HAVE_LIBXML
@ -1251,7 +1253,7 @@ main(int argc, char **argv, char **env)
file, gDate, hDate);
}
parser = [GSXMLParser parserWithContentsOfFile: gsdocfile];
[parser substituteEntities: NO];
[parser substituteEntities: YES];
[parser doValidityChecking: YES];
[parser keepBlanks: NO];
if ([parser parse] == NO)