summaryrefslogtreecommitdiff
path: root/lib/libc/gen/pwcache.c
Commit message (Collapse)AuthorAgeFilesLines
* 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