fix for old compilers

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@14785 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
CaS 2002-10-15 04:55:51 +00:00
parent 463dd6c2e2
commit 1ac6ee9a03
2 changed files with 2 additions and 1 deletions

View file

@ -378,9 +378,9 @@ bench_str()
Class ser = [NSSerializer class]; Class ser = [NSSerializer class];
Class des = [NSDeserializer class]; Class des = [NSDeserializer class];
Class md = [NSMutableDictionary class]; Class md = [NSMutableDictionary class];
AUTO_START;
[[md new] release]; [[md new] release];
AUTO_START;
plist = [NSDictionary dictionaryWithObjectsAndKeys: plist = [NSDictionary dictionaryWithObjectsAndKeys:
@"Value1", @"Key1", @"Value1", @"Key1",

View file

@ -32,6 +32,7 @@ main(int argc, char *argv[], char **env)
#endif #endif
arp = [NSAutoreleasePool new]; arp = [NSAutoreleasePool new];
setbuf(stdout, 0);
printf(" GNUstep bundle directory is %s\n", [[[NSBundle gnustepBundle] bundlePath] cString]); printf(" GNUstep bundle directory is %s\n", [[[NSBundle gnustepBundle] bundlePath] cString]);
path = [[[NSProcessInfo processInfo] arguments] objectAtIndex: 0]; path = [[[NSProcessInfo processInfo] arguments] objectAtIndex: 0];