diff options
author | wtc%netscape.com <devnull@localhost> | 2003-02-28 02:23:15 +0000 |
---|---|---|
committer | wtc%netscape.com <devnull@localhost> | 2003-02-28 02:23:15 +0000 |
commit | 031797f4a5fa2fb97ecb5dc91c6894d533b35559 (patch) | |
tree | 4d6c3bf84f51bfdeba4441de9a3a661df417ad0f | |
parent | e77655ec2fdc1eb5ef95a87c74fad2e6da05a155 (diff) | |
download | nspr-hg-031797f4a5fa2fb97ecb5dc91c6894d533b35559.tar.gz |
Added a comment.
-rw-r--r-- | pr/src/pthreads/ptio.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/pr/src/pthreads/ptio.c b/pr/src/pthreads/ptio.c index deef0973..8267148b 100644 --- a/pr/src/pthreads/ptio.c +++ b/pr/src/pthreads/ptio.c @@ -3374,6 +3374,12 @@ PR_IMPLEMENT(PRBool) _pr_test_ipv6_socket() { PRInt32 osfd; + /* + * HP-UX only: HP-UX IPv6 Porting Guide (dated February 2001) + * suggests that we call open("/dev/ip6", O_RDWR) to determine + * whether IPv6 APIs and the IPv6 stack are on the system. + * Our portable test below seems to work fine, so I am using it. + */ osfd = socket(AF_INET6, SOCK_STREAM, 0); if (osfd != -1) { close(osfd); |