From 234e7be97d3fcde19aeeb0d1a009880870e75aa5 Mon Sep 17 00:00:00 2001 From: Nicholas Clark Date: Thu, 16 Dec 2010 15:47:27 +0100 Subject: [PATCH] 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 --- ext/GDBM_File/t/gdbm.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'; -- 2.7.4