Changeset f31ca47 in mainline
- Timestamp:
- 2019-06-15T08:53:36Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- aa3ca1e
- Parents:
- ab936440
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/bdsh/cmds/modules/alias/alias.c
rab936440 rf31ca47 84 84 } 85 85 86 static bool valid e_name(const char *name)86 static bool validate_name(const char *name) 87 87 { 88 88 while (*name != '\0') { … … 135 135 if ((value = str_chr(name, '=')) != NULL) { 136 136 name[value - name] = '\0'; 137 if (!valid e_name(name)) {137 if (!validate_name(name)) { 138 138 cli_error(CL_EFAIL, "%s: invalid alias name given\n", cmdname); 139 139 free(name);
Note:
See TracChangeset
for help on using the changeset viewer.