87ff25049c
Mark unhittable lines
...
Add comments for the benefit of the lcov tool, marking
lines that cannot be hit. Typically these are fall-back
protection arms that are already covered by earlier checks,
and so it's not worth taking out the unhittable code (in case
someone changes the code between the two places in future).
2016-02-02 10:05:07 +00:00
cf7ad9758d
ares_inet_pton/ntop: cleanup
...
Make sure that the symbols are always exported and present in c-ares.
Make the headers prefixed with 'ares'.
Removed the inet_ntop.h version as it no longer features any content.
2013-02-17 17:44:02 +01:00
0c677f578e
setup_once.h: refactor inclusion of <unistd.h> and <sys/socket.h>
...
Inclusion of these two header files now done in setup_once.h
2012-12-14 18:36:59 +01:00
a1035276c1
Header inclusion clean-up
...
Remove header inclusions already done in setup_once.h
2012-12-14 18:25:56 +01:00
8c503ddf79
System's errno.h inclusion cleanup.
...
System's errno.h is conditionally included from setup_once.h
2011-03-22 14:02:23 +01:00
39d7f64361
getv4: Value stored to 'dst' is never read
2010-12-27 13:13:19 +01:00
f5e0858d2f
fix compiler warning: conversion may lose significant bits
2010-12-16 17:18:57 +01:00
e03a65c3d9
ares_inet_net_pton: fix non-rejection of some malformed literals
...
ares_inet_net_pton would return wrong values when excessively large,
and invalid, netmasks are used. Fixes are from bind-9.5.3rc1,
issue also described in the WLB-2008080064 advisory.
2010-12-15 02:44:07 +01:00
623f3cb531
configure: inet_net_pton function check adjustments
...
Define HAVE_INET_NET_PTON only when system's inet_net_pton function is IPv6
capable and is not affected by the WLB-2008080064 advisory.
HAVE_INET_NET_PTON_IPV6 is no longer defined nor used.
2010-12-15 02:22:04 +01:00
e9e8b6e864
inet_pton: fix compiler warning
2010-11-25 02:19:36 +01:00
3e33e2c2ba
ipv6: Fix some build issues related to the local-bind feature.
...
Signed-off-by: Ben Greear <greearb@candelatech.com >
2010-07-29 22:31:56 -07:00
63627fa5ab
remove all $Id$ lines
2010-03-27 19:42:02 +01:00
8fe746fcf2
Added IPv6 name servers support
2010-03-05 20:01:47 +00:00
a82a8fbf82
Renamed c-ares setup.h to ares_setup.h
2009-11-02 11:55:53 +00:00
590e697792
Fix compiler warning
2009-10-09 14:06:38 +00:00
5ca18d6d80
HAVE_INET_PTON will only be defined when an IPv6 capable working
...
inet_pton function is available.
2008-09-24 19:13:01 +00:00
f214b583f5
adjust inclusion of "nameser.h"
2008-09-17 01:02:57 +00:00
a627160041
Removed inclusion of <sys/types.h> in .c-files
...
since it's already included through "setup.h".
2007-02-26 04:33:19 +00:00
69fa447354
use macros ERRNO, SET_ERRNO(), SOCKERRNO and SET_SOCKERRNO() for errno handling
2007-02-16 15:04:44 +00:00
2bd57a6d30
use our own ISUPPER and ISLOWER macros
2007-02-13 18:02:20 +00:00
fb38ee15e2
compiler warning fix
2007-02-01 01:42:13 +00:00
dd3b42e1ac
Replace is*() macros with our own IS*() ones.
...
Get rid of non ANSI/ISO isascii().
2006-10-18 03:42:06 +00:00
0a83c1e416
2nd try adding CVS id.
2006-07-22 15:37:10 +00:00
f6e7395ca0
Added CVS id.
2006-07-22 15:21:13 +00:00
af3a246f32
indented source to look more like other ares code,
...
added (somewhat ugly) typecasts to build warning-free on 64bit platforms (the
result of a (char *) - (char *) cannot be stored in an int universally)
2005-04-19 23:36:21 +00:00
f2058d6a9f
add needed include
2005-04-15 21:51:46 +00:00
9b33259b5e
Removed usage of u_int and u_char
2005-04-09 23:46:31 +00:00
e10e4843c6
moved the *_inet_pton protos to inet_net_pton.h instead
2005-04-06 14:02:37 +00:00
3d90cb252b
with these changes, it builds on my win32 cross-compiler
2005-04-05 20:20:14 +00:00
ffb4cf5554
Provided implementations of inet_net_pton and inet_pton from BIND for systems that do not include these functions. These will be necessary for CIDR support and IPv6 support.
2005-04-05 18:26:55 +00:00