summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-11-13 12:32:15 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-11-13 12:32:15 +0000
commitabe61eb0d136581d031fd8694ec8682820bba722 (patch)
tree8f7d9d8a191601613040e169db5fb1aef99dac66
parentbfed16a21f057a1b0fed51936ff11a64ac7c4ea3 (diff)
update comments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33735 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ext/dbm/dbm.c2
-rw-r--r--ext/gdbm/gdbm.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/ext/dbm/dbm.c b/ext/dbm/dbm.c
index e75166506b..1850b28c2f 100644
--- a/ext/dbm/dbm.c
+++ b/ext/dbm/dbm.c
@@ -149,7 +149,7 @@ fdbm_initialize(int argc, VALUE *argv, VALUE obj)
/*
* Note:
- * The dbm compatibility layer of gdbm 1.9 doesn't respect O_CLOEXEC.
+ * gdbm 1.10 works with O_CLOEXEC. gdbm 1.9.1 silently ignore it.
*/
#ifndef O_CLOEXEC
# define O_CLOEXEC 0
diff --git a/ext/gdbm/gdbm.c b/ext/gdbm/gdbm.c
index 6f0709e4ac..00fbac93d7 100644
--- a/ext/gdbm/gdbm.c
+++ b/ext/gdbm/gdbm.c
@@ -211,7 +211,7 @@ fgdbm_initialize(int argc, VALUE *argv, VALUE obj)
SafeStringValue(file);
#ifdef GDBM_CLOEXEC
- /* GDBM_CLOEXEC is implemented in gdbm 1.9.90 (development version after gdbm-1.9.1). */
+ /* GDBM_CLOEXEC is available since gdbm 1.10. */
flags |= GDBM_CLOEXEC;
#endif