From 2cb7bf889fdadeeea1bc4683baee6a08de3fa87c Mon Sep 17 00:00:00 2001 From: rsc Date: Thu, 18 Jan 2007 18:24:29 +0000 Subject: Decode uid/gid strings as numbers if possible. (Michael Kaminsky) --- src/cmd/vac/vacfs.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/cmd') diff --git a/src/cmd/vac/vacfs.c b/src/cmd/vac/vacfs.c index 24758459..9557667a 100644 --- a/src/cmd/vac/vacfs.c +++ b/src/cmd/vac/vacfs.c @@ -682,6 +682,8 @@ vdStat(VacFile *parent, VacDir *vd, uchar *p, int np) dir.gid = vd->gid; dir.muid = vd->mid; dir.ext = ext; + dir.uidnum = atoi(vd->uid); + dir.gidnum = atoi(vd->gid); ret = convD2Mu(&dir, p, np, dotu); free(ext); -- cgit v1.2.3