NetBSD-Bugs archive

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

PR/59285 CVS commit: src



The following reply was made to PR port-mips/59285; it has been noted by GNATS.

From: "Taylor R Campbell" <riastradh%netbsd.org@localhost>
To: gnats-bugs%gnats.NetBSD.org@localhost
Cc: 
Subject: PR/59285 CVS commit: src
Date: Tue, 22 Apr 2025 17:01:31 +0000

 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