#
e826745e |
| 13-Mar-2012 |
christos <christos@NetBSD.org> |
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 t
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@
show more ...
|
#
618a374c |
| 03-Apr-2011 |
christos <christos@NetBSD.org> |
Protect against stack smashes (Maksymilian Arciemowicz)
|
#
b9cf7d31 |
| 25-Apr-2010 |
joerg <joerg@NetBSD.org> |
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 th
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.
show more ...
|
#
efa6baa2 |
| 21-Mar-2007 |
christos <christos@NetBSD.org> |
return NULL instead of core-dumping when we could not open the services file/db
|
#
55b31470 |
| 28-Jul-2006 |
christos <christos@NetBSD.org> |
use indirect lookup.
|
#
754fca0e |
| 27-Jul-2006 |
christos <christos@NetBSD.org> |
use a db version of services if one is there.
|
#
4e3cae58 |
| 18-Apr-2005 |
kleink <kleink@NetBSD.org> |
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.
|
#
119b5f63 |
| 04-Mar-2004 |
enami <enami@NetBSD.org> |
Don't call end{serv,proto}ent_r() on return. It results dangling pointer.
|
#
8059eed1 |
| 19-Feb-2004 |
christos <christos@NetBSD.org> |
Re-entrant versions of services and prorocols functions.
|