mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
5cd52885c1
This patch adds the missing NULL terminator to the argv passed to shell command handlers. Without it, Newlib's getop() was intermittently causing hardfaults. Closer inspection of NewLib's code revealed that it relies in this NULL termination. ANSI-C also requires it of the argv passed to main(). |
||
---|---|---|
.. | ||
cmds | ||
democommands | ||
doc.txt | ||
Kconfig | ||
Kconfig.config | ||
Makefile | ||
Makefile.dep | ||
shell.c |