bug in readline.c

2019-08-21 Thread Changqing Li
Hi, First,  if this is not the right place to send the patch, please let me know, thanks. There is a bug in readline.c,  here is reproduce steps and patch to fix it,  @christos, please help to review it, thanks. Reproduce steps: 1. Download libedit from https://www.thrysoee.dk/editline/ 2

bmake: .if !empty(i:M[0-9]*)

2019-08-21 Thread Edgar Fuß
I once again ran into an oddity with bmake's .for loops. It looks like that .if !empty(i:Mxxx) doesn't work if i is a .for loop variable. Assigning the loop variable to another var makes it work. Oddly enough, .if !empty(:U123:Mxxx) (outside a .for loop) works as expected. [I'm aware that [0-9]* w