NetBSD Problem Report #2793

Received: (qmail-queue invoked from smtpd); 30 Sep 1996 14:58:34 -0000
Message-Id: <199609301456.AAA00330@siren.awadi.com.au>
Date: Tue, 1 Oct 1996 00:26:26 +0930 (CST)
From: Brett Lymn (Master of the Siren) <blymn@siren.awadi.com.au>
Reply-To: blymn@awadi.com.au
To: gnats-bugs@gnats.netbsd.org
Subject: Bug in ultrix port 
X-Send-Pr-Version: 3.95

>Number:         2793
>Category:       port-vax
>Synopsis:       Typo in ultrix_compat ioctl code
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    gnats-admin
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Sep 30 08:05:00 +0000 1996
>Closed-Date:    Mon May 05 22:46:58 +0000 1997
>Last-Modified:  Wed Aug 07 22:24:29 +0000 2002
>Originator:     Brett Lymn (Master of the Siren)
>Release:        1.2_BETA
>Organization:
Brett Lymn
>Environment:

System: NetBSD siren 1.2_BETA NetBSD 1.2_BETA (SIREN.NCR) #1: Thu Aug 29 21:23:05 CST 1996 toor@siren:/usr/src/sys/arch/i386/compile/SIREN.NCR i386


>Description:
While grepping for ifdefs I noticed a typo in the ultrix compat code that 
will result in the termio structure not being filled in correctly.

>How-To-Repeat:
Look in:
/usr/src/sys/compat/ultrix/ultrix_ioctl.c

for this line:

#ifdef CMOPAT_ULTRIX

>Fix:
Left as an exercise for the student ;-)

>Release-Note:
>Audit-Trail:

From: Jonathan Stone <jonathan@netbsd1.cygnus.com>
To: GNATS administrator <gnats-admin@NetBSD.ORG>
Cc: gnats-bugs@gnats.netbsd.org
Subject: Re: port-vax/2793: Typo in ultrix_compat ioctl code
Date: 5 May 1997 22:49:25 -0000

 	`Jonathan Stone' made changes to this PR.

 --- /tmp/gnats009145	Mon May  5 15:46:43 1997
 +++ /tmp/gnatsa09145	Mon May  5 15:46:58 1997
 @@ -18,7 +18,7 @@
  >Severity:       non-critical
  >Priority:       low
  >Responsible:    gnats-admin (GNATS administrator)
 ->State:          open
 +>State:          closed
  >Class:          sw-bug
  >Submitter-Id:   net
  >Arrival-Date:   Mon Sep 30 08:05:00 1996

 Fixed by changing to `#ifdef notdef'.

 This buglet was brought up in the 1.2 release cycle. I thought
 it was fixed then; apparently not.

 The problem is that NetBSD doesn't provide an `VSWTCH' character to
 give to the Ultrix emulation code. The best solution is to always set
 the Ultridx VSWTCH to zero.  This is what the code with the typo did.

 The broken #ifdef has been changed to `#ifdef notdef', and the
 comment now clarifies why this feature isn't emulated.
>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.