Date: Sat, 18 Mar 1995 12:58:08 +1000 From: Bruce Evans <bde@zeta.org.au> To: bde@zeta.org.au, davidg@Root.COM Cc: CVS-commiters@freefall.cdrom.com, cvs-sys@freefall.cdrom.com Subject: Re: cvs commit: src/sys/libkern locc.c random.c scanc.c skpc.c libkern.h Message-ID: <199503180258.MAA05407@godzilla.zeta.org.au>
next in thread | raw e-mail | index | archive | help
>>Why do we have a libkern/inet_ntoa.c that is not the same as >>libc/net/inet_ntoa.c? libkern is supposed to contain copies of library >>source files. > NOT! IMNSHO, copying files out of libc for the kernel is extremely evil. It's evil, but will be harder to fix if libkern gets out of sync with the library. How do you want to fix it? I think "pure" modules like strlen.o should be extractedfrom libc.a. It's stupid to use an optimized strlen in libc and a slow generic one in libkern. OTOH, my libkern/mcount.c looks like this :-(: #define KERNEL_OPTION_1 /* XXX kernel options unavailable in libkern */ #define KERNEL_OPTION_2 /* XXX kernel options unavailable in libkern */ #include "../lib/libc/gmon/mcount.c" /* XXX */ Bruce
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199503180258.MAA05407>