Source-Changes-D archive

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

Re: CVS commit: src/sys



On Wed, Mar 25, 2009 at 06:14:13PM +0900, Izumi Tsutsui wrote:
> darran%NetBSD.org@localhost wrote:
> 
> > Added Files:
> >     src/sys/lib/libkern: crc32.c crc32.h
>  :
> > Adds the fast version of crc32 from zlib to libkern. This should be 
> > generally
> > useful and provide a place to start normalizing the various crc32 routines
> > in the kernel.  The crc32 routine is used in this patch to support GZIP.
> 
> Isn't it better to simply build and link libz
> rather than having a dumb copies in libkern?

What was added to libkern is much simpler than what's in libz (not just
because the libz sources are stylistically gross).  It's not only meant
for use by libz.

Thor


Home | Main Index | Thread Index | Old Index