diff options
author | Nicholas Clark <nick@ccl4.org> | 2011-01-05 16:39:50 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2011-01-05 20:42:23 +0000 |
commit | b220e8cd5bb9b66ed60b059f802b49aabb4b520e (patch) | |
tree | 1527557f945568ef590969311c7d946697c1bb0c /util.c | |
parent | f64eb7e3f1535117ee91c13174660a9b6eef681b (diff) | |
download | perl-b220e8cd5bb9b66ed60b059f802b49aabb4b520e.tar.gz |
Calling "PRINT" on a tied STDERR can use G_DISCARD, as the result is ignored.
Diffstat (limited to 'util.c')
-rw-r--r-- | util.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1427,7 +1427,7 @@ Perl_write_to_stderr(pTHX_ SV* msv) PUSHs(SvTIED_obj(MUTABLE_SV(io), mg)); PUSHs(msv); PUTBACK; - call_method("PRINT", G_SCALAR); + call_method("PRINT", G_SCALAR | G_DISCARD); POPSTACK; FREETMPS; |