[uClibc-cvs] cvs commit to uClibc/libc/misc/assert by mjn3

mjn3 at uclibc.org mjn3 at uclibc.org
Mon Oct 28 21:29:22 UTC 2002


Repository: uClibc/libc/misc/assert
who:        mjn3
time:       Mon Oct 28 14:29:22 MST 2002


Log Message:

ANSI/ISO C99 requires assert() to write to stderr.  This means that
writing to STDERR_FILENO is insufficient, as the user could freopen
stderr.  It is also insufficient to output to fileno(stderr) since
this would fail in the custom stream case.  I didn't remove the
old code though, as it doesn't use stdio stream functionality
and is useful in debugging the stdio code.


Files:

changed:    __assert.c




More information about the uClibc-cvs mailing list