Module Name: src
Committed By: martin
Date: Wed Mar 13 08:05:46 UTC 2013
Modified Files:
src/lib/libc/arch/alpha/gen: __longjmp14.c
Log Message:
Remove clearing of ucontext_t, the only random register values now are
argument and scratch registers (which will be reloaded after return anyway).
To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/lib/libc/arch/alpha/gen/__longjmp14.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/lib/libc/arch/alpha/gen/__longjmp14.c
diff -u src/lib/libc/arch/alpha/gen/__longjmp14.c:1.6 src/lib/libc/arch/alpha/gen/__longjmp14.c:1.7
--- src/lib/libc/arch/alpha/gen/__longjmp14.c:1.6 Tue Mar 12 19:38:20 2013
+++ src/lib/libc/arch/alpha/gen/__longjmp14.c Wed Mar 13 08:05:46 2013
@@ -1,4 +1,4 @@
-/* $NetBSD: __longjmp14.c,v 1.6 2013/03/12 19:38:20 martin Exp $ */
+/* $NetBSD: __longjmp14.c,v 1.7 2013/03/13 08:05:46 martin Exp $ */
/*-
* Copyright (c) 2003 The NetBSD Foundation, Inc.
@@ -56,8 +56,6 @@ __longjmp14(jmp_buf env, int val)
if (val == 0)
val = -1;
- memset(&uc, 0, sizeof uc);
-
/* Set _UC_SIGMASK and _UC_CPU */
uc.uc_flags = _UC_SIGMASK | _UC_CPU;