Subject: port-pc532/2311: fpsetsticky doesn't clear sticky bits
To: None <gnats-bugs@NetBSD.ORG>
From: None <leo@marco.de>
List: netbsd-bugs
Date: 04/09/1996 11:37:00
>Number: 2311
>Category: port-pc532
>Synopsis: fpsetsticky doesn't clear sticky bits
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: gnats-admin (GNATS administrator)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Apr 9 05:50:04 1996
>Last-Modified:
>Originator: Matthias Pfaller
>Organization:
leo@dachau.marco.de in real life: Matthias Pfaller
marco GmbH, 85221 Dachau, Germany tel: +49 8131 516142
>Release: 950403
>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);
>Audit-Trail:
>Unformatted: