diff options
author | Nicholas Clark <nick@ccl4.org> | 2012-02-27 15:21:38 +0100 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2012-03-13 17:39:44 +0100 |
commit | 3ea1fc5156d287c1946f337eedc80efd2ccbb842 (patch) | |
tree | 6c3027bc7ac7132ed5e6f1425bc650f5e4f16ba9 /embed.h | |
parent | 4b53f9ae30a19c4c0d18a058fa72ef71604db9ed (diff) | |
download | perl-3ea1fc5156d287c1946f337eedc80efd2ccbb842.tar.gz |
In perl.c, only compile S_forbid_setid() if it's needed.smoke-me/kick-FAKE_BIT_BUCKET
If SETUID_SCRIPTS_ARE_SECURE_NOW is defined, S_forbid_setid() is a no-op,
so don't compile it. Move the declaration and definition of S_forbid_setid()
into the same pre-processor blocks as are used for S_validate_suid(), which
is a no-op when SETUID_SCRIPTS_ARE_SECURE_NOW is /not/ defined.
Diffstat (limited to 'embed.h')
-rw-r--r-- | embed.h | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -1429,7 +1429,6 @@ # endif # if defined(PERL_IN_PERL_C) #define find_beginning(a,b) S_find_beginning(aTHX_ a,b) -#define forbid_setid(a) S_forbid_setid(aTHX_ a) #define incpush(a,b,c) S_incpush(aTHX_ a,b,c) #define incpush_use_sep(a,b,c) S_incpush_use_sep(aTHX_ a,b,c) #define init_ids() S_init_ids(aTHX) |