nmh-workers
[Top] [All Lists]

Re: [Nmh-workers] corruption when attaching all-null files

2014-05-07 14:57:01

On May 7, 2014, at 12:49 PM, Paul Fox 
<pgf(_at_)foxharp(_dot_)boston(_dot_)ma(_dot_)us> wrote:

and i think i understand
the containsnuls issue

There should only be one way to declare if the content is 7bit.

If you have 'is7bit' and 'containsnul' + 'contains8bit', there are two possible 
decision paths:

1) 'is7bit' is set, or
2) 'containsnul' and 'contains8bit' are both unset.

If a chunk of code, e.g., sets 'contains8bit' but forgets to clear 'is7bit', 
who wins when you try to decide if the code is 7bit safe?

--lyndon

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

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