Files
nuttx-apps/nshlib
Michal Lenc 0640d3f550 nshlib/nsh_fsutils.c: fix getpid_callback function read size
Commit 5330966 replaced local static buffer with malloc allocated
lib_get_pathbuffer. This however prevents the usage of sizeof(buffer)
in the follow up read function, therefore the read size has to be
specified as PATH_MAX - 1.

This fixes the functionality of pidof function call (and subsequently
pkill call that uses pidof).

Signed-off-by: Michal Lenc <michallenc@seznam.cz>
2025-03-27 09:25:21 +08:00
..
2025-03-24 20:33:26 +08:00
2024-12-30 18:02:50 +08:00
2024-12-30 18:02:50 +08:00
2024-12-30 18:02:50 +08:00
2024-12-30 18:02:50 +08:00
2024-12-30 18:02:50 +08:00
2024-12-30 18:02:50 +08:00
2024-12-30 18:02:50 +08:00
2024-12-30 18:02:50 +08:00