This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.
Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
"H . J . Lu" <hjl@lucon.org> writes: > >From here, I conclude "The glibc functions do not change `errno' when > they succeed." By not saving/restoring errno, we have changed > documented glibc behavior. We should be consistent on it. I've not written this and it is a stupid assumption. errno must be changeable. Everything depending on errno not being changed is broken. There are exceptions: strtol() etc. But nothing else. The reason is simply that the user must not make any assuptions about the implementation. -- ---------------. ,-. 1325 Chesapeake Terrace Ulrich Drepper \ ,-------------------' \ Sunnyvale, CA 94089 USA Red Hat `--' drepper at redhat.com `------------------------
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |