This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
317fb12
)
Pretty hard for eval { setpwent(); getpwent(); 1 } to return false.
author
Jarkko Hietaniemi
<jhi@iki.fi>
Mon, 22 Oct 2001 20:27:47 +0000
(20:27 +0000)
committer
Jarkko Hietaniemi
<jhi@iki.fi>
Mon, 22 Oct 2001 20:27:47 +0000
(20:27 +0000)
p4raw-id: //depot/perl@12590
t/op/taint.t
patch
|
blob
|
blame
|
history
diff --git
a/t/op/taint.t
b/t/op/taint.t
index
4e75c54
..
6254eb9
100755
(executable)
--- a/
t/op/taint.t
+++ b/
t/op/taint.t
@@
-577,7
+577,7
@@
else {
# Test for system/library calls returning string data of dubious origin.
{
# No reliable %Config check for getpw*
- if (eval { setpwent(); getpwent()
; 1
}) {
+ if (eval { setpwent(); getpwent() }) {
setpwent();
my @getpwent = getpwent();
die "getpwent: $!\n" unless (@getpwent);