Changeset 92fd52d7 in mainline for uspace/app/bdsh/cmds/builtin_cmds.c
- Timestamp:
- 2009-04-09T21:16:50Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 7afb4a5
- Parents:
- a2c58f6
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/bdsh/cmds/builtin_cmds.c
ra2c58f6 r92fd52d7 50 50 51 51 for (cmd = builtins; cmd->name != NULL; cmd++, i++) { 52 if (!str cmp(cmd->name, command))52 if (!str_cmp(cmd->name, command)) 53 53 return i; 54 54 } … … 65 65 66 66 for(i=0; builtin_aliases[i] != NULL; i+=2) { 67 if (!str cmp(builtin_aliases[i], command))67 if (!str_cmp(builtin_aliases[i], command)) 68 68 return 1; 69 69 } … … 80 80 81 81 for(i=0; builtin_aliases[i] != NULL; i++) { 82 if (!str cmp(builtin_aliases[i], command))82 if (!str_cmp(builtin_aliases[i], command)) 83 83 return (char *)builtin_aliases[++i]; 84 84 i++;
Note:
See TracChangeset
for help on using the changeset viewer.