mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 00:11:26 +00:00
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:
parent
72c3b7f7a5
commit
f856d3ec00
3 changed files with 30 additions and 15 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue