SCCS-vsn: bin/ls/ls.c 5.10
#endif not lint
#ifndef lint
#endif not lint
#ifndef lint
-static char sccsid[] = "@(#)ls.c 5.9 (Berkeley) %G%";
+static char sccsid[] = "@(#)ls.c 5.10 (Berkeley) %G%";
getname(uid)
uid_t uid;
{
getname(uid)
uid_t uid;
{
- extern int _pw_stayopen;
static struct ncache {
uid_t uid;
char name[NMAX+1];
static struct ncache {
uid_t uid;
char name[NMAX+1];
register struct passwd *pw;
register struct ncache *cp;
register struct passwd *pw;
register struct ncache *cp;
cp = c_uid + (uid & CAMASK);
if (cp->uid == uid && *cp->name)
return(cp->name);
cp = c_uid + (uid & CAMASK);
if (cp->uid == uid && *cp->name)
return(cp->name);