On 9/20/06, Paul Eggert <[EMAIL PROTECTED]> wrote:
> the correct response is something along the lines of EINVAL
> whenever strlen(filedata) != filestat.st_size.
The GNU coding standards disagree: they say "Utilities reading files
should not drop NUL characters".
Wait. I get it. The GNU coding standards say that, but really
mean that "Utilities reading arbitrary, non-application-specific files should
not drop NUL characters". Applications that have text input files are
certainly free to require that their application-specific files be NUL-free.
That was where Miss Communication was hiding.