[klibc] [klibc:master] arm/setjmp.S: fix longjmp

Thorsten Glaser tg at mirbsd.de
Sun Jul 22 08:50:42 PDT 2012


H. Peter Anvin dixit:

> klibc explicitly considers longjmp(..., 0) to be user error

This IMO is a possibly dangerous deviation from guaranteed¹
behaviour, and hard to track down. Also, checking this in
longjmp asm probably is easier than to offload this to all
users.

bye,
//mirabilos

① http://pubs.opengroup.org/onlinepubs/9699919799/functions/longjmp.html
-- 
<Natureshadow> Dann mach ich git annex copy --to shore und fertig ist das
<Natureshadow> das ist ja viel cooler als ownCloud ...
<mirabilos> sag ich doch
<Natureshadow> ja wieso stimmt das denn immer was du sagst ...



More information about the klibc mailing list