Commit Graph

11 Commits

Author SHA1 Message Date
Dag-Erling Smørgrav
8eeaaffaac Remove casts from {c,m,re}alloc() and simplify sizeof().
MFC after:	1 week
2009-06-13 13:07:56 +00:00
Dag-Erling Smørgrav
27f2bc9e1b Explain to the compiler why the aliasing we're doing is OK.
MFC after:	1 week
2009-06-13 01:22:56 +00:00
Dag-Erling Smørgrav
51d6ddb5d1 Fix a large number of signed - unsigned comparison warnings.
MFC after:	1 week
2009-06-13 00:56:17 +00:00
Dag-Erling Smørgrav
28f805cece #include cleanup
MFC after:	1 week
2009-06-13 00:06:52 +00:00
Dag-Erling Smørgrav
0309c35e84 _nss_cache_cycle_prevention_function doesn't actually need to be a function,
it just needs to have external linkage.

MFC after:	1 week
2009-06-12 23:27:31 +00:00
Xin LI
ecce338eb4 Since we are going to strlen() on the string, it is supposed to be
NUL-terminated, so use strlcpy() instead of strncpy() here.
2008-10-23 00:27:35 +00:00
Xin LI
4f7df5c284 Reduce code duplication: use calloc instead of allocing and memset
afterward.

Approved by:	bushman
2008-10-12 00:44:27 +00:00
Michael Bushkov
2c45f1b564 Removing startup banner. 2008-10-10 22:40:05 +00:00
Michael Bushkov
db1bdf2b02 - Renaming repocopied cached to nscd
Approved by:	re (kensmith), brooks (mentor)
2007-08-09 13:06:12 +00:00
Ruslan Ermilov
0708945a3c Fix usage(). 2006-09-30 18:11:59 +00:00
Hajimu UMEMOTO
06a99fe36f - Extend the nsswitch to support Services, Protocols and Rpc
databases.
- Make nsswitch support caching.

Submitted by:	Michael Bushkov <bushman__at__rsu.ru>
Sponsored by:	Google Summer of Code 2005
2006-04-28 12:03:38 +00:00