fixed ls
This commit is contained in:
parent
d34dcdd8be
commit
c1b916a4b6
3
TODO
3
TODO
|
@ -37,7 +37,7 @@ Loginutils:
|
|||
groupctl
|
||||
getty
|
||||
|
||||
Modutils (linux only):
|
||||
Modutils:
|
||||
insmod
|
||||
rmmod
|
||||
lsmod
|
||||
|
@ -47,6 +47,7 @@ Findutils:
|
|||
find
|
||||
|
||||
BUGS:
|
||||
ls (-l flag with long group/user name)
|
||||
xargs (getopt with glibc)
|
||||
|
||||
FIX:
|
||||
|
|
|
@ -110,6 +110,7 @@ struct d_node **list(const char *path, off_t *total_size, size_t *nfiles, int *r
|
|||
if (bckp == NULL) {
|
||||
free(full_path);
|
||||
dfree(dn, *nfiles);
|
||||
closedir(dp);
|
||||
|
||||
fprintf(stderr, "ls: realloc: %s\n", strerror(errno));
|
||||
return NULL;
|
||||
|
|
Loading…
Reference in New Issue