diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-11-09 13:26:06 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-11-09 13:26:06 +0000 |
commit | 3f289d9237dc9be556f3f5ca2606b9589f509379 (patch) | |
tree | 9cb1cab4680503dc61eeed52d5c5100708d2d708 | |
parent | 7df246bd795c2c56dd976420bac0e7a94cf88a40 (diff) | |
download | ruby-3f289d9237dc9be556f3f5ca2606b9589f509379.tar.gz |
add comment.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33689 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ext/pty/pty.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/pty/pty.c b/ext/pty/pty.c index 5ebff5e933..4b28fd9f29 100644 --- a/ext/pty/pty.c +++ b/ext/pty/pty.c @@ -230,7 +230,8 @@ get_device_once(int *master, int *slave, char SlaveName[DEVICELEN], int nomesg, #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; |