bd6af278ae
The previous way of creating an absolute path relied on snprintf(), and when used with newlib gcc warned that the output could be truncated before the last format character. Rework to use code that doesn't rely on snprintf. See discussion at https://bugzilla.redhat.com/show_bug.cgi?id=1431678 Also ensure that cwd is always NUL-terminated, and use the utility function to create the absolute path in cmd_trunc. Signed-off-by: Peter A. Bigot <pab@pabigot.com> |
||
---|---|---|
.. | ||
fcb | ||
nvs | ||
CMakeLists.txt | ||
fat_fs.c | ||
fs.c | ||
fs_impl.c | ||
fs_impl.h | ||
fuse_fs_access.c | ||
Kconfig | ||
littlefs_fs.c | ||
nffs_fs.c | ||
shell.c |