Oops. I *thought* that I had checked that all changed files were open.
Nicholas Clark [Fri, 3 Feb 2006 18:10:45 +0000 (18:10 +0000)]
Clearly not. (Fixes change 27066)

p4raw-id: //depot/perl@27068

embed.h
embedvar.h
perlapi.h
proto.h

diff --git a/embed.h b/embed.h
index d6a0e9d..6eefaae 100644 (file)
--- a/embed.h
+++ b/embed.h
 #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)
index 9b7fe7d..ecc46a0 100644 (file)
 #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
index 1fc4e08..17cbf69 100644 (file)
--- a/perlapi.h
+++ b/perlapi.h
@@ -290,8 +290,6 @@ END_EXTERN_C
 #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
diff --git a/proto.h b/proto.h
index 0e1e4fa..443303d 100644 (file)
--- a/proto.h
+++ b/proto.h
@@ -3185,14 +3185,14 @@ STATIC void     S_my_exit_jump(pTHX)
                        __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);