nmh-workers
[Top] [All Lists]

Re: [Nmh-workers] sbr/fmt_scan.c: cpstripped(): assert(w >= 0) Failure.

2017-04-25 20:17:56
Ralph wrote:

But only by the time wide_char may have been written by a second mbtowc().

Oh, good catch!  Your patch looks good.

I noticed that the altstr = NULL; in cptrimmed(), line 197, is inside the
w >=0 block.  I think it should be outside.

Also, altstr is misspelled as alstr in the commend in cpstripped().

David

_______________________________________________
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>