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> |
---|---|---|
|
Previous by Date: | Re: [Nmh-workers] sbr/fmt_scan.c: cpstripped(): assert(w >= 0) Failure., Ralph Corderoy |
---|---|
Next by Date: | Re: [Nmh-workers] sbr/fmt_scan.c: cpstripped(): assert(w >= 0) Failure., Ralph Corderoy |
Previous by Thread: | Re: [Nmh-workers] sbr/fmt_scan.c: cpstripped(): assert(w >= 0) Failure., Ralph Corderoy |
Next by Thread: | Re: [Nmh-workers] sbr/fmt_scan.c: cpstripped(): assert(w >= 0) Failure., Ralph Corderoy |
Indexes: | [Date] [Thread] [Top] [All Lists] |