Home | History | Annotate | Download | only in net
History log of /src/lib/libc/net/getservbyname_r.c
RevisionDateAuthorComments
 1.9  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.8  03-Apr-2011  christos branches: 1.8.4;
Protect against stack smashes (Maksymilian Arciemowicz)
 1.7  25-Apr-2010  joerg Add the constant database reader (cdbr(3)) and writer ((cdbw(3)).
They implement a space efficent write-once database with fast access
path. Switch the services(5) database to use cdb. The size of the
database file decreases from 2.1MB disk space to 307KB. Access
performance is about the same if setservent(0) is used and about an
order of magnitude faster otherwise. services_mkdb defaults to the new
format, but can optionally create the old db(3) format as well for
statically linked legacy applications.
 1.6  21-Mar-2007  christos branches: 1.6.18; 1.6.24; 1.6.28;
return NULL instead of core-dumping when we could not open the services file/db
 1.5  28-Jul-2006  christos use indirect lookup.
 1.4  27-Jul-2006  christos use a db version of services if one is there.
 1.3  18-Apr-2005  kleink Move the (at this time private) get{proto,serv}ent_r() prototypes and
data structures into the libc sources until the interface gets redone.
Approved by christos.
 1.2  04-Mar-2004  enami branches: 1.2.6;
Don't call end{serv,proto}ent_r() on return. It results dangling pointer.
 1.1  19-Feb-2004  christos Re-entrant versions of services and prorocols functions.
 1.2.6.1  21-Apr-2005  tron Pull up revision 1.3 (requested by kleink in ticket #172):
Move the (at this time private) get{proto,serv}ent_r() prototypes and
data structures into the libc sources until the interface gets redone.
Approved by christos.
 1.6.28.1  05-Apr-2011  riz Apply patch (requested by christos in ticket #1593):
lib/libc/net/getservbyname_r.c patch
lib/libc/net/getservbyport_r.c patch

Protect against stack smashes (from Maksymilian Arciemowicz)
 1.6.24.1  05-Apr-2011  riz Apply patch (requested by christos in ticket #1593):
lib/libc/net/getservbyname_r.c patch
lib/libc/net/getservbyport_r.c patch

Protect against stack smashes (from Maksymilian Arciemowicz)
 1.6.18.1  05-Apr-2011  riz Apply patch (requested by christos in ticket #1593):
lib/libc/net/getservbyname_r.c patch
lib/libc/net/getservbyport_r.c patch

Protect against stack smashes (from Maksymilian Arciemowicz)
 1.8.4.1  17-Apr-2012  yamt sync with head

RSS XML Feed