This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
refactor op.c S_bad_type_*v
[perl5.git] / plan9 / plan9ish.h
index 9b32a7d..0fdce12 100644 (file)
@@ -93,9 +93,7 @@
  */
 /* #define ALTERNATE_SHEBANG "#!" / **/
 
-#if !defined(NSIG) || defined(M_UNIX) || defined(M_XENIX)
-# include <signal.h>
-#endif
+#include <signal.h>
 
 #ifndef SIGABRT
 #    define SIGABRT SIGILL
 #define ABORT() kill(PerlProc_getpid(),SIGABRT);
 
 #define BIT_BUCKET "/dev/null"
-#define PERL_SYS_INIT(c,v)     MALLOC_INIT
+#define PERL_SYS_INIT_BODY(c,v)                                    \
+       MALLOC_CHECK_TAINT2(*c,*v) PERLIO_INIT; MALLOC_INIT
 #define dXSUB_SYS
-#define PERL_SYS_TERM()                MALLOC_TERM
+#define PERL_SYS_TERM_BODY()   PERLIO_TERM; MALLOC_TERM
 
 /*
  * fwrite1() should be a routine with the same calling sequence as fwrite(),