Fix small bugs.

This commit is contained in:
rsc 2004-05-11 17:51:27 +00:00
parent 2f2df5e02e
commit c4097c2951
14 changed files with 71 additions and 34 deletions

View file

@ -101,6 +101,8 @@ ls(char *s, int multi)
return 1;
}
if(db->qid.type&QTDIR && dflag==0){
free(db);
db = nil;
output();
fd = open(s, OREAD);
if(fd == -1)