Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/nathanw_sa]: src/lib/libpthread/arch/i386 Clear _UC_USER bit when conver...
details: https://anonhg.NetBSD.org/src/rev/514ea46ecb24
branches: nathanw_sa
changeset: 506539:514ea46ecb24
user: nathanw <nathanw%NetBSD.org@localhost>
date: Fri Dec 06 21:22:39 2002 +0000
description:
Clear _UC_USER bit when converting from sigcontext to ucontext.
diffstat:
lib/libpthread/arch/i386/pthread_md.h | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (17 lines):
diff -r b1def2b83ad5 -r 514ea46ecb24 lib/libpthread/arch/i386/pthread_md.h
--- a/lib/libpthread/arch/i386/pthread_md.h Fri Dec 06 21:17:48 2002 +0000
+++ b/lib/libpthread/arch/i386/pthread_md.h Fri Dec 06 21:22:39 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pthread_md.h,v 1.1.2.8 2002/10/22 01:26:42 nathanw Exp $ */
+/* $NetBSD: pthread_md.h,v 1.1.2.9 2002/12/06 21:22:39 nathanw Exp $ */
/*-
* Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -173,6 +173,7 @@
(uc)->uc_mcontext.__gregs[_REG_SS] = (sc)->sc_ss; \
(uc)->uc_mcontext.__gregs[_REG_TRAPNO] = (sc)->sc_trapno; \
(uc)->uc_mcontext.__gregs[_REG_ERR] = (sc)->sc_err; \
+ (uc)->uc_flags &= ~_UC_USER; \
} while (/*CONSTCOND*/0)
#endif /* _LIB_PTHREAD_I386_MD_H */
Home |
Main Index |
Thread Index |
Old Index