nmh-workers
[Top][All Lists]
Advanced

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

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


From: Ken Hornstein
Subject: Re: [Nmh-workers] Feedback: remove LOCALE ifdefs?
Date: Wed, 30 May 2012 23:05:40 -0400

>this put me in mind of bind8. the code below i think i wrote in 1993.
>clearly i could have used isascii() but my feeling at the time was that
>network data should be measured in absolute terms whereas ctype seemed
>relative (to the local charset). this all comes from dns not having a
>well defined presentation layer. but if you wanted to change m_getfld()
>to say (x == 0x20 || x == 0x0a || x == 0x09) instead of isspace() then
>you would likely not break much. (unless you're on a system where
>getchar() is inserting 0x0d after every actual 0x0a it finds in the
>stream, in which case all bets are off.)
>
>in e-mail headers, a space is what rfc822 says it is, not what POSIX
>says it is.

So, just curious ... is this still what you do for bind9?  I'm with you,
though ... a space has a specific meaning according to rfc822 and doesn't
necessarily match up with what isspace() is.

--Ken



reply via email to

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