freebsd-skq/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
eui64.3
eui64.c
gai_strerror.3
gai_strerror.c
getaddrinfo.3
getaddrinfo.c libc: Use SOCK_CLOEXEC for various internal file descriptors. 2013-09-06 21:02:06 +00:00
gethostbydns.c
gethostbyht.c
gethostbyname.3
gethostbynis.c
gethostnamadr.c
getifaddrs.3
getifaddrs.c
getifmaddrs.3
getifmaddrs.c
getipnodebyname.3
getnameinfo.3
getnameinfo.c
getnetbydns.c
getnetbyht.c
getnetbynis.c
getnetent.3
getnetnamadr.c
getproto.c
getprotoent.3
getprotoent.c
getprotoname.c
getservent.3
getservent.c
hesiod.3
hesiod.c
if_indextoname.3
if_indextoname.c
if_nameindex.c
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
inet6_rthdr_space.3
inet_net.3
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
nsdispatch.c
nslexer.l
nsparser.y
nss_backends.h
nss_compat.c
ntoh.c
rcmd.3
rcmd.c
rcmdsh.3
rcmdsh.c
recv.c
res_config.h
resolver.3
rthdr.c
sctp_bindx.3
sctp_connectx.3
sctp_freepaddrs.3
sctp_getaddrlen.3
sctp_getassocid.3
sctp_getpaddrs.3
sctp_opt_info.3
sctp_recvmsg.3
sctp_send.3
sctp_sendmsg.3
sctp_sys_calls.c Fix several bugs in sctp_bindx(): 2014-01-04 11:39:59 +00:00
send.c
sockatmark.3
sockatmark.c
sourcefilter.3
sourcefilter.c
Symbol.map
vars.c