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/m68k/gen



Module Name:    src
Committed By:   tron
Date:           Fri Dec 15 13:25:59 UTC 2006

Modified Files:
        src/lib/libc/arch/m68k/gen [netbsd-4]: resumecontext.S

Log Message:
Pull up following revision(s) (requested by martin in ticket #273):
        lib/libc/arch/m68k/gen/resumecontext.S: revision 1.4
Pull over rev. 1.5 of the i386 version (../../i386/resumecontext.S),
quoting Matthias Drochner:
-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.
This fixes regress/lib/libc/context for m68k.
Thanks to Steve Woodford for optimization hints.


To generate a diff of this commit:
cvs rdiff -r1.3 -r1.3.16.1 src/lib/libc/arch/m68k/gen/resumecontext.S

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