In perl.git, the branch blead has been updated

<http://perl5.git.perl.org/perl.git/commitdiff/234e7be97d3fcde19aeeb0d1a009880870e75aa5?hp=038fa339c4185f32e8a3053619b2b9cf27df2718>

- Log -----------------------------------------------------------------
commit 234e7be97d3fcde19aeeb0d1a009880870e75aa5
Author: Nicholas Clark <[email protected]>
Date:   Thu Dec 16 15:47:27 2010 +0100

    Tweak gdbm.t to use GDBM_WRITER instead of GDBM_WRCREAT when re-opening a 
file.
    
    The analagous tests for [nos]dbm.t don't use |O_CREAT for this case. gdbm.t
    has been using GDBM_WRCREAT here since the file was added by Larry in 5.000
-----------------------------------------------------------------------

Summary of changes:
 ext/GDBM_File/t/gdbm.t |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/ext/GDBM_File/t/gdbm.t b/ext/GDBM_File/t/gdbm.t
index 5cdedcc..12e380d 100644
--- a/ext/GDBM_File/t/gdbm.t
+++ b/ext/GDBM_File/t/gdbm.t
@@ -60,7 +60,7 @@ $h{'goner2'} = 'snork';
 delete $h{'goner2'};
 
 untie(%h);
-isa_ok(tie(%h, 'GDBM_File', 'Op.dbmx', GDBM_WRCREAT, 0640), 'GDBM_File');
+isa_ok(tie(%h, 'GDBM_File', 'Op.dbmx', GDBM_WRITER, 0640), 'GDBM_File');
 
 $h{'j'} = 'J';
 $h{'k'} = 'K';

--
Perl5 Master Repository

Reply via email to