diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 1998-07-04 08:32:53 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 1998-07-04 08:32:53 +0000 |
commit | 1116284222923a1670dbbe2205884d0616c81dfc (patch) | |
tree | a89200969475c693556e67beb50f4ee96596d569 | |
parent | c15fa9d5baa647995a5dbcf40401374cd12cd9cd (diff) | |
download | perl-1116284222923a1670dbbe2205884d0616c81dfc.tar.gz |
various small tweaks (still fails a few taint tests in {taint,locale}.t)
p4raw-id: //depot/perl@1309
-rw-r--r-- | Todo.5.005 | 2 | ||||
-rw-r--r-- | lib/re.pm | 2 | ||||
-rw-r--r-- | sv.c | 2 | ||||
-rwxr-xr-x | t/lib/fields.t | 2 |
4 files changed, 6 insertions, 2 deletions
diff --git a/Todo.5.005 b/Todo.5.005 index bea5d84749..37ee13937d 100644 --- a/Todo.5.005 +++ b/Todo.5.005 @@ -63,3 +63,5 @@ Documentation document Win32 choices rework INSTALL to reflect changes in installation structure spot-check all new modules for completeness + better docs for pack()/unpack() + add perlport.pod @@ -25,7 +25,7 @@ See L<perlmodlib/Pragmatic Modules>. =cut my %bitmask = ( -taint => 0x00001000 +taint => 0x00100000 ); sub bits { @@ -3609,7 +3609,7 @@ sv_2mortal(register SV *sv) if (!sv) return sv; if (SvREADONLY(sv) && SvIMMORTAL(sv)) - return; + return sv; if (++tmps_ix >= tmps_max) sv_mortalgrow(); tmps_stack[tmps_ix] = sv; diff --git a/t/lib/fields.t b/t/lib/fields.t index 7fad5d78f2..fe6ed18c1c 100755 --- a/t/lib/fields.t +++ b/t/lib/fields.t @@ -6,6 +6,8 @@ use vars qw($DEBUG); my $w; BEGIN { + chdir 't' if -d 't'; + @INC = '../lib' if -d '../lib'; $SIG{__WARN__} = sub { if ($_[0] =~ /^Hides field 'b1' in base class/) { $w++; |