mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-28 21:00:54 +00:00
Modify the implementation logic of changing directory. There's an error handling the path incluing "../" or "./" bug examples: nsh> cd proc/self/group nsh> cd ../.. nsh: cd: chdir failed: 2 nsh> pwd /proc/self nsh> ls /proc/self: status cmdline stack group/ nsh> cd ./group nsh: cd: chdir failed: 2 Signed-off-by: zhengyu9 <zhengyu9@xiaomi.com> |
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| Kconfig | ||
| Make.defs | ||
| Makefile | ||
| nsh.h | ||
| nsh_alias.c | ||
| nsh_altconsole.c | ||
| nsh_builtin.c | ||
| nsh_codeccmd.c | ||
| nsh_command.c | ||
| nsh_console.c | ||
| nsh_console.h | ||
| nsh_consolemain.c | ||
| nsh_dbgcmds.c | ||
| nsh_ddcmd.c | ||
| nsh_envcmds.c | ||
| nsh_fileapps.c | ||
| nsh_fscmds.c | ||
| nsh_fsutils.c | ||
| nsh_init.c | ||
| nsh_login.c | ||
| nsh_mmcmds.c | ||
| nsh_mntcmds.c | ||
| nsh_modcmds.c | ||
| nsh_netcmds.c | ||
| nsh_parse.c | ||
| nsh_passwdcmds.c | ||
| nsh_printf.c | ||
| nsh_proccmds.c | ||
| nsh_prompt.c | ||
| nsh_routecmds.c | ||
| nsh_script.c | ||
| nsh_session.c | ||
| nsh_syscmds.c | ||
| nsh_system.c | ||
| nsh_telnetd.c | ||
| nsh_telnetlogin.c | ||
| nsh_test.c | ||
| nsh_timcmds.c | ||
| nsh_usbconsole.c | ||
| nsh_usbtrace.c | ||
| nsh_vars.c | ||
| nsh_wait.c | ||
| rc.sysinit.template | ||
| rcS.template | ||