On 9/27/14, 1:00 AM, V S, Nagendra (Nonstop Filesystems Team) wrote: > Hi Chet, > Thanks a lot for the patch. > > The official bash patch & the patch that you posted on openwall forum seems > to be different. The official bash patch does not contain this > > *** ../bash-4.2.48/y.tab.c 2012-12-31 11:53:10.000000000 -0500 > --- y.tab.c 2014-09-25 20:23:25.000000000 -0400 > *************** > *** 5163,5166 **** > --- 5163,5168 ---- > word_desc_to_read = (WORD_DESC *)NULL; > > + eol_ungetc_lookahead = 0; > + > current_token = '\n'; /* XXX */ > last_read_token = '\n'; > *************** > *** 8377,8379 **** > } > #endif /* HANDLE_MULTIBYTE */ > - > --- 8379,8380 ---- > > > Is this intentional ?
Yes, it was intentional. Previous patches to bash-4.2 modified parse.y without updating y.tab.c, so it didn't seem like a good idea to start now. Chet -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet Ramey, ITS, CWRU c...@case.edu http://cnswww.cns.cwru.edu/~chet/