Message38775
Logged In: YES
user_id=45365
Brad,
I think this patch might be asking for too much. You're asking that all accesses to errno be replaced by GetErrno() or SetErrno() calls, really...
And for many cases there is a workaround, where you don't have to change user code (i.e. the normal C code still uses what it thinks is an errno variable). On my system errno is
#define errno (*__error())
and the __error() routine returns a pointer to the errno-variable for the current thread. For the GetErrno function this would be good enough, and with a bit of effort you could probably get it to work for the Set function too (possibly by doing the actual Set work in the next Get call).
|
|
Date |
User |
Action |
Args |
2007-08-23 15:10:40 | admin | link | issue505846 messages |
2007-08-23 15:10:40 | admin | create | |
|