svn commit: r196981 - head/usr.bin/unzip

Andrey Chernov ache at nagual.pp.ru
Wed Sep 9 16:39:41 UTC 2009


On Wed, Sep 09, 2009 at 08:16:09AM -0700, Tim Kientzle wrote:
> Since this is only to support -a (which does end-of-line
> conversions), I would suggest using a rather different
> set of heuristics that examines end-of-line sequences
> and control characters only:
>    * Any byte value <31 that's not CR or LF: not text

More carefully - <32, TAB and ^Z (MSDOS EOT) must be 
allowed too and perhaps ^L.

-- 
http://ache.pp.ru/


More information about the svn-src-all mailing list