Re: [Nmh-workers] nmh-1.7-RC1: scan with complex subjects dumps core

2017-08-06 Thread Leonardo Taccari
Hello Ralph, > [...] > I've re-written the MULTIBYTE_ENABLED cpstripped() on git's master > branch, not the 1.7 one. Could you give it a go with what failed > before, and ideally run a `make check' and if all's well a > `NMH_VALGRIND=1 VALGRIND_ME=1 make check' to give it a work out, it > takes

Re: [Nmh-workers] nmh-1.7-RC1: scan with complex subjects dumps core

2017-08-06 Thread Ralph Corderoy
Hi Leonardo, > Sure! Here what I see with your patch applied: > > % scan -format '%(decode{subject})' +. 1 > mbtowc(0x20) = 1 > cntrl:0 space:1 blank:1 print:1 > mbtowc(0x1f576) = 4 > cntrl:0 space:0 blank:0 print:0 > wcwidth(0x1f576) = -1 Yeah, I think the code was assuming if it's