nmh-workers
[Top] [All Lists]

Re: [Nmh-workers] Feedback: remove LOCALE ifdefs?

2012-05-26 12:12:24
On Fri, 25 May 2012 22:57:56 -0400, Ken Hornstein said:
This code does two main things: calls setlocale() at the beginning of
every program and uses the isspace()/iscntrl() functions in the appropriate
places.  I can't think of a reason why you'd want to turn this off, so
I am proposing that this code simply get removed and locale support is
always on.  Comments?

As long as we're looking at that code, we probably want to do an audit to make
sure that we aren't using isspace() anyplace to detect rfc822 ascii-ish
'whitespace'.  I've seen the hilarity that ensues when the mail system at one
end thinks that a 'non-breaking space' is whitespace and the system at the
other end isn't convinced...

Of course, that code would already be broken in most cases, because most of us
build with LOCALE.

Attachment: pgpV_ccjc5aNZ.pgp
Description: PGP signature

_______________________________________________
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>