Source-Changes archive

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

sun-lamp CVS commits

Sun Oct  9 21:46:46 PDT 1994
Update of /b/source/CVS/src/lib/libc/gen
In directory

Modified Files: siglist.c 
Added Files:
        _errlist.c _siglist.c errlist.c 
Removed Files:
Log Message:
Renamed sys_errlist[] and sys_nerr to __sys_errlist[] and __sys_nerr.
The traditional API of sys_errlist[] and sys_nerr is provided by weak
references if they are supported.  Otherwise, we're forced to have to
have two copies of the error message string table in the library.  
Fortunately, unless a program uses both sys_errlist[] and strerror(),
only one of the copies will be linked into the executable.

This is all to provide an clean namespace as required by ANSI.  I've 
done the same for sys_siglist[], even though it is not required, to
be consistant.

Home | Main Index | Thread Index | Old Index