CVS commit: src/lib/libc/net
Module Name:src Committed By: nia Date: Fri Jun 5 11:16:15 UTC 2020 Modified Files: src/lib/libc/net: getnetent.c getnetnamadr.c Log Message: Remove more bogus tests for 64-bit i386 and SuperH. These are always false. To generate a diff of this commit: cvs rdiff -u -r1.21 -r1.22 src/lib/libc/net/getnetent.c cvs rdiff -u -r1.44 -r1.45 src/lib/libc/net/getnetnamadr.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libc/net
Module Name:src Committed By: nia Date: Thu Jun 4 11:28:00 UTC 2020 Modified Files: src/lib/libc/net: getaddrinfo.3 Log Message: getaddrinfo.3: order of the struct members is wrong, correct it To generate a diff of this commit: cvs rdiff -u -r1.59 -r1.60 src/lib/libc/net/getaddrinfo.3 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libc/net
Module Name:src Committed By: dholland Date: Thu Dec 13 04:41:41 UTC 2018 Modified Files: src/lib/libc/net: getaddrinfo.c Log Message: Adjust English usage in message for EAI_NONAME. To generate a diff of this commit: cvs rdiff -u -r1.118 -r1.119 src/lib/libc/net/getaddrinfo.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libc/net
Module Name:src Committed By: dholland Date: Thu Dec 13 04:30:56 UTC 2018 Modified Files: src/lib/libc/net: getaddrinfo.c Log Message: Return EAI_NODATA, not EAI_NONAME, for nonexistent hosts. This causes e.g. "ssh nosuchname" to print "No address associated with hostname", which is correct, rather than "hostname nor servname provided, or not known", which is not. To generate a diff of this commit: cvs rdiff -u -r1.117 -r1.118 src/lib/libc/net/getaddrinfo.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libc/net
Module Name:src Committed By: msaitoh Date: Wed Aug 22 03:12:31 UTC 2018 Modified Files: src/lib/libc/net: if_nametoindex.c Log Message: - SIOCGIFINDEX was added in 2013, but if_freenameindex(3) have not used it for years. Use it to improve performance. Same as FreeBSD. - KNF. To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/lib/libc/net/if_nametoindex.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libc/net
Module Name:src Committed By: wiz Date: Mon Aug 13 06:00:21 UTC 2018 Modified Files: src/lib/libc/net: sctp_bindx.3 sctp_connectx.3 sctp_freepaddrs.3 sctp_getaddrlen.3 sctp_getassocid.3 sctp_getpaddrs.3 sctp_opt_info.3 sctp_peeloff.3 sctp_recvmsg.3 sctp_send.3 sctp_sendmsg.3 Log Message: Various improvements. More markup, sort errors, fix -1. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/lib/libc/net/sctp_bindx.3 \ src/lib/libc/net/sctp_connectx.3 src/lib/libc/net/sctp_freepaddrs.3 \ src/lib/libc/net/sctp_getaddrlen.3 src/lib/libc/net/sctp_getassocid.3 \ src/lib/libc/net/sctp_getpaddrs.3 src/lib/libc/net/sctp_opt_info.3 \ src/lib/libc/net/sctp_peeloff.3 src/lib/libc/net/sctp_recvmsg.3 \ src/lib/libc/net/sctp_send.3 src/lib/libc/net/sctp_sendmsg.3 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libc/net
Module Name:src Committed By: rjs Date: Thu Aug 2 10:18:19 UTC 2018 Added Files: src/lib/libc/net: sctp_recvmsg.3 Log Message: Add missing SCTP manpage. To generate a diff of this commit: cvs rdiff -u -r0 -r1.1 src/lib/libc/net/sctp_recvmsg.3 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libc/net
Module Name:src Committed By: uwe Date: Wed Feb 21 14:11:09 UTC 2018 Modified Files: src/lib/libc/net: getnetent.3 Log Message: Consistenly use "host byte order". To generate a diff of this commit: cvs rdiff -u -r1.15 -r1.16 src/lib/libc/net/getnetent.3 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libc/net
Module Name:src Committed By: wiz Date: Wed Feb 21 09:47:37 UTC 2018 Modified Files: src/lib/libc/net: getnetent.3 Log Message: Fix endnetent prototype. Fix NULL. New sentence, new line. To generate a diff of this commit: cvs rdiff -u -r1.14 -r1.15 src/lib/libc/net/getnetent.3 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libc/net
Module Name:src Committed By: kamil Date: Wed Feb 21 03:13:50 UTC 2018 Modified Files: src/lib/libc/net: getnetent.3 Log Message: Improve the getnetent(3) man-page Document return type of setnetent(3) and endnetent(3). Both "void". Sponsored by To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14 src/lib/libc/net/getnetent.3 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libc/net
Module Name:src Committed By: christos Date: Fri Feb 16 19:21:49 UTC 2018 Modified Files: src/lib/libc/net: getpeereid.c Log Message: Enforce that getpeereid only returns success on AF_LOCAL sockets, instead of returning garbage for other socket types. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/lib/libc/net/getpeereid.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libc/net
Module Name:src Committed By: christos Date: Thu Dec 28 15:12:16 UTC 2017 Modified Files: src/lib/libc/net: getaddrinfo.c Log Message: PR/52837: Michael Kaufmann: getaddrinfo() resolves "127.0.0.1 www.example.com" to 127.0.0.1. Apply the patch from FreeBSD and explain the rationale. To generate a diff of this commit: cvs rdiff -u -r1.116 -r1.117 src/lib/libc/net/getaddrinfo.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libc/net
Module Name:src Committed By: wiz Date: Mon Oct 30 15:46:38 UTC 2017 Modified Files: src/lib/libc/net: ethers.3 resolver.3 Log Message: Fix Bl argument. To generate a diff of this commit: cvs rdiff -u -r1.14 -r1.15 src/lib/libc/net/ethers.3 cvs rdiff -u -r1.32 -r1.33 src/lib/libc/net/resolver.3 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libc/net
Module Name:src Committed By: abhinav Date: Wed Oct 25 16:29:21 UTC 2017 Modified Files: src/lib/libc/net: getifaddrs.3 Log Message: Add freeifaddrs to the NAME section To generate a diff of this commit: cvs rdiff -u -r1.18 -r1.19 src/lib/libc/net/getifaddrs.3 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libc/net
Module Name:src Committed By: abhinav Date: Wed Oct 25 16:26:42 UTC 2017 Modified Files: src/lib/libc/net: resolver.3 Log Message: Remove comma after last Nm entry To generate a diff of this commit: cvs rdiff -u -r1.31 -r1.32 src/lib/libc/net/resolver.3 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libc/net
Module Name:src Committed By: abhinav Date: Wed Oct 25 16:13:04 UTC 2017 Modified Files: src/lib/libc/net: ethers.3 Log Message: Remove comma after last Nm entry. New sentence, new line To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14 src/lib/libc/net/ethers.3 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libc/net
Module Name:src Committed By: christos Date: Fri Sep 29 00:04:33 UTC 2017 Modified Files: src/lib/libc/net: getaddrinfo.c Log Message: PR/52578: Benjamin M. Schwartz: sync the internal copy of res_nquery for getaddrinfo, with the real version so that we handle EDNS fallback. To generate a diff of this commit: cvs rdiff -u -r1.115 -r1.116 src/lib/libc/net/getaddrinfo.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libc/net
Module Name:src Committed By: manu Date: Sun Jun 18 04:03:44 UTC 2017 Modified Files: src/lib/libc/net: Makefile.inc Log Message: Include IPv6 global variable in USE_INET6=no libc This ensures a binary built with USE_INET6=yes libc can still link at runtime with a USE_INET6=no libc. Of course IPv6 functionnality is not available, but dynamic linking is not killed by missing symbols such as in6addr_any. To generate a diff of this commit: cvs rdiff -u -r1.86 -r1.87 src/lib/libc/net/Makefile.inc Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libc/net
Module Name:src Committed By: maya Date: Fri Mar 10 18:02:32 UTC 2017 Modified Files: src/lib/libc/net: hesiod.c Log Message: Remove entirely redundant free right after declaration. This block existed because the original code used bindname as a global. To generate a diff of this commit: cvs rdiff -u -r1.29 -r1.30 src/lib/libc/net/hesiod.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libc/net
Module Name:src Committed By: maya Date: Fri Mar 10 17:47:20 UTC 2017 Modified Files: src/lib/libc/net: hesiod.c Log Message: Drop redundant null checks. this doesn't increase diff to upstream, the whole block differs already. To generate a diff of this commit: cvs rdiff -u -r1.28 -r1.29 src/lib/libc/net/hesiod.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libc/net
Module Name:src Committed By: christos Date: Tue Jan 10 17:51:01 UTC 2017 Modified Files: src/lib/libc/net: getaddrinfo.c Log Message: KNF, simplify expressions for readability. To generate a diff of this commit: cvs rdiff -u -r1.114 -r1.115 src/lib/libc/net/getaddrinfo.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libc/net
Module Name:src Committed By: christos Date: Sun Dec 18 17:34:36 UTC 2016 Modified Files: src/lib/libc/net: resolver.3 Log Message: clarify res_nclose and res_ndestroy. To generate a diff of this commit: cvs rdiff -u -r1.30 -r1.31 src/lib/libc/net/resolver.3 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libc/net
Module Name:src Committed By: pgoyette Date: Wed Dec 7 10:03:29 UTC 2016 Modified Files: src/lib/libc/net: linkaddr.c Log Message: Fix comment: s/ACCD/ADDC/ To generate a diff of this commit: cvs rdiff -u -r1.21 -r1.22 src/lib/libc/net/linkaddr.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libc/net
Module Name:src Committed By: kre Date: Wed Dec 7 09:52:34 UTC 2016 Modified Files: src/lib/libc/net: linkaddr.c Log Message: Actually guarantee that the returned buffer from link_ntoa() is always NUL terminated, even when called by malicious/broken applications. To generate a diff of this commit: cvs rdiff -u -r1.20 -r1.21 src/lib/libc/net/linkaddr.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libc/net
Module Name:src Committed By: pgoyette Date: Wed Dec 7 03:48:05 UTC 2016 Modified Files: src/lib/libc/net: linkaddr.3 Log Message: More tweaking... To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 src/lib/libc/net/linkaddr.3 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libc/net
Module Name:src Committed By: pgoyette Date: Wed Dec 7 03:22:14 UTC 2016 Modified Files: src/lib/libc/net: linkaddr.3 Log Message: Update BUGS section to note the possibility of a truncated return value. To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 src/lib/libc/net/linkaddr.3 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libc/net
Module Name:src Committed By: christos Date: Wed Dec 7 03:16:45 UTC 2016 Modified Files: src/lib/libc/net: linkaddr.c Log Message: make it always return a NUL terminated string instead of NULL when the address is truncated for compatibility with others. To generate a diff of this commit: cvs rdiff -u -r1.19 -r1.20 src/lib/libc/net/linkaddr.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libc/net
Module Name:src Committed By: christos Date: Wed Dec 7 02:48:54 UTC 2016 Modified Files: src/lib/libc/net: linkaddr.c Log Message: Add the terminating NUL as a regular character addition. To generate a diff of this commit: cvs rdiff -u -r1.18 -r1.19 src/lib/libc/net/linkaddr.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libc/net
Module Name:src Committed By: dholland Date: Wed Dec 7 02:36:41 UTC 2016 Modified Files: src/lib/libc/net: linkaddr.c Log Message: Leave room for the null terminator. Spotted by DuClare on freenode. To generate a diff of this commit: cvs rdiff -u -r1.17 -r1.18 src/lib/libc/net/linkaddr.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libc/net
Module Name:src Committed By: christos Date: Tue Dec 6 18:41:03 UTC 2016 Modified Files: src/lib/libc/net: linkaddr.c Log Message: Fix buffer copy without checking the size of input: https://www.kb.cert.org/vuls/id/548487 To generate a diff of this commit: cvs rdiff -u -r1.16 -r1.17 src/lib/libc/net/linkaddr.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libc/net
Module Name:src Committed By: roy Date: Wed Sep 21 10:53:24 UTC 2016 Modified Files: src/lib/libc/net: getifaddrs.3 getifaddrs.c Log Message: Add ifa_addrflags to ifaddrs. To generate a diff of this commit: cvs rdiff -u -r1.16 -r1.17 src/lib/libc/net/getifaddrs.3 cvs rdiff -u -r1.15 -r1.16 src/lib/libc/net/getifaddrs.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libc/net
Module Name:src Committed By: riastradh Date: Sat Feb 6 19:33:07 UTC 2016 Modified Files: src/lib/libc/net: getaddrinfo.c Log Message: Avoid shadowing global. To generate a diff of this commit: cvs rdiff -u -r1.113 -r1.114 src/lib/libc/net/getaddrinfo.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libc/net
Module Name:src Committed By: wiz Date: Fri Jan 22 10:58:39 UTC 2016 Modified Files: src/lib/libc/net: resolver.3 Log Message: Try to reduce singular/plural confusion. Use more markup. To generate a diff of this commit: cvs rdiff -u -r1.29 -r1.30 src/lib/libc/net/resolver.3 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libc/net
Module Name:src Committed By: zafer Date: Fri Jan 22 03:38:57 UTC 2016 Modified Files: src/lib/libc/net: resolver.3 Log Message: fix typo. To generate a diff of this commit: cvs rdiff -u -r1.28 -r1.29 src/lib/libc/net/resolver.3 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libc/net
Module Name:src Committed By: christos Date: Mon Dec 14 22:07:37 UTC 2015 Modified Files: src/lib/libc/net: getaddrinfo.c Log Message: PR/50552: Kyle Amon: RFC3493 section 6.1 wants us to accept non-dotted-quad INET4 addresses. XXX: pullup-7 To generate a diff of this commit: cvs rdiff -u -r1.112 -r1.113 src/lib/libc/net/getaddrinfo.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libc/net
Module Name:src Committed By: ozaki-r Date: Mon Dec 14 03:49:54 UTC 2015 Modified Files: src/lib/libc/net: inet6_scopeid.c Log Message: KNF To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/lib/libc/net/inet6_scopeid.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libc/net
Module Name:src Committed By: christos Date: Sun Dec 13 14:54:17 UTC 2015 Modified Files: src/lib/libc/net: getaddrinfo.3 Log Message: mention ip6addrctl To generate a diff of this commit: cvs rdiff -u -r1.57 -r1.58 src/lib/libc/net/getaddrinfo.3 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libc/net
Module Name:src Committed By: christos Date: Sun Dec 13 02:02:59 UTC 2015 Modified Files: src/lib/libc/net: getaddrinfo.c Log Message: Implement the address selection policy; from FreeBSD To generate a diff of this commit: cvs rdiff -u -r1.111 -r1.112 src/lib/libc/net/getaddrinfo.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libc/net
Module Name:src Committed By: christos Date: Wed Dec 2 18:09:53 UTC 2015 Modified Files: src/lib/libc/net: getaddrinfo.c Log Message: PR/44915: Havard Eidnes: - Convert NS_NOTFOUND to EAI_NONAME instead of EAI_NODATA which more inline with what other OS's do. - Convert NO_DATA to NS_NOTFOUND since there is no equivalent mapping for nsswitch (perhaps we could add one so what we could recover the exact error and return EAI_NODATA?) - If we end up following a CNAME chain that does not find any data return that instead of internal error. XXX: pullup-7 To generate a diff of this commit: cvs rdiff -u -r1.110 -r1.111 src/lib/libc/net/getaddrinfo.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libc/net
Module Name:src Committed By: christos Date: Mon Oct 26 19:41:19 UTC 2015 Modified Files: src/lib/libc/net: getnetnamadr.c Log Message: put the state back after it is used. To generate a diff of this commit: cvs rdiff -u -r1.43 -r1.44 src/lib/libc/net/getnetnamadr.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libc/net
Module Name:src Committed By: christos Date: Mon Oct 26 19:28:53 UTC 2015 Modified Files: src/lib/libc/net: getnetnamadr.c Log Message: PR/50367: Stefan Schaeckeler: Apply fix to obey RES_CHECKNAME to getnetbyaddr and getnetbyname. To generate a diff of this commit: cvs rdiff -u -r1.42 -r1.43 src/lib/libc/net/getnetnamadr.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libc/net
Module Name:src Committed By: christos Date: Mon Oct 26 14:48:04 UTC 2015 Modified Files: src/lib/libc/net: getaddrinfo.c Log Message: PR/50367: Stefan Schaeckeler: libc resolver library does not resolve host names with underscores ("_"). According to resolv.conf(5) RES_NOCHECKNAME is on by default; well, it is and gethostbyname(3) obeys it (gethnamaddr.c:maybe_ok), but getaddrinfo(3) up till this commit not. XXX: pullup-7, pullup-6 To generate a diff of this commit: cvs rdiff -u -r1.109 -r1.110 src/lib/libc/net/getaddrinfo.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libc/net
Module Name:src Committed By: christos Date: Tue Sep 22 16:16:02 UTC 2015 Modified Files: src/lib/libc/net: gethnamaddr.c Log Message: - fix various leaks on error - don't use the wrong error variable in switch - always set the error return code - return consistent errors when the input data cannot be handled. To generate a diff of this commit: cvs rdiff -u -r1.91 -r1.92 src/lib/libc/net/gethnamaddr.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libc/net
Module Name:src Committed By: christos Date: Tue Sep 22 16:15:08 UTC 2015 Modified Files: src/lib/libc/net: getnameinfo.c Log Message: be more forgiving, and don't abort on unexpected errors. To generate a diff of this commit: cvs rdiff -u -r1.58 -r1.59 src/lib/libc/net/getnameinfo.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libc/net
Module Name:src Committed By: christos Date: Tue Sep 22 14:46:09 UTC 2015 Modified Files: src/lib/libc/net: getnameinfo.c Log Message: Handle herrors properly so that postfix can return 4XX codes when appropriate. Pointed out by Viktor Dukhovni. To generate a diff of this commit: cvs rdiff -u -r1.57 -r1.58 src/lib/libc/net/getnameinfo.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libc/net
Module Name:src Committed By: christos Date: Thu Sep 10 11:33:27 UTC 2015 Modified Files: src/lib/libc/net: getaddrinfo.c Log Message: mke allocaddrinfo static. To generate a diff of this commit: cvs rdiff -u -r1.107 -r1.108 src/lib/libc/net/getaddrinfo.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libc/net
Module Name:src Committed By: christos Date: Thu Sep 3 15:01:19 UTC 2015 Modified Files: src/lib/libc/net: getnameinfo.c Log Message: PR/50195: Henning Petersen: Incorrect check in getnameinfo_link. To generate a diff of this commit: cvs rdiff -u -r1.56 -r1.57 src/lib/libc/net/getnameinfo.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libc/net
Module Name:src Committed By: joerg Date: Fri May 15 14:26:02 UTC 2015 Modified Files: src/lib/libc/net: getnameinfo.c Log Message: Don't create a weak alias in the !RUMPACTION case. To generate a diff of this commit: cvs rdiff -u -r1.55 -r1.56 src/lib/libc/net/getnameinfo.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libc/net
Module Name:src Committed By: wiz Date: Sun Jan 4 21:38:58 UTC 2015 Modified Files: src/lib/libc/net: nsdispatch.3 Log Message: Add more markup. To generate a diff of this commit: cvs rdiff -u -r1.32 -r1.33 src/lib/libc/net/nsdispatch.3 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libc/net
Module Name:src Committed By: christos Date: Sun Jan 4 16:06:29 UTC 2015 Modified Files: src/lib/libc/net: nsdispatch.3 Log Message: Correct API for the gethostby{name,addr} To generate a diff of this commit: cvs rdiff -u -r1.31 -r1.32 src/lib/libc/net/nsdispatch.3 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libc/net
Module Name:src Committed By: christos Date: Mon Nov 24 15:43:21 UTC 2014 Modified Files: src/lib/libc/net: base64.c Log Message: knf, no functional change. To generate a diff of this commit: cvs rdiff -u -r1.15 -r1.16 src/lib/libc/net/base64.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libc/net
Module Name:src Committed By: christos Date: Mon Nov 24 15:41:18 UTC 2014 Modified Files: src/lib/libc/net: base64.c Log Message: Don't read past the end when the data is exactly the right size. Reported by tedu @ openbsd in tech-userlevel. Thanks! To generate a diff of this commit: cvs rdiff -u -r1.14 -r1.15 src/lib/libc/net/base64.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libc/net
Module Name:src Committed By: christos Date: Thu Jun 19 15:09:07 UTC 2014 Modified Files: src/lib/libc/net: ethers.c Log Message: use fparseln() instead of fgetln() for consistency (this was the last fgetln() using parser in net/. cVS: -- To generate a diff of this commit: cvs rdiff -u -r1.23 -r1.24 src/lib/libc/net/ethers.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libc/net
Module Name:src Committed By: christos Date: Thu Jun 19 15:08:18 UTC 2014 Modified Files: src/lib/libc/net: gethnamaddr.c Log Message: use fparseln() instead of abusing fgetln(), so that the last line that might not have a terminating newline is processed. To generate a diff of this commit: cvs rdiff -u -r1.90 -r1.91 src/lib/libc/net/gethnamaddr.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libc/net
Module Name:src Committed By: christos Date: Wed May 28 14:39:02 UTC 2014 Modified Files: src/lib/libc/net: rcmd.c Log Message: CID 975111: Ignore return value from initgroups(). If we failed, then the failure would be that we could not open the .rhosts file so we fail closed. To generate a diff of this commit: cvs rdiff -u -r1.68 -r1.69 src/lib/libc/net/rcmd.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libc/net
Module Name:src Committed By: christos Date: Mon Mar 17 13:24:23 UTC 2014 Modified Files: src/lib/libc/net: sethostent.c Log Message: fix memory leak XXX: pullup 6 To generate a diff of this commit: cvs rdiff -u -r1.19 -r1.20 src/lib/libc/net/sethostent.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libc/net
Module Name:src Committed By: christos Date: Fri Feb 7 02:36:06 UTC 2014 Modified Files: src/lib/libc/net: ip6opt.c Log Message: RFC 3542 (section 10.1) states that optlen should only be checked when opt != NULL (Eitan Adler) To generate a diff of this commit: cvs rdiff -u -r1.14 -r1.15 src/lib/libc/net/ip6opt.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libc/net
Module Name:src Committed By: christos Date: Fri Jan 24 17:26:18 UTC 2014 Modified Files: src/lib/libc/net: gethnamaddr.c Log Message: CID 1163170, 1164171, resource leak CID 1161172 double free To generate a diff of this commit: cvs rdiff -u -r1.89 -r1.90 src/lib/libc/net/gethnamaddr.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libc/net
Module Name:src Committed By: drochner Date: Fri Jan 17 12:39:47 UTC 2014 Modified Files: src/lib/libc/net: gethnamaddr.c Log Message: fix memory allocation, and an off-by-one To generate a diff of this commit: cvs rdiff -u -r1.88 -r1.89 src/lib/libc/net/gethnamaddr.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libc/net
Module Name:src Committed By: christos Date: Fri Jan 17 02:08:44 UTC 2014 Modified Files: src/lib/libc/net: gethnamaddr.c Log Message: the addition is handled in the alias. To generate a diff of this commit: cvs rdiff -u -r1.87 -r1.88 src/lib/libc/net/gethnamaddr.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libc/net
Module Name:src Committed By: christos Date: Fri Jan 17 02:03:44 UTC 2014 Modified Files: src/lib/libc/net: gethnamaddr.c Log Message: Move more code into the macro, and fix the bug where realloc would cause a dangling pointer and memory corruption. To generate a diff of this commit: cvs rdiff -u -r1.86 -r1.87 src/lib/libc/net/gethnamaddr.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libc/net
Module Name:src Committed By: christos Date: Thu Jan 16 20:59:21 UTC 2014 Modified Files: src/lib/libc/net: gethnamaddr.c Log Message: Remove MAXALIASES limit To generate a diff of this commit: cvs rdiff -u -r1.85 -r1.86 src/lib/libc/net/gethnamaddr.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libc/net
Module Name:src Committed By: wiz Date: Sat Jan 4 15:37:46 UTC 2014 Modified Files: src/lib/libc/net: inet6_rth_space.3 Log Message: Sort sections. Remove trailing whitespace. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/lib/libc/net/inet6_rth_space.3 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libc/net
Module Name:src Committed By: wiz Date: Sat Jan 4 15:37:26 UTC 2014 Modified Files: src/lib/libc/net: inet6_opt_init.3 Log Message: Sort sections. Punctuation formatting nits. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/lib/libc/net/inet6_opt_init.3 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libc/net
Module Name:src Committed By: christos Date: Sun Dec 22 02:45:16 UTC 2013 Modified Files: src/lib/libc/net: gethnamaddr.c Log Message: - don't clobber hp in the RES_USE_INET6 case - increment naddrs in the yp case - don't use __hostalias(), it is not thread-safe. To generate a diff of this commit: cvs rdiff -u -r1.84 -r1.85 src/lib/libc/net/gethnamaddr.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libc/net
Module Name:src Committed By: christos Date: Sun Dec 22 02:40:48 UTC 2013 Modified Files: src/lib/libc/net: getaddrinfo.c Log Message: this is supposed to be re-entrant, call don't call __hostalias that uses a static buffer. To generate a diff of this commit: cvs rdiff -u -r1.105 -r1.106 src/lib/libc/net/getaddrinfo.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libc/net
Module Name:src Committed By: wiz Date: Thu Nov 14 00:13:41 UTC 2013 Modified Files: src/lib/libc/net: resolver.3 Log Message: Remove annoying comma and sort SEE ALSO. To generate a diff of this commit: cvs rdiff -u -r1.27 -r1.28 src/lib/libc/net/resolver.3 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libc/net
Module Name:src Committed By: christos Date: Wed Nov 13 23:58:51 UTC 2013 Modified Files: src/lib/libc/net: resolver.3 Log Message: PR/48379: mention kqueue functionality To generate a diff of this commit: cvs rdiff -u -r1.26 -r1.27 src/lib/libc/net/resolver.3 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libc/net
Module Name:src Committed By: wiz Date: Thu Oct 31 00:30:14 UTC 2013 Modified Files: src/lib/libc/net: inet6_getscopeid.3 Log Message: Try improving the description. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/lib/libc/net/inet6_getscopeid.3 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libc/net
Module Name:src Committed By: wiz Date: Sat Oct 19 23:34:48 UTC 2013 Modified Files: src/lib/libc/net: inet6_getscopeid.3 Log Message: Minor fixes. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/lib/libc/net/inet6_getscopeid.3 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libc/net
Module Name:src Committed By: christos Date: Sat Oct 19 19:56:56 UTC 2013 Modified Files: src/lib/libc/net: Makefile.inc Added Files: src/lib/libc/net: inet6_getscopeid.3 Log Message: document the scopeid functions To generate a diff of this commit: cvs rdiff -u -r1.84 -r1.85 src/lib/libc/net/Makefile.inc cvs rdiff -u -r0 -r1.1 src/lib/libc/net/inet6_getscopeid.3 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libc/net
Module Name:src Committed By: christos Date: Sat Oct 19 15:47:02 UTC 2013 Modified Files: src/lib/libc/net: inet6_scopeid.c Log Message: use new constants To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/lib/libc/net/inet6_scopeid.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libc/net
Module Name:src Committed By: christos Date: Sat Oct 19 00:08:34 UTC 2013 Modified Files: src/lib/libc/net: Makefile.inc Added Files: src/lib/libc/net: inet6_scopeid.c Log Message: add inet6_scopeid To generate a diff of this commit: cvs rdiff -u -r1.83 -r1.84 src/lib/libc/net/Makefile.inc cvs rdiff -u -r0 -r1.1 src/lib/libc/net/inet6_scopeid.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libc/net
Module Name:src Committed By: christos Date: Tue Aug 27 09:56:12 UTC 2013 Modified Files: src/lib/libc/net: gethnamaddr.c hostent.h sethostent.c Log Message: move the host file getbyname and getbyaddr functions to sethostent.c so that they are in a separate file from the dns ones in order for libhack to use them. To generate a diff of this commit: cvs rdiff -u -r1.83 -r1.84 src/lib/libc/net/gethnamaddr.c cvs rdiff -u -r1.1 -r1.2 src/lib/libc/net/hostent.h cvs rdiff -u -r1.18 -r1.19 src/lib/libc/net/sethostent.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libc/net
Module Name:src Committed By: christos Date: Thu Aug 22 10:04:28 UTC 2013 Modified Files: src/lib/libc/net: gethnamaddr.c Log Message: get rid of bogus + 1 To generate a diff of this commit: cvs rdiff -u -r1.82 -r1.83 src/lib/libc/net/gethnamaddr.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libc/net
Module Name:src Committed By: wiz Date: Sun Aug 18 10:40:06 UTC 2013 Modified Files: src/lib/libc/net: getnameinfo.3 Log Message: Update comment. To generate a diff of this commit: cvs rdiff -u -r1.40 -r1.41 src/lib/libc/net/getnameinfo.3 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libc/net
Module Name:src Committed By: christos Date: Sun Aug 18 10:00:58 UTC 2013 Modified Files: src/lib/libc/net: getnameinfo.3 Log Message: getnameinfo is now thread-safe so remove bugs section. To generate a diff of this commit: cvs rdiff -u -r1.39 -r1.40 src/lib/libc/net/getnameinfo.3 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libc/net
Module Name:src Committed By: christos Date: Sun Aug 18 09:57:16 UTC 2013 Modified Files: src/lib/libc/net: gethnamaddr.c Log Message: appease lint. To generate a diff of this commit: cvs rdiff -u -r1.80 -r1.81 src/lib/libc/net/gethnamaddr.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libc/net
Module Name:src Committed By: christos Date: Fri Aug 16 15:27:12 UTC 2013 Modified Files: src/lib/libc/net: gethnamaddr.c getnameinfo.c sethostent.c Added Files: src/lib/libc/net: hostent.h Log Message: Add not advertised reentrant functions: {get,set,end}hostent_r, gethostbyname{,2}_r, gethostbyaddr_r. Make getnameinfo(3) use gethostbyaddr_r(3) so it is re-entrant (ahem __ypdomain). These are not being advertised because there is a bunch of different implementation of them that have a variety of type signatures. If people want to follow someone's implementation, it is now easy. To generate a diff of this commit: cvs rdiff -u -r1.79 -r1.80 src/lib/libc/net/gethnamaddr.c cvs rdiff -u -r1.53 -r1.54 src/lib/libc/net/getnameinfo.c cvs rdiff -u -r0 -r1.1 src/lib/libc/net/hostent.h cvs rdiff -u -r1.17 -r1.18 src/lib/libc/net/sethostent.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libc/net
Module Name:src Committed By: christos Date: Mon May 13 17:54:55 UTC 2013 Modified Files: src/lib/libc/net: getaddrinfo.c Log Message: CVE 1020946: Fix res leak. To generate a diff of this commit: cvs rdiff -u -r1.104 -r1.105 src/lib/libc/net/getaddrinfo.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libc/net
Module Name:src Committed By: christos Date: Mon May 13 13:59:39 UTC 2013 Modified Files: src/lib/libc/net: getaddrinfo.c Log Message: CVE 1020938: Fix memory leak To generate a diff of this commit: cvs rdiff -u -r1.103 -r1.104 src/lib/libc/net/getaddrinfo.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libc/net
Module Name:src Committed By: wiz Date: Wed May 8 18:18:32 UTC 2013 Modified Files: src/lib/libc/net: resolver.3 Log Message: New sentence, new line. Fix minus. Avoid <>. Remove trailing whitespace. To generate a diff of this commit: cvs rdiff -u -r1.25 -r1.26 src/lib/libc/net/resolver.3 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libc/net
Module Name:src Committed By: christos Date: Wed May 8 18:06:46 UTC 2013 Modified Files: src/lib/libc/net: resolver.3 Log Message: Clarify which functions are only in libresolv. To generate a diff of this commit: cvs rdiff -u -r1.24 -r1.25 src/lib/libc/net/resolver.3 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libc/net
Module Name:src Committed By: wiz Date: Fri May 3 21:13:34 UTC 2013 Modified Files: src/lib/libc/net: getaddrinfo.3 Log Message: New sentence, new line. To generate a diff of this commit: cvs rdiff -u -r1.56 -r1.57 src/lib/libc/net/getaddrinfo.3 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libc/net
Module Name:src Committed By: christos Date: Fri May 3 19:34:55 UTC 2013 Modified Files: src/lib/libc/net: getaddrinfo.3 Log Message: document AI_SRV To generate a diff of this commit: cvs rdiff -u -r1.55 -r1.56 src/lib/libc/net/getaddrinfo.3 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libc/net
Module Name:src Committed By: christos Date: Fri May 3 19:31:13 UTC 2013 Modified Files: src/lib/libc/net: getaddrinfo.c Log Message: PR/32373, PR/25827: Add SRV lookup in getaddrinfo(3) Per DNS-SD (RFC 2782), but only enabled if AI_SRV is set. To generate a diff of this commit: cvs rdiff -u -r1.102 -r1.103 src/lib/libc/net/getaddrinfo.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libc/net
Module Name:src Committed By: christos Date: Fri May 3 19:24:53 UTC 2013 Modified Files: src/lib/libc/net: getaddrinfo.c Log Message: KNF, whitespace police -- no code changes To generate a diff of this commit: cvs rdiff -u -r1.101 -r1.102 src/lib/libc/net/getaddrinfo.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libc/net
Module Name:src Committed By: wiz Date: Sun Apr 7 23:12:36 UTC 2013 Modified Files: src/lib/libc/net: getifaddrs.3 Log Message: Remove trailing whitespace. To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14 src/lib/libc/net/getifaddrs.3 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libc/net
Module Name:src Committed By: christos Date: Sun Apr 7 22:54:26 UTC 2013 Modified Files: src/lib/libc/net: getifaddrs.3 Log Message: Add a small example. To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13 src/lib/libc/net/getifaddrs.3 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libc/net
Module Name:src Committed By: martin Date: Thu Dec 27 07:08:59 UTC 2012 Modified Files: src/lib/libc/net: Makefile.inc Log Message: Avoid gcc 4.5.3 compiler bug on ia64 by compiling hesiod.c with -O1 only. To generate a diff of this commit: cvs rdiff -u -r1.81 -r1.82 src/lib/libc/net/Makefile.inc Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libc/net
Module Name:src Committed By: christos Date: Wed Nov 7 15:48:13 UTC 2012 Modified Files: src/lib/libc/net: resolver.3 Log Message: fix outdated includes list. To generate a diff of this commit: cvs rdiff -u -r1.23 -r1.24 src/lib/libc/net/resolver.3 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libc/net
Module Name:src Committed By: christos Date: Wed Sep 26 23:13:00 UTC 2012 Modified Files: src/lib/libc/net: getnameinfo.3 getnameinfo.c Log Message: add and document AF_LOCAL (and the rest that were not) To generate a diff of this commit: cvs rdiff -u -r1.38 -r1.39 src/lib/libc/net/getnameinfo.3 cvs rdiff -u -r1.52 -r1.53 src/lib/libc/net/getnameinfo.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libc/net
Module Name:src Committed By: christos Date: Sun Sep 9 16:42:23 UTC 2012 Modified Files: src/lib/libc/net: gethnamaddr.c Log Message: implement no-check-names To generate a diff of this commit: cvs rdiff -u -r1.78 -r1.79 src/lib/libc/net/gethnamaddr.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libc/net
Module Name:src Committed By: martin Date: Fri Jun 8 07:54:14 UTC 2012 Modified Files: src/lib/libc/net: getaddrinfo.c Log Message: Henning Petersen in PR lib/46561: cosmetic change: avoid self assignement. To generate a diff of this commit: cvs rdiff -u -r1.100 -r1.101 src/lib/libc/net/getaddrinfo.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libc/net
Module Name:src Committed By: kardel Date: Tue Mar 20 12:04:01 UTC 2012 Modified Files: src/lib/libc/net: getaddrinfo.c Log Message: PR pkg/46206 re-establish fqdn lookup when AI_ADDRCONFIG is used in hints AI_ADDRCONFIG led to fqdn lookup being skipped as the systems didn't configure any PF_UNSPEC addresses - check was too strict here. Thnaks to Ryo ONODERA for testing. To generate a diff of this commit: cvs rdiff -u -r1.99 -r1.100 src/lib/libc/net/getaddrinfo.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libc/net
Module Name:src Committed By: kardel Date: Tue Mar 20 10:34:33 UTC 2012 Modified Files: src/lib/libc/net: getaddrinfo.c Log Message: PR 46206: fix programmed SIGSEGV more work is needed as tests seem to indicate that name resolution now does no seem to work (firefox reports Server not found) thanks to Ryo ONODERA for testing. To generate a diff of this commit: cvs rdiff -u -r1.98 -r1.99 src/lib/libc/net/getaddrinfo.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libc/net
Module Name:src Committed By: christos Date: Sat Mar 17 21:56:41 UTC 2012 Modified Files: src/lib/libc/net: getaddrinfo.c Log Message: Add AI_ADDRCONFIG, which makes getaddrinfo() return only address with families that are already configured in the system. To generate a diff of this commit: cvs rdiff -u -r1.97 -r1.98 src/lib/libc/net/getaddrinfo.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libc/net
Module Name:src Committed By: christos Date: Sun Mar 4 03:23:37 UTC 2012 Modified Files: src/lib/libc/net: getnameinfo.3 Log Message: fix signature according to TOG. To generate a diff of this commit: cvs rdiff -u -r1.37 -r1.38 src/lib/libc/net/getnameinfo.3 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libc/net
Module Name:src Committed By: tsutsui Date: Sun Dec 25 12:32:36 UTC 2011 Modified Files: src/lib/libc/net: Makefile.inc Log Message: Apply fix for previous changes per request from joerg@: http://mail-index.NetBSD.org/source-changes-d/2011/12/25/msg004454.html XXX1: More Makefiles should be fixed otherwise they will be copy-and-pasted blindly again and again. XXX2: Probably we need more explicit and simple macro to check active CC. To generate a diff of this commit: cvs rdiff -u -r1.79 -r1.80 src/lib/libc/net/Makefile.inc Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libc/net
Module Name:src Committed By: tsutsui Date: Sat Dec 24 04:59:00 UTC 2011 Modified Files: src/lib/libc/net: Makefile.inc Log Message: Specify "-fno-tree-ter" to getaddrinfo.c and gethnamaddr.c on arm and gcc45 for workaround of a possible optimazation bug. On my W-ZERO3 and Zaurus, hostname lookup against CNAME by some commands (ping(8), ftp(1) etc.) fails even though nslookup(8) returns a proper name against the same CNAME, after NetBSD/arm ports has been switched to gcc 4.5 since 201110311420Z (i.e 20111031Z binaries worked but 2001Z ones not). Building getaddrinfo.c and gethnamaddr.c in libc with "-O2 -fno-tree-ter" (or using objects built by old gcc 4.1) seems to fix this issue. Accroding to nonaka@, the following gcc bugzilla test case also fails with -O2 but works with -O2 -fno-tree-ter on NetBSD/zaurus 5.99.57: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48863#c4 but CNAME lookup didn't fail on his environment even without this workaround. To generate a diff of this commit: cvs rdiff -u -r1.78 -r1.79 src/lib/libc/net/Makefile.inc Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.