summaryrefslogtreecommitdiff
path: root/plan9
diff options
context:
space:
mode:
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(),