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. _______________________________________________ Nmh-workers mailing list Nmh-workers(_at_)nongnu(_dot_)org http://lists.nongnu.org/mailman/listinfo/nmh-workers
Previous by Date: | Re: [Nmh-workers] Understanding nmh (aka. What's the goal) [ really non-ASCII message bodies ], Earl Hood |
---|---|
Next by Date: | Re: [Nmh-workers] Understanding nmh (aka. What's the goal) [ really non-ASCII message bodies ], Jon Steinhart |
Previous by Thread: | Re: [Nmh-workers] Understanding nmh (aka. What's the goal) [ really non-ASCII message bodies ], markus schnalke |
Next by Thread: | Re: [Nmh-workers] Understanding nmh (aka. What's the goal) [ really non-ASCII message bodies ], Jon Steinhart |
Indexes: | [Date] [Thread] [Top] [All Lists] |