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

ruby-changes:21546

From: akr <ko1@a...>
Date: Tue, 1 Nov 2011 08:24:36 +0900 (JST)
Subject: [ruby-changes:21546] akr:r33595 (trunk): add comment.

akr	2011-11-01 08:24:25 +0900 (Tue, 01 Nov 2011)

  New Revision: 33595

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

  Log:
    add comment.

  Modified files:
    trunk/io.c

Index: io.c
===================================================================
--- io.c	(revision 33594)
+++ io.c	(revision 33595)
@@ -226,7 +226,7 @@
             ret = dup3(oldfd, newfd, O_CLOEXEC);
             if (ret != -1)
                 return ret;
-            /* dup3 is available since Linux 2.6.27. */
+            /* dup3 is available since Linux 2.6.27, glibc 2.9. */
             if (errno == ENOSYS) {
                 try_dup3 = 0;
                 ret = dup2(oldfd, newfd);
@@ -261,7 +261,7 @@
         if (ret != -1)
             return ret;
 #endif
-        /* pipe2 is available since Linux 2.6.27. */
+        /* pipe2 is available since Linux 2.6.27, glibc 2.9. */
         if (errno == ENOSYS) {
             try_pipe2 = 0;
             ret = pipe(fildes);

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

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