Bash-4.3 patch 42

This commit is contained in:
Chet Ramey 2015-08-13 15:38:42 -04:00
commit ae339e9c3c
3 changed files with 5 additions and 1 deletions

View file

@ -3708,6 +3708,8 @@ eof_error:
/*itrace("parse_comsub:%d: lex_inword -> 1 ch = `%c' (%d)", line_number, ch, __LINE__);*/
tflags |= LEX_INWORD;
lex_wlen = 0;
if (tflags & LEX_RESWDOK)
lex_rwlen = 0;
}
}

View file

@ -25,6 +25,6 @@
regexp `^#define[ ]*PATCHLEVEL', since that's what support/mkversion.sh
looks for to find the patch level (for the sccs version string). */
#define PATCHLEVEL 41
#define PATCHLEVEL 42
#endif /* _PATCHLEVEL_H_ */

View file

@ -6020,6 +6020,8 @@ eof_error:
/*itrace("parse_comsub:%d: lex_inword -> 1 ch = `%c' (%d)", line_number, ch, __LINE__);*/
tflags |= LEX_INWORD;
lex_wlen = 0;
if (tflags & LEX_RESWDOK)
lex_rwlen = 0;
}
}