[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Nmh-workers] corruption when attaching all-null files
From: |
Ken Hornstein |
Subject: |
Re: [Nmh-workers] corruption when attaching all-null files |
Date: |
Wed, 07 May 2014 13:51:14 -0400 |
>A file of all \0 wouldn't match any of these cases (contains8bit only
>gets set if the function fails isascii(), which is between 0 and 127.).
>I think we need a new test (isvalid7bit? Have to think about it).
Also ... we use fgets() to read in the file we're scanning. We'll fail
with NULs when it comes to that. It looks like we should be using
getline() instead. Is that pretty common nowadays? Looks like it's
part of POSIX, but at least one older system I have access to doesn't
have it. Sigh.
--Ken
- [Nmh-workers] corruption when attaching all-null files, Paul Fox, 2014/05/07
- Re: [Nmh-workers] corruption when attaching all-null files, Lyndon Nerenberg, 2014/05/07
- Re: [Nmh-workers] corruption when attaching all-null files, Ken Hornstein, 2014/05/07
- Re: [Nmh-workers] corruption when attaching all-null files, Paul Fox, 2014/05/07
- Re: [Nmh-workers] corruption when attaching all-null files, Ken Hornstein, 2014/05/07
- Re: [Nmh-workers] corruption when attaching all-null files, Paul Fox, 2014/05/07
- Re: [Nmh-workers] corruption when attaching all-null files, Ken Hornstein, 2014/05/07
- Re: [Nmh-workers] corruption when attaching all-null files, Jerrad Pierce, 2014/05/07
- Re: [Nmh-workers] corruption when attaching all-null files, Lyndon Nerenberg, 2014/05/07
- Re: [Nmh-workers] corruption when attaching all-null files,
Ken Hornstein <=
- Re: [Nmh-workers] corruption when attaching all-null files, Paul Fox, 2014/05/07
- Re: [Nmh-workers] corruption when attaching all-null files, Ken Hornstein, 2014/05/07
- Re: [Nmh-workers] corruption when attaching all-null files, Paul Fox, 2014/05/07
- Re: [Nmh-workers] corruption when attaching all-null files, Lyndon Nerenberg, 2014/05/07
- Re: [Nmh-workers] corruption when attaching all-null files, Paul Fox, 2014/05/07
- Re: [Nmh-workers] corruption when attaching all-null files, Lyndon Nerenberg, 2014/05/07
- Re: [Nmh-workers] corruption when attaching all-null files, Ken Hornstein, 2014/05/07
- Re: [Nmh-workers] corruption when attaching all-null files, Lyndon Nerenberg, 2014/05/07
- Re: [Nmh-workers] corruption when attaching all-null files, Ken Hornstein, 2014/05/07
- Re: [Nmh-workers] corruption when attaching all-null files, Lyndon Nerenberg, 2014/05/07