projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
038fa33
)
Tweak gdbm.t to use GDBM_WRITER instead of GDBM_WRCREAT when re-opening a file.
author
Nicholas Clark
<nick@ccl4.org>
Thu, 16 Dec 2010 14:47:27 +0000
(15:47 +0100)
committer
Nicholas Clark
<nick@ccl4.org>
Thu, 16 Dec 2010 14:47:27 +0000
(15:47 +0100)
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
patch
|
blob
|
history
diff --git
a/ext/GDBM_File/t/gdbm.t
b/ext/GDBM_File/t/gdbm.t
index
5cdedcc
..
12e380d
100644
(file)
--- 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_WR
CREAT
, 0640), 'GDBM_File');
+isa_ok(tie(%h, 'GDBM_File', 'Op.dbmx', GDBM_WR
ITER
, 0640), 'GDBM_File');
$h{'j'} = 'J';
$h{'k'} = 'K';