source code conventions
Al Stone
ahs3 at fc.hp.com
Wed Mar 7 15:56:08 PST 2007
In the file libc/stdio/_stdio.c on line 195, there is the line:
#warning check
More specifically, the context around it looks like this:
/* First, make sure the open file list is unlocked. If it was
* locked, then I suppose there is a chance that a pointer in the
* chain might be corrupt due to a partial store.
*/
__stdio_init_mutex(&_stdio_openlist_add_lock);
#warning check
#ifdef __STDIO_BUFFERS
__stdio_init_mutex(&_stdio_openlist_del_lock);
#endif
I'm sure the warning is trying to tell me something, to signal
some sort of intent; could someone explain what the intent is?
Is this meant to remind me to check the definition of __STDIO_BUFFERS,
or of __stdio_init_mutex()? Both? Or is just a note indicating I got
that far?
Thanks.
--
Ciao,
al
----------------------------------------------------------------------
Al Stone Alter Ego:
Open Source and Linux R&D Debian Developer
Hewlett-Packard Company http://www.debian.org
E-mail: ahs3 at fc.hp.com ahs3 at debian.org
----------------------------------------------------------------------
More information about the uClibc
mailing list