This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
utf8.c: Don't use Newx in decoding UTF-8
[perl5.git] / plan9 / plan9ish.h
index c3ae067..5c326f6 100644 (file)
 #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 dXSUB_SYS
-#define PERL_SYS_TERM()                MALLOC_TERM
+#define PERL_SYS_INIT_BODY(c,v)                                    \
+       MALLOC_CHECK_TAINT2(*c,*v) PERLIO_INIT; MALLOC_INIT
+#define dXSUB_SYS dNOOP
+#define PERL_SYS_TERM_BODY()   PERLIO_TERM; MALLOC_TERM
 
 /*
  * fwrite1() should be a routine with the same calling sequence as fwrite(),