projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ad4673e
)
Don't write to $PERLIO_DEBUG when setuid ([perl #33990])
author
Rafael Garcia-Suarez
<rgarciasuarez@gmail.com>
Mon, 31 Jan 2005 08:19:10 +0000
(08:19 +0000)
committer
Rafael Garcia-Suarez
<rgarciasuarez@gmail.com>
Mon, 31 Jan 2005 08:19:10 +0000
(08:19 +0000)
p4raw-id: //depot/perl@23903
perlio.c
patch
|
blob
|
history
diff --git
a/perlio.c
b/perlio.c
index
19c05cb
..
19b842e
100644
(file)
--- a/
perlio.c
+++ b/
perlio.c
@@
-450,6
+450,7
@@
void PerlIO_debug(const char *fmt, ...)
void
PerlIO_debug(const char *fmt, ...)
{
+#ifdef IAMSUID
static int dbg = 0;
va_list ap;
dSYS;
@@
-492,6
+493,7
@@
PerlIO_debug(const char *fmt, ...)
#endif
}
va_end(ap);
+#endif /* IAMSUID */
}
/*--------------------------------------------------------------------------------------*/