| #
2cb7656b |
| 08-Dec-2006 |
martin <martin@NetBSD.org> |
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 handl
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 also fixes regress/lib/libc/context for sparc64.
show more ...
|