Changes in uspace/app/bdsh/cmds/modules/ls/ls.c [c878693:c24b0dcb] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/bdsh/cmds/modules/ls/ls.c
rc878693 rc24b0dcb 42 42 #include <vfs/vfs.h> 43 43 #include <str.h> 44 #include <cap .h>44 #include <capa.h> 45 45 46 46 #include "ls.h" … … 106 106 } 107 107 108 cap _spec_t cap;109 cap _from_blocks(de->s.size, 1, &cap);110 cap _simplify(&cap);108 capa_spec_t capa; 109 capa_from_blocks(de->s.size, 1, &capa); 110 capa_simplify(&capa); 111 111 112 112 char *rptr; 113 errno_t rc = cap _format(&cap, &rptr);113 errno_t rc = capa_format(&capa, &rptr); 114 114 if (rc != EOK) { 115 115 return rc; … … 267 267 268 268 /* Populate the directory list. */ 269 if (ls.recursive ) {269 if (ls.recursive && nbdirs > 0) { 270 270 tmp = (struct dir_elem_t *) realloc(*dir_list_ptr, 271 271 nbdirs * sizeof(struct dir_elem_t));
Note:
See TracChangeset
for help on using the changeset viewer.