Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | To allow us to get rid of /etc/networks, make setnetent(3), | schwarze | 2018-04-28 | 1 | -75/+4 |
| | | | | | | getnetent(3), and endnetent(3) do nothing, just like sethostent(3), gethostent(3), and endhostent(3) years ago. OK deraadt@ guenther@ | ||||
* | Use ">", not ">=" when comparing length to HOST_NAME_MAX since | millert | 2015-01-16 | 1 | -3/+3 |
| | | | | | otherwise we end up needlessly replacing a NUL with a NUL. OK deraadt@ | ||||
* | Replace HOST_NAME_MAX+1-1 with HOST_NAME_MAX. OK deraad@ | millert | 2015-01-16 | 1 | -5/+5 |
| | |||||
* | Move to the <limits.h> universe. | deraadt | 2015-01-16 | 1 | -6/+6 |
| | | | | review by millert, binary checking process with doug, concept with guenther | ||||
* | When fopen()ing internal to libc (the API doesn't support the use | guenther | 2014-09-15 | 1 | -3/+3 |
| | | | | | | | of the resulting FILE *), then pass fopen() the 'e' mode letter to mark it close-on-exec. ok miod@ | ||||
* | Do not pick the network number as alias on entries with no alias | eric | 2012-04-10 | 1 | -3/+2 |
| | | | | | | defined. ok deraadt@ | ||||
* | Include <sys/param.h> instead of <sys/types.h> so we get MAXHOSTNAMELEN | millert | 2006-01-17 | 1 | -2/+2 |
| | |||||
* | zap rcsid. | espie | 2005-08-06 | 1 | -4/+1 |
| | | | | | | | split functions off res_debug.c so that getnetnamadr.c does not pull it all when it's used. okay deraadt@, krw@ | ||||
* | ansify. ok deraadt@ moritz@ | otto | 2005-03-25 | 1 | -5/+4 |
| | |||||
* | Remove the advertising clause in the UCB license which Berkeley | millert | 2003-06-02 | 1 | -6/+2 |
| | | | | rescinded 22 July 1999. Proofed by myself and Theo. | ||||
* | Use fgetln(3) instead of fgets(3) so we can easily recognize lines | millert | 1998-03-16 | 1 | -9/+12 |
| | | | | that are too long and ignore them instead of corrupting later entries. | ||||
* | Revert last change | tholo | 1997-04-24 | 1 | -2/+2 |
| | |||||
* | add htonl() | kstailey | 1997-04-03 | 1 | -2/+2 |
| | |||||
* | constrain to MAXHOSTNAMELEN | deraadt | 1996-09-03 | 1 | -2/+7 |
| | |||||
* | Fix RCS ids | tholo | 1996-08-19 | 1 | -7/+1 |
| | | | | Make sure everything uses {SYS,}LIBC_SCCS properly | ||||
* | netbsd: bind 4.9.3 | dm | 1996-02-19 | 1 | -13/+12 |
| | |||||
* | from netbsd: | deraadt | 1996-01-15 | 1 | -12/+13 |
| | | | | | Don't read the network address as an alias when there isn't whitespace after the network address. Closes PR 1940. | ||||
* | initial import of NetBSD tree | deraadt | 1995-10-18 | 1 | -0/+127 |