!641 fix: 规范整改

Merge pull request !641 from zhushengle/sample
This commit is contained in:
openharmony_ci
2022-03-19 08:02:11 +00:00
committed by Gitee
42 changed files with 46 additions and 77 deletions

1
components/shell/src/base/shcmd.c Executable file → Normal file
View File

@@ -98,6 +98,7 @@ LITE_OS_SEC_TEXT_MINOR UINT32 OsCmdKeyShift(const CHAR *cmdKey, CHAR *cmdOut, UI
PRINTK("malloc failure in %s[%d]", __FUNCTION__, __LINE__);
return (UINT32)OS_ERROR;
}
(VOID)memset_s(output, len + 1, 0, len + 1);
/* Backup the 'output' start address */
outputBak = output;
/* Scan each charactor in 'cmdKey',and squeeze the overmuch space and ignore invaild charactor */

0
components/shell/src/base/shcmdparse.c Executable file → Normal file
View File

0
components/shell/src/base/show.c Executable file → Normal file
View File

0
components/shell/src/cmds/date_shell.c Executable file → Normal file
View File

0
components/shell/src/cmds/fullpath.c Executable file → Normal file
View File

0
components/shell/src/cmds/mempt_shellcmd.c Executable file → Normal file
View File

0
components/shell/src/cmds/shell_shellcmd.c Executable file → Normal file
View File

0
components/shell/src/cmds/task_shellcmd.c Executable file → Normal file
View File

0
components/shell/src/cmds/vfs_shellcmd.c Executable file → Normal file
View File