diff options
author | marcel <marcel@FreeBSD.org> | 2002-11-14 06:40:23 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2002-11-14 06:40:23 +0000 |
commit | 52879ad635271f7e0691556937b3d38503566f44 (patch) | |
tree | 49e1c1b348b431ba43148e35744edd8c5a88af6c /lib/libc/gen/syslog.c | |
parent | aabe0b2183ab18738e1b5761a4251a12305a17b1 (diff) | |
download | FreeBSD-src-52879ad635271f7e0691556937b3d38503566f44.zip FreeBSD-src-52879ad635271f7e0691556937b3d38503566f44.tar.gz |
o Fix _longjmp() to return 1 when the return value is given as 0.
o Remove the unwanted smartness in _longjmp() where it compares
the current ar.bspstore with the saved ar.bspstore and restores
ar.rnat based on it. This either avoids saving ar.rnat in the
jmp_buf or is the consequence of not saving ar.rnat. All this
complexity breaks libc_r where we use longjmp() to switch to
different threads and the current ar.bspstore has no relation
to the saved ar.bspstore. Thus: we save ar.rnat in setjmp()
and simply restore ar.bspstore and ar.rnat in longjmp().
This code needs a cleanup.
Diffstat (limited to 'lib/libc/gen/syslog.c')
0 files changed, 0 insertions, 0 deletions