OSDN Git Service
(root)
/
mave
/
mave.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add web mail viewer 'Maverick'.
[mave/mave.git]
/
dump_gdbm
diff --git
a/dump_gdbm
b/dump_gdbm
index
9a95b31
..
69a66af
100755
(executable)
--- a/
dump_gdbm
+++ b/
dump_gdbm
@@
-1,9
+1,9
@@
#!/usr/bin/env ruby
-require '
g
dbm'
+require '
x
dbm'
ARGV.each {|file|
-
GDBM.open(file
).each {|key, value|
+
XDBM.new(file, 0600, XDBM::NOLOCK | XDBM::READER
).each {|key, value|
print "#{key}: <#{value}>\n"
}
}