tech-pkg archive

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

Re: editors/nvi patch checksum errors on macOS with UTF-8 locale



> The real mystery is why 'digest sha1' would differ, as I think of SHA-1
> as operating on byte streams.  I am guessing it is using some interface
> that on apple turns into wide characters and apple does utf-8 decoding.
> If so that's a bug; I think SHA-1 computation is about octets, not
> characters.
It's probably the magic that stips off the comment header before calculating 
the hash.


Home | Main Index | Thread Index | Old Index