Commit Graph

32 Commits

Author SHA1 Message Date
ginsbach
8a9d1a0f53 - Further clarify differences between inet_pton() and inet_aton()
(i.e. the former only accepts decimal numbers; no octal or hex)
- Clarify that inet_network() does not do byte rearrangement for one,
  two, and three part dotted addresses ala inet_aton() and inet_addr().
- whitespace
2012-07-25 14:51:15 +00:00
wiz
4fe6953778 Whitespace fixes. 2012-07-20 20:48:59 +00:00
ginsbach
02704af418 - Add an ERRORS section rather than incompletely documenting the
possible errno values in the DESCRIPTION section.
2012-07-20 19:44:39 +00:00
ginsbach
507b3f0fc0 - Add ERRORS section covering errno values set by inet_ntop() and
inet_pton()
2012-07-20 19:18:08 +00:00
ginsbach
cf882f9583 - Use .Vt for variable types outside the SYNOPSIS section rather than .Ft
- Use .Fn for function names outside the NAME section rather than .Nm
2012-07-20 14:25:38 +00:00
ginsbach
d91627e978 - Use .Vt for variable types outside the SYNOPSIS section rather than .Ft
- Use .Fn for function names outside the NAME section rather than .Nm
- Mark NULL as a defined value (.Dv)
- New sentence new line
- Don't start sentences with an arugment name
- Use \- rather than a bare - for a minus sign
- Spelling: rightmost
- Stray whitespace
  (Most changes from FreeBSD)
2012-07-20 13:40:58 +00:00
abs
9e66e6d75e Update old-style definitions to ANSI, remove a couple of register
definitions along the way. Fixed gcc 4.1 build (thank you vax)
2012-06-25 22:32:43 +00:00
matt
1f0437222e Use C89 definitions 2012-03-20 17:08:13 +00:00
christos
c5e820cae4 PR/45989: Martin Husemann: lint invocation does include -w only on i386
- turn lint -w for all the platforms after fixing the lint warnings.
- add _DIAGASSERTS() for casts that would assign values to types that
  would not fit.
- change types, add casts
- change into ansii prototypes
- turn on _DIAGNOSTIC for libc (during current, to be eliminated for release
  builds)

approved by core@
2012-03-13 21:13:30 +00:00
christos
4e692bff8b document what size is. 2011-09-22 18:21:58 +00:00
christos
ce009e37f0 Check bits on each loop to prevent integer oveflow.
Reported by Maksymilian Arciemowicz
2011-03-06 16:00:20 +00:00
joerg
1c3412fa2f Use .In for header files instead of .Ar Pa and variations. 2010-03-22 19:30:53 +00:00
christos
59a755a40f merge libbind and bump. 2009-04-12 17:07:16 +00:00
lukem
53e9163a95 sign-compare fix 2009-02-07 07:25:22 +00:00
christos
7ea3b31b66 PR/39519: Nozomu Ando: Fix incorrect change from bind9 that broke IPv4 mapped
addresses.
2008-09-11 15:40:43 +00:00
christos
3873655b27 updates from bind-9-5-0 2008-06-21 20:41:48 +00:00
martin
11a6dbe728 Convert TNF licenses to new 2 clause variant 2008-04-30 13:10:46 +00:00
christos
8c03790350 remove redundant check. 2008-01-20 04:56:08 +00:00
ginsbach
0d03389c52 Treat input "0x" as invalid and return INADDR_NONE. Inspired by
FreeBSD-PR 92880.
2008-01-19 03:46:52 +00:00
christos
4e783482fa Fix off-by-one buffer overflow. VU#203611, CVE-2008-0122 2008-01-18 16:20:57 +00:00
ghen
225c5452c3 Resolve conflicts. 2007-03-30 20:23:03 +00:00
christos
d73eb73dc8 merge in resolver portion of bind-9.4.0-rc2 2007-01-27 22:26:43 +00:00
lukem
fa373d4d88 Use NS_INT16SZ instead of INT16SZ 2006-09-26 05:59:18 +00:00
mrg
084c052803 quell GCC 4.1 uninitialised variable warnings.
XXX: we should audit the tree for which old ones are no longer needed
after getting the older compilers out of the tree..
2006-05-10 21:53:14 +00:00
perry
fd18408b9a u_intN_t -> uintN_t 2005-12-26 19:40:14 +00:00
christos
e5548b402a Use reach-over sources from common/lib/libc 2005-12-20 19:31:47 +00:00
christos
5b84b3983f compat core reorg. 2005-09-13 01:44:08 +00:00
christos
86741d79ab - Fix the remaining indr_references so that they define lint symbols.
- Add an internal symbol for strerror_r (thanks klaus for noticing)
- Remove internal __strerror
2005-07-30 15:21:20 +00:00
lukem
88c3eadbfa Add missing __RCSID() 2005-06-12 05:21:25 +00:00
christos
3fa54233f6 Add the remaining files from net that are going to be moved here and
the Makefile glue.
2004-05-20 23:13:02 +00:00
christos
df0952c6d2 - merge in our newer and better changes
- pass lint
- XXX: need to get rid of SPRINTF() macro
2004-05-20 23:12:33 +00:00
christos
39e7bb7142 import the parts of the bind9 lib/bind/inet directory directory that we
use.
2004-05-20 22:29:02 +00:00