Mail Archives: djgpp-workers/2000/06/26/17:02:44
DJ Delorie wrote:
>
> > -#include <libc/stubs.h>
>
> This include is *never* redundant. Without this, we will create a
> libc that violates ANSI/POSIX namespace rules. Please do not remove
> includes just because it "compiles anyway" without them. They're
> there for a reason.
Yes; I knew that libc/stubs.h is special. So I looked there
at first, and I haven't found any #define chown __chown,
neither there was any function (in fact, single __file_exists)
referenced. So I assumed that removing it was safe. Is this
assumption wrong? Or is it general policy to #include <libc/stubs.h>
everywhere in libc sources to play safe?
Laurynas
- Raw text -