[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Nmh-workers] nmh-1.7-RC1: scan with complex subjects dumps core
From: |
Ken Hornstein |
Subject: |
Re: [Nmh-workers] nmh-1.7-RC1: scan with complex subjects dumps core |
Date: |
Tue, 15 Aug 2017 13:35:41 -0400 |
>Yeah, I think the code was assuming if it's not cntrl, and not space,
>then it must be print and therefore width >= 0. But that's clearly not
>true, even here, where Norm's sunglasses don't have a negative width,
>e.g. U+0378.
So, I'm back from vacation and trying to digest this all ... and the first
thing I ran into is that the new ctype code in test/getcwidth.c uses
__WCHAR_MAX__ ... which is not defined by MacOS X! It looks like POSIX
officially uses WCHAR_MAX. I will admit that I am always confused why
some preprocessor symbols use __ around them and some do not (I am sure
there is a reason for when to use it, it just is not obvious to me). But
since POSIX officially defines WCHAR_MAX, we should use that?
--Ken
- Re: [Nmh-workers] nmh-1.7-RC1: scan with complex subjects dumps core, (continued)
- Re: [Nmh-workers] nmh-1.7-RC1: scan with complex subjects dumps core, Ralph Corderoy, 2017/08/06
- Re: [Nmh-workers] nmh-1.7-RC1: scan with complex subjects dumps core, Leonardo Taccari, 2017/08/06
- Re: [Nmh-workers] nmh-1.7-RC1: scan with complex subjects dumps core, Ralph Corderoy, 2017/08/07
- Re: [Nmh-workers] nmh-1.7-RC1: scan with complex subjects dumps core, Leonardo Taccari, 2017/08/07
- Re: [Nmh-workers] nmh-1.7-RC1: scan with complex subjects dumps core, David Levine, 2017/08/07
- Re: [Nmh-workers] nmh-1.7-RC1: scan with complex subjects dumps core, Ken Hornstein, 2017/08/15
- Re: [Nmh-workers] nmh-1.7-RC1: scan with complex subjects dumps core, Ralph Corderoy, 2017/08/16
- Re: [Nmh-workers] nmh-1.7-RC1: scan with complex subjects dumps core, Ken Hornstein, 2017/08/16
- Re: [Nmh-workers] nmh-1.7-RC1: scan with complex subjects dumps core, David Levine, 2017/08/07
- Re: [Nmh-workers] nmh-1.7-RC1: scan with complex subjects dumps core, Ralph Corderoy, 2017/08/08
- Re: [Nmh-workers] nmh-1.7-RC1: scan with complex subjects dumps core,
Ken Hornstein <=
- Re: [Nmh-workers] nmh-1.7-RC1: scan with complex subjects dumps core, Ken Hornstein, 2017/08/15
- Re: [Nmh-workers] nmh-1.7-RC1: scan with complex subjects dumps core, Ralph Corderoy, 2017/08/16
Re: [Nmh-workers] nmh-1.7-RC1: scan with complex subjects dumps core, Ralph Corderoy, 2017/08/05