[前][次][番号順一覧][スレッド一覧]

ruby-changes:21686

From: akr <ko1@a...>
Date: Sun, 13 Nov 2011 21:32:23 +0900 (JST)
Subject: [ruby-changes:21686] akr:r33735 (trunk): update comments.

akr	2011-11-13 21:32:15 +0900 (Sun, 13 Nov 2011)

  New Revision: 33735

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=33735

  Log:
    update comments.

  Modified files:
    trunk/ext/dbm/dbm.c
    trunk/ext/gdbm/gdbm.c

Index: ext/dbm/dbm.c
===================================================================
--- ext/dbm/dbm.c	(revision 33734)
+++ ext/dbm/dbm.c	(revision 33735)
@@ -149,7 +149,7 @@
 
     /*
      * 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
Index: ext/gdbm/gdbm.c
===================================================================
--- ext/gdbm/gdbm.c	(revision 33734)
+++ ext/gdbm/gdbm.c	(revision 33735)
@@ -211,7 +211,7 @@
     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
 

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]