Fix small bugs.
This commit is contained in:
parent
2f2df5e02e
commit
c4097c2951
14 changed files with 71 additions and 34 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue