*BSD News Article 23692


Return to BSD News archive

Xref: sserve comp.os.386bsd.bugs:1793 comp.bugs.4bsd:2002
Path: sserve!newshost.anu.edu.au!munnari.oz.au!constellation!osuunx.ucc.okstate.edu!moe.ksu.ksu.edu!crcnis1.unl.edu!wupost!spool.mu.edu!sol.ctr.columbia.edu!destroyer!news.itd.umich.edu!rees
From: Jim.Rees@umich.edu
Newsgroups: comp.os.386bsd.bugs,comp.bugs.4bsd
Subject: Re: bcd bug
Date: 11 Nov 1993 01:20:02 GMT
Organization: University of Michigan CITI
Lines: 31
Distribution: world
Message-ID: <2bs402$9rm@terminator.rs.itd.umich.edu>
References: <1993Nov4.171732.8141@diana.ocunix.on.ca>
NNTP-Posting-Host: aqaba.citi.umich.edu

In article <1993Nov4.171732.8141@diana.ocunix.on.ca>, db@diana.ocunix.on.ca (Dyane Bruce) writes:

  The bug is on my home system (SUN 3/60 running
  SUN OS 4.1.1) so it has been around for a while in BSD. 'bcd'
  produces the same 'punch' code for both 'Q' and 'R'.

The oldest copy of 'bcd' I can find has an sccs id from 1982 on it.  I found
it in the bsd4.2 sources, but it apparently was unmodified from the 32v
source, which in turn would have come from v7.

It does, in fact, have the same bug.  For completeness, here is the fix:

*** bcd.c-	Wed Nov 10 20:13:19 1993
--- bcd.c	Wed Nov 10 20:13:37 1993
***************
*** 53,59 ****
  0402,
  01002,
  02002,
! 02002,
  024,
  044,
  0104,
--- 53,59 ----
  0402,
  01002,
  02002,
! 04002,
  024,
  044,
  0104,