Source-Changes archive

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

Re: CVS commit: src/sys/lib/libsa




Am 17.03.2008 um 11:41 schrieb Alan Barrett:
On Sat, 15 Mar 2008, David Laight wrote:
        src/sys/lib/libsa: dosfs.c
Log Message:
Add a local strcasecmp() instead of pulling the bloat from libkern.
can't we use reachover to common/lib/libc/string?
That is where libkern gets it from, and is the function I'm trying
to avoid!

Is there an easy way of saying

        #if optimise_for_space
                use this implementation
        #else
                use another implementation
        #endif

?

At least sysinst and some other tools for installation #define SMALL,
so that's easy to test. I guess other environments that are intended
to optimize for space (libsa?) should do so, too.


 - Hubert


Home | Main Index | Thread Index | Old Index