diff options
author | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2002-10-03 20:34:13 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2002-10-03 20:34:13 +0000 |
commit | cb77fdf0e62f488063efd544deea3e13e215fac6 (patch) | |
tree | 57357b53ba1e38d46872e8b7b061593152d03d6b /ext/Safe | |
parent | 276b2a0c6a53ec634026b73150a6cb3f81349921 (diff) | |
download | perl-cb77fdf0e62f488063efd544deea3e13e215fac6.tar.gz |
Change the warning message "%s trapped by operation mask"
to include '' around the op name. Document it in perldiag.
p4raw-id: //depot/perl@17973
Diffstat (limited to 'ext/Safe')
-rwxr-xr-x | ext/Safe/safe2.t | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/Safe/safe2.t b/ext/Safe/safe2.t index d967b19634..94398d4565 100755 --- a/ext/Safe/safe2.t +++ b/ext/Safe/safe2.t @@ -38,7 +38,7 @@ $cpt = new Safe or die; $cpt = new Safe "Root"; $cpt->reval(q{ system("echo not ok 1"); }); -if ($@ =~ /^system trapped by operation mask/) { +if ($@ =~ /^'system' trapped by operation mask/) { print "ok 1\n"; } else { print "#$@" if $@; |