summaryrefslogtreecommitdiff
path: root/perl.c
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2002-06-06 02:40:12 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2002-06-06 02:40:12 +0000
commit7ca617d028f5e0c89409fa5fdbd4c8507a90e2b1 (patch)
tree083de3b44b3c7e50d0f0b30a5bec8873b52201c3 /perl.c
parentcec2c193e962b02e704b8b298f4eb37603d86225 (diff)
downloadperl-7ca617d028f5e0c89409fa5fdbd4c8507a90e2b1.tar.gz
With -Ud_stdstdio perl -v and perl -h didn't flush their
output buffers because they exited with PerlProc_exit() instead of my_exit() (from Andy Dougherty) p4raw-id: //depot/perl@17028
Diffstat (limited to 'perl.c')
-rw-r--r--perl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl.c b/perl.c
index 2354ce5eb3..ee33a9ceb0 100644
--- a/perl.c
+++ b/perl.c
@@ -2359,7 +2359,7 @@ Perl_moreswitches(pTHX_ char *s)
}
case 'h':
usage(PL_origargv[0]);
- PerlProc_exit(0);
+ my_exit(0);
case 'i':
if (PL_inplace)
Safefree(PL_inplace);
@@ -2597,7 +2597,7 @@ GNU General Public License, which may be found in the Perl 5 source kit.\n\n\
Complete documentation for Perl, including FAQ lists, should be found on\n\
this system using `man perl' or `perldoc perl'. If you have access to the\n\
Internet, point your browser at http://www.perl.com/, the Perl Home Page.\n\n");
- PerlProc_exit(0);
+ my_exit(0);
case 'w':
if (! (PL_dowarn & G_WARN_ALL_MASK))
PL_dowarn |= G_WARN_ON;