Changeset a91c555f in mainline
- Timestamp:
- 2018-11-21T10:10:07Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 31872f7
- Parents:
- d91488d
- git-author:
- Jiri Svoboda <jiri@…> (2018-11-20 21:09:17)
- git-committer:
- Jiri Svoboda <jiri@…> (2018-11-21 10:10:07)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/bdsh/compl.c
rd91488d ra91c555f 373 373 free(ent_path); 374 374 375 /* If completing command, do not match directories. */ 376 if (!ent_stat.is_directory || !cs->is_command) { 377 asprintf(compl, "%s%c", dent->d_name, 378 ent_stat.is_directory ? '/' : ' '); 379 cs->last_compl = *compl; 380 if (*compl == NULL) 381 return ENOMEM; 382 } 375 asprintf(compl, "%s%c", dent->d_name, 376 ent_stat.is_directory ? '/' : ' '); 377 cs->last_compl = *compl; 378 if (*compl == NULL) 379 return ENOMEM; 383 380 } 384 381 }
Note:
See TracChangeset
for help on using the changeset viewer.