diff options
author | Perl 5 Porters <perl5-porters@africa.nicoh.com> | 1997-03-22 15:34:25 +1200 |
---|---|---|
committer | Chip Salzenberg <chip@atlantic.net> | 1997-03-22 15:34:25 +1200 |
commit | 3fe9a6f19eb206c685bd7389e54e2838fdfd04b7 (patch) | |
tree | 94845bcda5f58956e6c9ccef24340d1b5c93d182 /t/lib | |
parent | 9a2c4ce3a0904191a580ec822adeb696331d31ce (diff) | |
download | perl-3fe9a6f19eb206c685bd7389e54e2838fdfd04b7.tar.gz |
[inseparable changes from match from perl-5.003_94 to perl-5.003_95]
CORE LANGUAGE CHANGES
Subject: Don't compile scalar mods of aggregates, like C<@a =~ s/a/b/>
From: Chip Salzenberg <chip@perl.com>
Files: op.c t/op/misc.t
Subject: Warn about undef magic values just like non-magic
From: Chip Salzenberg <chip@perl.com>
Files: ext/Opcode/Safe.pm sv.c t/lib/db-btree.t t/lib/db-hash.t t/lib/db-recno.t t/pragma/locale.t
CORE PORTABILITY
Subject: Win32 update (five patches)
From: Gurusamy Sarathy <gsar@engin.umich.edu>
Files: MANIFEST README.win32 doio.c dosish.h pp_sys.c lib/ExtUtils/Command.pm t/comp/multiline.t t/op/magic.t t/op/mkdir.t t/op/runlevel.t t/op/stat.t t/op/write.t win32/Makefile win32/config.H win32/config.w32 win32/win32.c win32/win32.h win32/win32aux.c win32/*.mak win32/VC-2.0/*.mak
DOCUMENTATION
Subject: INSTALL-1.8 to INSTALL-1.9 updates
Date: Tue, 25 Mar 1997 13:52:53 -0500 (EST)
From: Andy Dougherty <doughera@fractal.phys.lafayette.edu>
Files: INSTALL
Msg-ID: Pine.SOL.3.95q.970325135138.3374A-100000@fractal.lafayette.e
(applied based on p5p patch as commit 9b1ae96a0b4301a9588f62b3175bc0312302f4b9)
Subject: Document possible problems with -Mdiagnostics after upgrade
From: Chip Salzenberg <chip@perl.com>
Files: INSTALL
Subject: Mention perldelta in INSTALL
From: Chip Salzenberg <chip@perl.com>
Files: INSTALL
Subject: Describe pod format at top of INSTALL
From: Chip Salzenberg <chip@perl.com>
Files: INSTALL
Subject: Document C</a *b/x> fix
From: Chip Salzenberg <chip@perl.com>
Files: pod/perldelta.pod
Subject: pods for subroutine argument autovivication
Date: Mon, 24 Mar 1997 07:25:21 +0000
From: "M.J.T. Guy" <mjtg@cus.cam.ac.uk>
Files: pod/perldelta.pod pod/perlsub.pod
Msg-ID: E0w9489-0005YT-00@ursa.cus.cam.ac.uk
(applied based on p5p patch as commit db8878faa51a8a1541a40745a8613adb5db155e4)
Subject: Missing item in perldiag
Date: Sun, 23 Mar 1997 09:24:09 +0000
From: "M.J.T. Guy" <mjtg@cus.cam.ac.uk>
Files: pod/perldiag.pod
Msg-ID: E0w8jVZ-0005va-00@ursa.cus.cam.ac.uk
(applied based on p5p patch as commit c00a529017138505fcbe538b74c7884abe1d18e1)
Subject: Pod problems & fixes
Date: Mon, 24 Mar 1997 21:31:51 +0100 (MET)
From: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
Files: INSTALL lib/Term/Complete.pm lib/subs.pm pod/perlcall.pod pod/perldata.pod pod/perldiag.pod pod/perlembed.pod pod/perlguts.pod pod/perlmod.pod pod/perlop.pod pod/perlpod.pod pod/pod2html.PL
Msg-ID: 199703242031.VAA14997@bombur2.uio.no
(applied based on p5p patch as commit 55a864fe4cea1a0586891b83d359ba71e0972da5)
Subject: FAQ update
From: Nathan Torkington <gnat@prometheus.frii.com>
Files: pod/perlfaq*.pod
OTHER CORE CHANGES
Subject: Improve 'prototype mismatch' warning
From: Chip Salzenberg <chip@perl.com>
Files: global.sym op.c pod/perldiag.pod proto.h sv.c t/comp/redef.t
Diffstat (limited to 't/lib')
-rwxr-xr-x | t/lib/db-btree.t | 19 | ||||
-rwxr-xr-x | t/lib/db-hash.t | 14 | ||||
-rwxr-xr-x | t/lib/db-recno.t | 14 |
3 files changed, 21 insertions, 26 deletions
diff --git a/t/lib/db-btree.t b/t/lib/db-btree.t index 10f585304a..897548585b 100755 --- a/t/lib/db-btree.t +++ b/t/lib/db-btree.t @@ -46,17 +46,14 @@ umask(0); # Check the interface to BTREEINFO my $dbh = new DB_File::BTREEINFO ; -ok(1, $dbh->{flags} == 0) ; -ok(2, $dbh->{cachesize} == 0) ; -ok(3, $dbh->{psize} == 0) ; -ok(4, $dbh->{lorder} == 0) ; -ok(5, $dbh->{minkeypage} == 0) ; -ok(6, $dbh->{maxkeypage} == 0) ; -{ - local $^W = 0 ; - ok(7, $dbh->{compare} == undef) ; - ok(8, $dbh->{prefix} == undef) ; -} +ok(1, ! defined $dbh->{flags}) ; +ok(2, ! defined $dbh->{cachesize}) ; +ok(3, ! defined $dbh->{psize}) ; +ok(4, ! defined $dbh->{lorder}) ; +ok(5, ! defined $dbh->{minkeypage}) ; +ok(6, ! defined $dbh->{maxkeypage}) ; +ok(7, ! defined $dbh->{compare}) ; +ok(8, ! defined $dbh->{prefix}) ; $dbh->{flags} = 3000 ; ok(9, $dbh->{flags} == 3000) ; diff --git a/t/lib/db-hash.t b/t/lib/db-hash.t index 9ebd060e0a..9765e2ed86 100755 --- a/t/lib/db-hash.t +++ b/t/lib/db-hash.t @@ -32,14 +32,12 @@ umask(0); my $dbh = new DB_File::HASHINFO ; -ok(1, $dbh->{bsize} == 0) ; -ok(2, $dbh->{ffactor} == 0) ; -ok(3, $dbh->{nelem} == 0) ; -ok(4, $dbh->{cachesize} == 0) ; -$^W = 0 ; -ok(5, $dbh->{hash} == undef) ; -$^W = 1 ; -ok(6, $dbh->{lorder} == 0) ; +ok(1, ! defined $dbh->{bsize}) ; +ok(2, ! defined $dbh->{ffactor}) ; +ok(3, ! defined $dbh->{nelem}) ; +ok(4, ! defined $dbh->{cachesize}) ; +ok(5, ! defined $dbh->{hash}) ; +ok(6, ! defined $dbh->{lorder}) ; $dbh->{bsize} = 3000 ; ok(7, $dbh->{bsize} == 3000 ); diff --git a/t/lib/db-recno.t b/t/lib/db-recno.t index b5b4f9404d..5df5af1808 100755 --- a/t/lib/db-recno.t +++ b/t/lib/db-recno.t @@ -51,13 +51,13 @@ umask(0); # Check the interface to RECNOINFO my $dbh = new DB_File::RECNOINFO ; -ok(1, $dbh->{bval} == 0 ) ; -ok(2, $dbh->{cachesize} == 0) ; -ok(3, $dbh->{psize} == 0) ; -ok(4, $dbh->{flags} == 0) ; -ok(5, $dbh->{lorder} == 0); -ok(6, $dbh->{reclen} == 0); -ok(7, $dbh->{bfname} eq ""); +ok(1, ! defined $dbh->{bval}) ; +ok(2, ! defined $dbh->{cachesize}) ; +ok(3, ! defined $dbh->{psize}) ; +ok(4, ! defined $dbh->{flags}) ; +ok(5, ! defined $dbh->{lorder}) ; +ok(6, ! defined $dbh->{reclen}) ; +ok(7, ! defined $dbh->{bfname}) ; $dbh->{bval} = 3000 ; ok(8, $dbh->{bval} == 3000 ); |