nmh-workers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Nmh-workers] Understanding nmh (aka. What's the goal) [ really non-


From: Ralph Corderoy
Subject: Re: [Nmh-workers] Understanding nmh (aka. What's the goal) [ really non-ASCII message bodies ]
Date: Tue, 07 Dec 2010 19:35:59 +0000

Hi,

markus schnalke wrote:
> > BTW, I would suggest using isascii() rather than (*p > 127 || *p < 0).
> 
> I just kept what you once wrote. ;-P
> But, yes, you are right.

Given it's `char *p' then *p may be unsigned on some systems, e.g. ARM,
and a compiler could warn on testing if it's negative so isascii() is
much nicer.  :-)

Cheers,
Ralph.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]