Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src



Module Name:    src
Committed By:   riastradh
Date:           Tue Apr 22 17:01:31 UTC 2025

Modified Files:
        src/lib/libc/arch/mips/gen: _setjmp.S
        src/tests/lib/libc/setjmp: t_setjmp.c

Log Message:
mips: Fix _longjmp(..., 0) so _setjmp returns 1 as intended.

_setjmp (like setjmp and sigsetjmp) is only permitted to return 0 the
first time around.

PR port-mips/59285: _longjmp(..., 0) makes setjmp return 0, not 1


To generate a diff of this commit:
cvs rdiff -u -r1.26 -r1.27 src/lib/libc/arch/mips/gen/_setjmp.S
cvs rdiff -u -r1.4 -r1.5 src/tests/lib/libc/setjmp/t_setjmp.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index