summaryrefslogtreecommitdiff
path: root/perl.c
diff options
context:
space:
mode:
authorMalcolm Beattie <mbeattie@sable.ox.ac.uk>1997-10-03 17:12:33 +0000
committerMalcolm Beattie <mbeattie@sable.ox.ac.uk>1997-10-03 17:12:33 +0000
commit968277801164b16eb55f9f8fd3162dc3b6226110 (patch)
tree9e3909d2149d62cac469cfb6d84bdfd4353dd19f /perl.c
parent5d3fdfebb3d34f909dfbefe2c2cdf38bab171cf9 (diff)
downloadperl-968277801164b16eb55f9f8fd3162dc3b6226110.tar.gz
Remove last traces of "tokenbuf as temp buffer" and removed it
from struct thread. Added missing thr->Tfoo defines for statbuf and timesbuf and removed unused Tbuf field. p4raw-id: //depot/perl@106
Diffstat (limited to 'perl.c')
-rw-r--r--perl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl.c b/perl.c
index f08def4a91..d896801cd7 100644
--- a/perl.c
+++ b/perl.c
@@ -2205,6 +2205,7 @@ FIX YOUR KERNEL, PUT A C WRAPPER AROUND THIS SCRIPT, OR USE -u AND UNDUMP!\n");
#else /* !DOSUID */
if (euid != uid || egid != gid) { /* (suidperl doesn't exist, in fact) */
#ifndef SETUID_SCRIPTS_ARE_SECURE_NOW
+ dTHR;
Fstat(PerlIO_fileno(rsfp),&statbuf); /* may be either wrapped or real suid */
if ((euid != uid && euid == statbuf.st_uid && statbuf.st_mode & S_ISUID)
||