mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
update comments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33735 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
bfed16a21f
commit
abe61eb0d1
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue