#define nuke_stacks() S_nuke_stacks(aTHX)
#define open_script(a,b,c) S_open_script(aTHX_ a,b,c)
#define usage(a) S_usage(aTHX_ a)
-#define validate_suid(a,b) S_validate_suid(aTHX_ a,b)
+#define validate_suid(a,b,c) S_validate_suid(aTHX_ a,b,c)
#endif
# if defined(IAMSUID)
#ifdef PERL_CORE
#if !defined(PERL_CORE)
# define sv_setptrobj(rv,ptr,name) sv_setref_iv(rv,name,PTR2IV(ptr))
-# define sv_setptrref(rv,ptr) sv_setref_iv(rv,Nullch,PTR2IV(ptr))
+# define sv_setptrref(rv,ptr) sv_setref_iv(rv,NULL,PTR2IV(ptr))
#endif
#if !defined(PERL_CORE) && !defined(PERL_NOCOMPAT)
#define PL_exitlistlen (vTHX->Iexitlistlen)
#define PL_expect (vTHX->Iexpect)
#define PL_fdpid (vTHX->Ifdpid)
-#define PL_fdscript (vTHX->Ifdscript)
#define PL_filemode (vTHX->Ifilemode)
#define PL_forkprocess (vTHX->Iforkprocess)
#define PL_formfeed (vTHX->Iformfeed)
#define PL_Iexitlistlen PL_exitlistlen
#define PL_Iexpect PL_expect
#define PL_Ifdpid PL_fdpid
-#define PL_Ifdscript PL_fdscript
#define PL_Ifilemode PL_filemode
#define PL_Iforkprocess PL_forkprocess
#define PL_Iformfeed PL_formfeed
#define PL_expect (*Perl_Iexpect_ptr(aTHX))
#undef PL_fdpid
#define PL_fdpid (*Perl_Ifdpid_ptr(aTHX))
-#undef PL_fdscript
-#define PL_fdscript (*Perl_Ifdscript_ptr(aTHX))
#undef PL_filemode
#define PL_filemode (*Perl_Ifilemode_ptr(aTHX))
#undef PL_forkprocess
__attribute__noreturn__;
STATIC void S_nuke_stacks(pTHX);
-STATIC void S_open_script(pTHX_ const char *scriptname, bool dosearch, SV *sv)
+STATIC int S_open_script(pTHX_ const char *scriptname, bool dosearch, SV *sv)
__attribute__nonnull__(pTHX_1)
__attribute__nonnull__(pTHX_3);
STATIC void S_usage(pTHX_ const char *name)
__attribute__nonnull__(pTHX_1);
-STATIC void S_validate_suid(pTHX_ const char *validarg, const char *scriptname)
+STATIC void S_validate_suid(pTHX_ const char *validarg, const char *scriptname, int fdscript)
__attribute__nonnull__(pTHX_1)
__attribute__nonnull__(pTHX_2);