Fixed bug 3599328.

git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@5033 35acf78f-673a-0410-8e92-d51de3d6d3f4
master
gdisirio 2013-01-05 09:42:13 +00:00
parent 6f470322d0
commit aaa126da62
2 changed files with 4 additions and 2 deletions

View File

@ -156,10 +156,10 @@ static msg_t shell_thread(void *p) {
chprintf(chp, "\r\nlogout"); chprintf(chp, "\r\nlogout");
break; break;
} }
lp = _strtok(line, " \009", &tokp); lp = _strtok(line, " \t", &tokp);
cmd = lp; cmd = lp;
n = 0; n = 0;
while ((lp = _strtok(NULL, " \009", &tokp)) != NULL) { while ((lp = _strtok(NULL, " \t", &tokp)) != NULL) {
if (n >= SHELL_MAX_ARGUMENTS) { if (n >= SHELL_MAX_ARGUMENTS) {
chprintf(chp, "too many arguments\r\n"); chprintf(chp, "too many arguments\r\n");
cmd = NULL; cmd = NULL;

View File

@ -82,6 +82,8 @@
***************************************************************************** *****************************************************************************
*** 2.5.2 *** *** 2.5.2 ***
- FIX: Fixed small bug in shell argument parsing code in shell_thread (bug
3599328)(backported to 2.4.4).
- FIX: Fixed wrong condition in checksum offload of STM32 MAC driver (bug - FIX: Fixed wrong condition in checksum offload of STM32 MAC driver (bug
3598720)(backported to 2.4.4). 3598720)(backported to 2.4.4).
- FIX: Fixed error in STM32 MAC driver degrades performance (bug 3598719) - FIX: Fixed error in STM32 MAC driver degrades performance (bug 3598719)