diff options
Diffstat (limited to 'gnu/usr.bin/perl/miniperlmain.c')
-rw-r--r-- | gnu/usr.bin/perl/miniperlmain.c | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/gnu/usr.bin/perl/miniperlmain.c b/gnu/usr.bin/perl/miniperlmain.c index bc81e997372..402f2ef065e 100644 --- a/gnu/usr.bin/perl/miniperlmain.c +++ b/gnu/usr.bin/perl/miniperlmain.c @@ -2,6 +2,10 @@ * "The Road goes ever on and on, down from the door where it began." */ +#ifdef OEMVS +#pragma runopts(HEAP(1M,32K,ANYWHERE,KEEP,8K,4K)) +#endif + #ifdef __cplusplus extern "C" { #endif @@ -33,20 +37,20 @@ char **env; PERL_SYS_INIT(&argc,&argv); - perl_init_i18nl14n(1); + perl_init_i18nl10n(1); if (!do_undump) { my_perl = perl_alloc(); if (!my_perl) exit(1); perl_construct( my_perl ); + perl_destruct_level = 0; } exitstatus = perl_parse( my_perl, xs_init, argc, argv, (char **) NULL ); - if (exitstatus) - exit( exitstatus ); - - exitstatus = perl_run( my_perl ); + if (!exitstatus) { + exitstatus = perl_run( my_perl ); + } perl_destruct( my_perl ); perl_free( my_perl ); |