nmh-workers
[Top] [All Lists]

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

2017-08-05 09:52:23
Ralph Corderoy writes:
Hi Leonardo,

[...]

Hello Ralph,

That would do it.  Could you apply the attached patch and re-run?  I'm
basically interested in how that locale classes it, e.g.  iswprint(3).


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
 assertion "w >= 0" failed: file "sbr/fmt_scan.c", line 296, function 
"cpstripped"
 Abort (core dumped)
 Exit 134

_______________________________________________
Nmh-workers mailing list
Nmh-workers(_at_)nongnu(_dot_)org
https://lists.nongnu.org/mailman/listinfo/nmh-workers

<Prev in Thread] Current Thread [Next in Thread>