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

ruby-changes:21640

From: akr <ko1@a...>
Date: Wed, 9 Nov 2011 22:26:18 +0900 (JST)
Subject: [ruby-changes:21640] akr:r33689 (trunk): add comment.

akr	2011-11-09 22:26:06 +0900 (Wed, 09 Nov 2011)

  New Revision: 33689

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

  Log:
    add comment.

  Modified files:
    trunk/ext/pty/pty.c

Index: ext/pty/pty.c
===================================================================
--- ext/pty/pty.c	(revision 33688)
+++ ext/pty/pty.c	(revision 33689)
@@ -230,7 +230,8 @@
 
 #if defined(__sun) || defined(__FreeBSD__)
     /* workaround for Solaris 10: grantpt() doesn't work if FD_CLOEXEC is set.  [ruby-dev:44688] */
-    /* FreeBSD 8 supported O_CLOEXEC for posix_openpt, but FreeBSD 9 removed it */
+    /* FreeBSD 8 supported O_CLOEXEC for posix_openpt, but FreeBSD 9 removed it.
+     * http://www.freebsd.org/cgi/query-pr.cgi?pr=162374 */
     if ((masterfd = posix_openpt(O_RDWR|O_NOCTTY)) == -1) goto error;
     if (sigaction(SIGCHLD, &dfl, &old) == -1) goto error;
     if (grantpt(masterfd) == -1) goto grantpt_error;

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

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