Hi,

> Move 
> <stdio.h> to <stdio-vanilla.h>, include the vanilla header in the new 
> <stdio.h>, then redefine the functions with assertions... unless NDEBUG is 
> defined. This would be a lot easier to work with, as a sysadmin, and would 
> work transparently with all packages.
The only problem is that we will get errors even when there is a check 
in the code. I'm however going to recompile something smaller 
(coreutils, bash) and then see how it works...

Fine, done... I've tried coreutils with checks in unistd.h and malloc.h, 
bits/stdio2.h, bits/wchar2.h, stat.h, stdio.h and stdlib.h I'll try 
tomorrow. It looks quite good. Coreutils testsuite went OK... I'm see 
tomorrow...
-- 
http://linuxfromscratch.org/mailman/listinfo/hlfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to