Decode uid/gid strings as numbers if possible. (Michael Kaminsky)
This commit is contained in:
parent
357cecc163
commit
2cb7bf889f
1 changed files with 2 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue