summaryrefslogtreecommitdiffstats
path: root/sbin
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2002-11-14 06:40:23 +0000
committermarcel <marcel@FreeBSD.org>2002-11-14 06:40:23 +0000
commit52879ad635271f7e0691556937b3d38503566f44 (patch)
tree49e1c1b348b431ba43148e35744edd8c5a88af6c /sbin
parentaabe0b2183ab18738e1b5761a4251a12305a17b1 (diff)
downloadFreeBSD-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 'sbin')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud