diff options
-rw-r--r-- | ext/dbm/dbm.c | 2 | ||||
-rw-r--r-- | ext/gdbm/gdbm.c | 2 |
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 |