summaryrefslogtreecommitdiff
path: root/lib/libc/gen/pwcache.c
Commit message (Collapse)AuthorAgeFilesLines
* Make user_from_uid and group_from_gid return const char *, just likeWarner Losh2002-03-221-2/+2
| | | | | | | NetBSD. Update man page to reflect this. Notes: svn path=/head/; revision=92924
* Fixed divots that I created when I moved prototypes of group_from_gidWarner Losh2002-02-191-1/+1
| | | | | | | | | | and user_from_uid to grp.h and pwd.h. Update the man pages. Submitted by: David Malone Pointy hat to: imp Notes: svn path=/head/; revision=90878
* Use new-style function declations.Warner Losh2002-02-131-6/+2
| | | | Notes: svn path=/head/; revision=90605
* * Remove 'register'. (some functions had 7+ register functions...)David E. O'Brien2002-02-011-2/+4
| | | | | | | * Fix SCM ID's. Notes: svn path=/head/; revision=90041
* Honor the nouser/nogroup flag when determing if NULL shouldMike Pritchard1997-04-031-2/+2
| | | | | | | | be returned if a cached uid/gid does not exist in the password file. Notes: svn path=/head/; revision=24568
* The user_from_{uid,gid} routines would return garbage if theMike Pritchard1997-04-021-2/+2
| | | | | | | | | | uid/gid in question was in the cache, but did not exist in the password file. This causes the -nouser and -nogroup options to find(1) to only print the first file owned by an unknown user/group in some cases. Notes: svn path=/head/; revision=24536
* General -Wall warning cleanup, part I.Jordan K. Hubbard1996-07-121-1/+1
| | | | | | | Submitted-By: Kent Vander Velden <graphix@iastate.edu> Notes: svn path=/head/; revision=17141
* Implemented negative caching on uid/gid lookup failures. This won'tDavid Greenman1996-03-051-14/+20
| | | | | | | | | matter much on some systems, but on ftp servers (like wcarchive) where you run with special stripped group and pwd.db files in the anonymous ftp /etc, this can be a major speedup for ls(1). Notes: svn path=/head/; revision=14389
* Minor cleanup, mostly unused vars and missing #includes.Poul-Henning Kamp1995-10-221-0/+1
| | | | Notes: svn path=/head/; revision=11659
* BSD 4.4 Lite Lib SourcesRodney W. Grimes1994-05-271-0/+112
Notes: svn path=/cvs2svn/branches/unlabeled-1.1.1/; revision=1573