freebsd-nq/lib/libc/net
Julio Merino 76a1f42f3f Make ether_line really report an error when all input is invalid.
The previous code failed to return an error condition when the whole input
was invalid due to improper handling of the sscanf return value.  Actually,
this failure was properly being caught by a test in
tools/regression/lib/libc/net/test-ether.t but was not noticed because
these tests are never run.  (On my way to fixing that ;-)

The fix applied here resembles the implementation of ether_line in NetBSD
modulo the setting of an errno value (which is not documented as an
expectation in the manpage anyway).
2014-03-12 12:27:13 +00:00
..
base64.c
byteorder.3
ether_addr.c Make ether_line really report an error when all input is invalid. 2014-03-12 12:27:13 +00:00
ethers.3 Fix a pathname (s,netinet/if_ether.h,net/ethernet.h,). 2011-08-08 03:09:03 +00:00
eui64.3 eui64_aton and eui64_ntoa are actually the equivalent of ether_aton_r and 2012-02-08 11:30:13 +00:00
eui64.c libc: Make various internal file descriptors from fopen() close-on-exec. 2013-08-23 13:59:47 +00:00
gai_strerror.3
gai_strerror.c
getaddrinfo.3 Update references. 2013-07-09 08:23:43 +00:00
getaddrinfo.c libc: Use SOCK_CLOEXEC for various internal file descriptors. 2013-09-06 21:02:06 +00:00
gethostbydns.c Correct the return code from _dns_gethostby*() to correspond 2010-08-15 16:28:08 +00:00
gethostbyht.c libc: Make various internal file descriptors from fopen() close-on-exec. 2013-08-23 13:59:47 +00:00
gethostbyname.3 Consistently use 'af' as an argument name for address family. 2013-08-18 10:38:59 +00:00
gethostbynis.c Replace index() and rindex() calls with strchr() and strrchr(). 2012-01-03 18:51:58 +00:00
gethostnamadr.c - When there is no room for returning the result, nss backend 2010-08-13 06:39:54 +00:00
getifaddrs.3 Update manpages for r250887. 2013-05-21 21:39:18 +00:00
getifaddrs.c Switch getifaddrs(3) to the new API introduced in r231505. Also remove 2012-02-11 06:05:40 +00:00
getifmaddrs.3 Update manpages for r250887. 2013-05-21 21:39:18 +00:00
getifmaddrs.c Switch to 2-clause license and standard text 2013-06-06 21:09:27 +00:00
getipnodebyname.3 mdoc: correct .Bd/.Bl arguments. 2012-03-26 21:22:53 +00:00
getnameinfo.3 Update references. 2013-07-09 08:23:43 +00:00
getnameinfo.c
getnetbydns.c - When there is no room for returning the result, nss backend 2010-08-13 06:39:54 +00:00
getnetbyht.c libc: Make various internal file descriptors from fopen() close-on-exec. 2013-08-23 13:59:47 +00:00
getnetbynis.c Replace index() and rindex() calls with strchr() and strrchr(). 2012-01-03 18:51:58 +00:00
getnetent.3 - the preferred way to write a NULL pointer constant is with NULL 2012-11-16 15:02:35 +00:00
getnetnamadr.c - When there is no room for returning the result, nss backend 2010-08-13 06:39:54 +00:00
getproto.c When no protocol entry is found, getproto*_r(3) should 2010-10-05 15:40:59 +00:00
getprotoent.3 - the preferred way to write a NULL pointer constant is with NULL 2012-11-16 15:02:35 +00:00
getprotoent.c libc: Make various internal file descriptors from fopen() close-on-exec. 2013-08-23 13:59:47 +00:00
getprotoname.c When no protocol entry is found, getproto*_r(3) should 2010-10-05 15:40:59 +00:00
getservent.3 - the preferred way to write a NULL pointer constant is with NULL 2012-11-16 15:02:35 +00:00
getservent.c libc: Make various internal file descriptors from fopen() close-on-exec. 2013-08-23 13:59:47 +00:00
hesiod.3
hesiod.c libc: Make various internal file descriptors from fopen() close-on-exec. 2013-08-23 13:59:47 +00:00
if_indextoname.3
if_indextoname.c Use the LLINDEX macro to access the link-level I/F index. This makes 2012-05-19 02:39:43 +00:00
if_nameindex.c Use the LLINDEX macro to access the link-level I/F index. This makes 2012-05-19 02:39:43 +00:00
if_nametoindex.c libc: Use SOCK_CLOEXEC for various internal file descriptors. 2013-09-06 21:02:06 +00:00
inet6_opt_init.3
inet6_option_space.3
inet6_rth_space.3 Fix typos, spelling, formatting and mdoc mistakes found by Nobuyuki while 2010-08-16 15:18:30 +00:00
inet6_rthdr_space.3
inet_net.3 Remove superfluous paragraph macro. 2012-03-25 12:13:24 +00:00
inet.3
ip6opt.c libc/net: fix a portability issue 2014-02-05 02:00:31 +00:00
linkaddr.3
linkaddr.c
Makefile.inc Replace use of ${.CURDIR} by ${LIBC_SRCTOP} and define ${LIBC_SRCTOP} 2014-03-04 02:19:39 +00:00
map_v4v6.c
name6.c libc: Use SOCK_CLOEXEC for various internal file descriptors. 2013-09-06 21:02:06 +00:00
netdb_private.h
nscache.c
nscachedcli.c libc: Use SOCK_CLOEXEC for various internal file descriptors. 2013-09-06 21:02:06 +00:00
nsdispatch.3 mdoc: avoid unterminated quoted strings. 2012-05-13 14:28:00 +00:00
nsdispatch.c libc: Make various internal file descriptors from fopen() close-on-exec. 2013-08-23 13:59:47 +00:00
nslexer.l Remove clause 3 and 4 from TNF licenses 2013-05-29 01:54:10 +00:00
nsparser.y Remove clause 3 and 4 from TNF licenses 2013-05-29 01:54:10 +00:00
nss_backends.h
nss_compat.c
ntoh.c
rcmd.3
rcmd.c libc: Make various internal file descriptors from fopen() close-on-exec. 2013-08-23 13:59:47 +00:00
rcmdsh.3
rcmdsh.c
recv.c Make recv() and send() cancellation points, as required by POSIX. 2013-06-09 14:31:59 +00:00
res_config.h
resolver.3
rthdr.c
sctp_bindx.3 Remove the advertising clause from the Regents of the University of 2013-05-28 20:37:48 +00:00
sctp_connectx.3 Remove the advertising clause from the Regents of the University of 2013-05-28 20:37:48 +00:00
sctp_freepaddrs.3 Remove the advertising clause from the Regents of the University of 2013-05-28 20:37:48 +00:00
sctp_getaddrlen.3 Remove the advertising clause from the Regents of the University of 2013-05-28 20:37:48 +00:00
sctp_getassocid.3 Remove the advertising clause from the Regents of the University of 2013-05-28 20:37:48 +00:00
sctp_getpaddrs.3 Remove the advertising clause from the Regents of the University of 2013-05-28 20:37:48 +00:00
sctp_opt_info.3 Remove the advertising clause from the Regents of the University of 2013-05-28 20:37:48 +00:00
sctp_recvmsg.3 Remove the advertising clause from the Regents of the University of 2013-05-28 20:37:48 +00:00
sctp_send.3 Remove the advertising clause from the Regents of the University of 2013-05-28 20:37:48 +00:00
sctp_sendmsg.3 Remove the advertising clause from the Regents of the University of 2013-05-28 20:37:48 +00:00
sctp_sys_calls.c Fix several bugs in sctp_bindx(): 2014-01-04 11:39:59 +00:00
send.c Make recv() and send() cancellation points, as required by POSIX. 2013-06-09 14:31:59 +00:00
sockatmark.3
sockatmark.c
sourcefilter.3 General mdoc(7) and typo fixes. 2012-05-11 20:06:46 +00:00
sourcefilter.c Use the LLINDEX macro to access the link-level I/F index. This makes 2012-05-19 02:39:43 +00:00
Symbol.map Move sctp_sendv and sctp_recvv to FBSD_1.3 as suggested by 2012-04-26 19:56:06 +00:00
vars.c