[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Nmh-workers] sbr/fmt_scan.c: cpstripped(): assert(w >= 0) Failure.
From: |
David Levine |
Subject: |
Re: [Nmh-workers] sbr/fmt_scan.c: cpstripped(): assert(w >= 0) Failure. |
Date: |
Tue, 25 Apr 2017 21:17:35 -0400 |
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