History log of /openbsd-src/lib/libc/net/getnetent.c (Results 1 – 18 of 18)
Revision Date Author Comments
# 43cc0616 28-Apr-2018 schwarze <schwarze@openbsd.org>

To allow us to get rid of /etc/networks, make setnetent(3),
getnetent(3), and endnetent(3) do nothing, just like sethostent(3),
gethostent(3), and endhostent(3) years ago.
OK deraadt@ guenther@


# 8e029146 16-Jan-2015 millert <millert@openbsd.org>

Use ">", not ">=" when comparing length to HOST_NAME_MAX since
otherwise we end up needlessly replacing a NUL with a NUL.
OK deraadt@


# 8cdb393c 16-Jan-2015 millert <millert@openbsd.org>

Replace HOST_NAME_MAX+1-1 with HOST_NAME_MAX. OK deraad@


# aea60bee 16-Jan-2015 deraadt <deraadt@openbsd.org>

Move to the <limits.h> universe.
review by millert, binary checking process with doug, concept with guenther


# 241db059 15-Sep-2014 guenther <guenther@openbsd.org>

When fopen()ing internal to libc (the API doesn't support the use
of the resulting FILE *), then pass fopen() the 'e' mode letter to
mark it close-on-exec.

ok miod@


# 1f19f088 10-Apr-2012 eric <eric@openbsd.org>

Do not pick the network number as alias on entries with no alias
defined.

ok deraadt@


# 4b53d480 17-Jan-2006 millert <millert@openbsd.org>

Include <sys/param.h> instead of <sys/types.h> so we get MAXHOSTNAMELEN


# 0038de2c 06-Aug-2005 espie <espie@openbsd.org>

zap rcsid.
split functions off res_debug.c so that getnetnamadr.c does not pull it
all when it's used.

okay deraadt@, krw@


# db5b349c 25-Mar-2005 otto <otto@openbsd.org>

ansify. ok deraadt@ moritz@


# 6580fee3 02-Jun-2003 millert <millert@openbsd.org>

Remove the advertising clause in the UCB license which Berkeley
rescinded 22 July 1999. Proofed by myself and Theo.


# aff2b1e4 16-Mar-1998 millert <millert@openbsd.org>

Use fgetln(3) instead of fgets(3) so we can easily recognize lines
that are too long and ignore them instead of corrupting later entries.


# 13f60ddb 24-Apr-1997 tholo <tholo@openbsd.org>

Revert last change


# a9bab260 03-Apr-1997 kstailey <kstailey@openbsd.org>

add htonl()


# 8af354d8 03-Sep-1996 deraadt <deraadt@openbsd.org>

constrain to MAXHOSTNAMELEN


# e9b2b68c 19-Aug-1996 tholo <tholo@openbsd.org>

Fix RCS ids
Make sure everything uses {SYS,}LIBC_SCCS properly


# 1ddd5cc1 19-Feb-1996 dm <dm@openbsd.org>

netbsd: bind 4.9.3


# 4833a4b0 15-Jan-1996 deraadt <deraadt@openbsd.org>

from netbsd:
Don't read the network address as an alias when there isn't whitespace
after the network address. Closes PR 1940.


# df930be7 18-Oct-1995 deraadt <deraadt@openbsd.org>

initial import of NetBSD tree