Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: [netbsd-4] src/lib/libc/arch
Module Name: src
Committed By: bouyer
Date: Sat Dec 9 12:01:17 UTC 2006
Modified Files:
src/lib/libc/arch/arm/gen [netbsd-4]: resumecontext.c
src/lib/libc/arch/hppa/gen [netbsd-4]: resumecontext.c
src/lib/libc/arch/mips/gen [netbsd-4]: resumecontext.c
src/lib/libc/arch/powerpc/gen [netbsd-4]: resumecontext.c
src/lib/libc/arch/powerpc64/gen [netbsd-4]: resumecontext.c
src/lib/libc/arch/sh3/gen [netbsd-4]: resumecontext.c
src/lib/libc/arch/sh5/gen [netbsd-4]: resumecontext.c
src/lib/libc/arch/sparc/gen [netbsd-4]: resumecontext.c
src/lib/libc/arch/vax/gen [netbsd-4]: resumecontext.c
Log Message:
Pull up following revision(s) (requested by martin in ticket #264):
lib/libc/arch/sh5/gen/resumecontext.c: revision 1.2
lib/libc/arch/sh3/gen/resumecontext.c: revision 1.3
lib/libc/arch/sparc/gen/resumecontext.c: revision 1.3
lib/libc/arch/powerpc/gen/resumecontext.c: revision 1.3
lib/libc/arch/arm/gen/resumecontext.c: revision 1.3
lib/libc/arch/mips/gen/resumecontext.c: revision 1.3
lib/libc/arch/vax/gen/resumecontext.c: revision 1.2
lib/libc/arch/powerpc64/gen/resumecontext.c: revision 1.2
lib/libc/arch/hppa/gen/resumecontext.c: revision 1.2
Sync all resumecontext.c versions with the changes originally made
by Matthias Drochner to i386 and alpha:
-check for a NULL uc_link before calling setcontext(2); do a real exit(3)
instead with exit handlers and all that
-If setcontext(2) returns (which it shouldn't), do an _exit(-1) rather
than relying on a sensible return value to use as exit code. Makes
it less likely that an ucontext corruption goes unnoticed.
To generate a diff of this commit:
cvs rdiff -r1.2 -r1.2.16.1 src/lib/libc/arch/arm/gen/resumecontext.c
cvs rdiff -r1.1 -r1.1.10.1 src/lib/libc/arch/hppa/gen/resumecontext.c
cvs rdiff -r1.2 -r1.2.16.1 src/lib/libc/arch/mips/gen/resumecontext.c
cvs rdiff -r1.2 -r1.2.16.1 src/lib/libc/arch/powerpc/gen/resumecontext.c
cvs rdiff -r1.1 -r1.1.4.1 src/lib/libc/arch/powerpc64/gen/resumecontext.c
cvs rdiff -r1.2 -r1.2.16.1 src/lib/libc/arch/sh3/gen/resumecontext.c
cvs rdiff -r1.1 -r1.1.16.1 src/lib/libc/arch/sh5/gen/resumecontext.c
cvs rdiff -r1.2 -r1.2.16.1 src/lib/libc/arch/sparc/gen/resumecontext.c
cvs rdiff -r1.1 -r1.1.16.1 src/lib/libc/arch/vax/gen/resumecontext.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