Make ls -lF work.

This commit is contained in:
rsc 2007-01-29 15:12:42 +00:00
parent 91fb6aaa3d
commit c2ab969eca

View file

@ -227,17 +227,16 @@ format(Dir *db, char *name)
db->qid.type);
if(lflag)
Bprint(&bin,
Qflag? "%M %C %*ud %*s %s %*llud %s %s\n" : "%M %C %*ud %*s %s %*llud %s %q\n",
"%M %C %*ud %*s %s %*llud %s ",
db->mode, db->type,
vwidth, db->dev,
-uwidth, db->uid,
db->gid,
(int)(glwidth-strlen(db->gid)), db->length,
asciitime(uflag? db->atime : db->mtime), name);
else
Bprint(&bin,
Qflag? "%s%s\n" : "%q%s\n",
name, fileflag(db));
asciitime(uflag? db->atime : db->mtime));
Bprint(&bin,
Qflag? "%s%s\n" : "%q%s\n",
name, fileflag(db));
}
void