NetBSD Problem Report #2311

From gnats  Tue Apr  9 05:45:48 1996
Received: from idefix.dachau.marco.de by pain.lcs.mit.edu (8.7.4/8.6.12) with SMTP id FAA19246 for <gnats-bugs@gnats.netbsd.org>; Tue, 9 Apr 1996 05:37:49 -0400 (EDT)
Message-Id: <m0u6Zrb-000D3NC@tabatha.dachau.marco.de>
Date: Tue, 9 Apr 96 11:37 MET DST
From: leo@marco.de
Reply-To: leo@dachau.marco.de (Matthias Pfaller)
To: gnats-bugs@gnats.netbsd.org
Subject: fpsetsticky doesn't clear sticky bits
X-Send-Pr-Version: 3.2

>Number:         2311
>Category:       port-pc532
>Synopsis:       fpsetsticky doesn't clear sticky bits
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    gnats-admin
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Apr 09 05:50:04 +0000 1996
>Closed-Date:    Tue Apr 09 17:00:44 +0000 1996
>Last-Modified:  Tue Apr 09 17:01:12 +0000 1996
>Originator:     Matthias Pfaller
>Release:        950403
>Organization:
leo@dachau.marco.de			in real life: Matthias Pfaller
marco GmbH, 85221 Dachau, Germany	tel: +49 8131 516142
>Environment:

System: NetBSD klondike 1.1B NetBSD 1.1B (KLONDIKE) #8: Mon Apr 8 22:44:05 MET DST 1996 leo@klondike:/usr/src/sys/arch/pc532/compile/KLONDIKE pc532


>Description:
	This is a patch to PR# port-pc532/2281. My original patch contains
	an error.
>How-To-Repeat:
>Fix:
--- lib/libc/arch/ns32k/gen/fpsetsticky.c.bak	Sun Mar 31 17:49:24 1996
+++ lib/libc/arch/ns32k/gen/fpsetsticky.c	Sun Apr  7 23:37:28 1996
@@ -23,7 +23,7 @@
 	sfsr(old);

 	new = old;
-	new &= ~ebits;
+	new &= ebits;
 	new |= (sticky & ebits) << 1;

 	lfsr(new);
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: phil 
State-Changed-When: Tue Apr 9 13:00:44 EDT 1996 
State-Changed-Why:  
Patch applied. 
>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.