Home | History | Annotate | Download | only in net
History log of /src/lib/libc/net/getnetent.c
RevisionDateAuthorComments
 1.22  05-Jun-2020  nia Remove more bogus tests for 64-bit i386 and SuperH.

These are always false.
 1.21  20-Mar-2012  matt Use C89 Prototypes.
Remove use of __P
 1.20  13-Mar-2012  christos 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@
 1.19  15-Oct-2011  christos branches: 1.19.2;
close on exec fixes:
- open + fcntl -> open O_CLOEXEC
- configuration database file descriptors that can stay open are now opened
fopen(db, "re")
 1.18  27-Jan-2007  christos Appropriate versions are not supplied by bind anymore.
 1.17  27-Jan-2007  christos merge in resolver portion of bind-9.4.0-rc2
 1.16  08-May-2004  kleink branches: 1.16.10; 1.16.12;
struct netnet.n_net used to be an unsigned long integer.

In XNS5, and subsequently in POSIX-2001 it was changed to socklen_t.

To accomodate for this while preserving binary compatibility with the
old interface, prepend or append 32 bits of padding, depending on
the (LP64 data model) architecture's endianness. Fixes PR
standards/21411 from Ben Harris.

This should be deleted the next time the libc major number is
incremented.

Also, update getnetbyaddr(3)'s `net' argument accordingly.
 1.15  07-Aug-2003  agc branches: 1.15.4;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.14  25-Apr-2000  itojun sync with BIND 4.9.7. mostly costmetic.
 1.13  22-Jan-2000  mycroft Delint.
Remove trailing ; from uses of __weak_alias(). The macro inserts this if
needed.
 1.12  06-Jan-1998  perry $Id: -> Id: (to make hunting down other bad Ids easier).
 1.11  21-Jul-1997  jtc If port provides __weak_alias(), provide an Standard C and POSIX pure
identifier namespace by renaming non standard functions and variables
such that they have a leading underscore. The library will use those
names internally. Weak aliases are used to provide the original names
to the API.

This is only the first part of this change. It is most of the functions
which are implemented in C for all NetBSD ports. Subsequent changes are
to add the same support to the remaining C files, to assembly files, and
to the automagically generated assembly source used for system calls.
When all of the above is done, ports with weak alias support should add
a definition for __weak_alias to <sys/cdefs.h>.
 1.10  20-Jul-1997  mrg merge bind 4.9.6 resolver. still need to fix <resolv.h>
 1.9  13-Jul-1997  christos Fix RCSID's
Fix gcc warnings
Add missing prototypes
Use "namespace.h"
 1.8  13-Apr-1997  mrg merge in the bind 4.9.5-P1 resolver. we are now _mostly_ the
same as this, with our changes also included (resolv.conf and
other minor differences).
 1.7  16-Feb-1996  mrg branches: 1.7.2;
re-apply patch from 2 revisions ago
 1.6  02-Feb-1996  mrg merge with the resolver in bind 4.9.3-P1.
 1.5  14-Jan-1996  ghudson Don't read the network address as an alias when there isn't whitespace
after the network address. Closes PR 1940.
 1.4  25-Feb-1995  cgd clean up import. also convert everything to new Id format.
 1.3  26-Aug-1993  jtc Declare rcsid strings so they are stored in text segment.
 1.2  01-Aug-1993  mycroft Add RCS identifiers.
 1.1  21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.6  25-Apr-2000  itojun BIND 4.9.7
 1.1.1.5  02-Feb-1998  mrg import lite-2 libc/net sources.
 1.1.1.4  20-Jul-1997  mrg bind 4.9.6 resolver files.
 1.1.1.3  13-Apr-1997  mrg BIND 4.9.5-P1 resolver bits we use
 1.1.1.2  25-Feb-1995  cgd 4.4-Lite lib/libc/net
 1.1.1.1  21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.7.2.1  20-Sep-1996  jtc snapshot namespace cleanup: net, etc.
 1.15.4.1  05-Jul-2005  riz Pull up revision 1.16 (requested by kleink in ticket #2015):
struct netent.n_net used to be an unsigned long integer.
In XNS5, and subsequently in POSIX-2001 it was changed to socklen_t.
To accomodate for this while preserving binary compatibility with the
old interface, prepend or append 32 bits of padding, depending on
the (LP64 data model) architecture's endianness. Fixes PR
standards/21411 from Ben Harris.
This should be deleted the next time the libc major number is
incremented.
Also, update getnetbyaddr(3)'s `net' argument accordingly.
 1.16.12.1  03-Jun-2007  wrstuden Catch up with now-somewhat-dated netbsd-4. These changes took longer
than expected for me to actually get around to merging.
 1.16.10.1  17-May-2007  jdc Add missing BIND 9.4.x include file and library changes (requested by
tron in ticket #662).
 1.19.2.1  17-Apr-2012  yamt sync with head

RSS XML Feed