diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2000-11-08 05:29:37 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2000-11-08 05:29:37 +0000 |
commit | af328b152b68bb21549e52df230b17a8672795c3 (patch) | |
tree | 8a63998435ddc0a3367124967bf063f01e7cfbb9 /ext/gdbm/gdbm.c | |
parent | 41e41d34d14ef3595a54148368b89b6c75d0fe4d (diff) | |
download | ruby-af328b152b68bb21549e52df230b17a8672795c3.tar.gz |
matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1031 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/gdbm/gdbm.c')
-rw-r--r-- | ext/gdbm/gdbm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/gdbm/gdbm.c b/ext/gdbm/gdbm.c index da57a79dd6..d84c7bedd4 100644 --- a/ext/gdbm/gdbm.c +++ b/ext/gdbm/gdbm.c @@ -72,10 +72,10 @@ fgdbm_s_open(argc, argv, klass) O_RDWR|O_CREAT, mode, MY_FATAL_FUNC); if (!dbm) dbm = gdbm_open(RSTRING(file)->ptr, MY_BLOCK_SIZE, - O_RDWR, mode, MY_FATAL_FUNC); + O_RDWR, 0, MY_FATAL_FUNC); if (!dbm) dbm = gdbm_open(RSTRING(file)->ptr, MY_BLOCK_SIZE, - O_RDONLY, mode, MY_FATAL_FUNC); + O_RDONLY, 0, MY_FATAL_FUNC); if (!dbm) { if (mode == -1) return Qnil; |