Changes in uspace/app/bdsh/exec.c [445e7c0:c4a8e4a] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/bdsh/exec.c
r445e7c0 rc4a8e4a 83 83 /* We now have n places to look for the command */ 84 84 for (i = 0; search_dir[i] != NULL; i++) { 85 memset(found, 0, PATH_MAX);85 memset(found, 0, sizeof(found)); 86 86 snprintf(found, PATH_MAX, "%s/%s", search_dir[i], cmd); 87 87 if (-1 != try_access(found)) {
Note:
See TracChangeset
for help on using the changeset viewer.