summaryrefslogtreecommitdiff
path: root/plan9
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2006-10-21 23:01:45 +0000
committerNicholas Clark <nick@ccl4.org>2006-10-21 23:01:45 +0000
commitac5a684e91b96c66e134bedef4a18360ad57a796 (patch)
tree0e6e2a945fd32067064b3b48883ed44ebfcbfac3 /plan9
parentd0ade26cf1fee91934267b3f3efb9fd9fbf4ecfe (diff)
downloadperl-ac5a684e91b96c66e134bedef4a18360ad57a796.tar.gz
Add PERLIO_INIT and PERLIO_TERM to PERL_SYS_INIT* and PERL_SYS_TERM*
in */*ish.h headers. p4raw-id: //depot/perl@29077
Diffstat (limited to 'plan9')
-rw-r--r--plan9/plan9ish.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/plan9/plan9ish.h b/plan9/plan9ish.h
index c3ae06790a..20db6e9d7f 100644
--- a/plan9/plan9ish.h
+++ b/plan9/plan9ish.h
@@ -104,9 +104,10 @@
#define ABORT() kill(PerlProc_getpid(),SIGABRT);
#define BIT_BUCKET "/dev/null"
-#define PERL_SYS_INIT(c,v) MALLOC_CHECK_TAINT2(*c,*v) MALLOC_INIT
+#define PERL_SYS_INIT(c,v) \
+ MALLOC_CHECK_TAINT2(*c,*v) PERLIO_INIT; MALLOC_INIT
#define dXSUB_SYS
-#define PERL_SYS_TERM() MALLOC_TERM
+#define PERL_SYS_TERM() PERLIO_TERM; MALLOC_TERM
/*
* fwrite1() should be a routine with the same calling sequence as fwrite(),