expand: Do not reprocess data when expanding words

2018-05-29 Thread Herbert Xu
Currently various paths will reprocess data when performing word expansion. For example, expari will skip backwards looking for the start of the arithmetic expansion, while evalvar will skip unexpanded words manually. This is cumbersome and error-prone. This patch fixes this by making word

Re: [PATCH] [BUILD] fix parallel build

2018-05-29 Thread Herbert Xu
Yann E. MORIN wrote: > When neither token.h nor token_var.h exist, and we are building in > parallel, it is possible that make will spawn two mktokens at roughly > the same time, because of two different rules, one that needs token.h ad > another that need token_vars.h. > > For example, make can