From cd29bf72fcfb888d366a7900f452ed3e71bc0772 Mon Sep 17 00:00:00 2001 From: martin Date: Wed, 13 Mar 2013 08:05:46 +0000 Subject: [PATCH] Remove clearing of ucontext_t, the only random register values now are argument and scratch registers (which will be reloaded after return anyway). --- lib/libc/arch/alpha/gen/__longjmp14.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/libc/arch/alpha/gen/__longjmp14.c b/lib/libc/arch/alpha/gen/__longjmp14.c index 3be30c687e25..b641a0769e23 100644 --- a/lib/libc/arch/alpha/gen/__longjmp14.c +++ b/lib/libc/arch/alpha/gen/__longjmp14.c @@ -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;