*BSD News Article 17799


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!munnari.oz.au!constellation!osuunx.ucc.okstate.edu!moe.ksu.ksu.edu!ux1.cso.uiuc.edu!howland.reston.ans.net!paladin.american.edu!news.univie.ac.at!email.tuwien.ac.at!email.tuwien.ac.at!not-for-mail
From: mbirgmei@email.tuwien.ac.at (Martin BIRGMEIER)
Newsgroups: comp.os.386bsd.bugs
Subject: Re: Help on patchkit-(bug?) in libcompat
Date: 29 Jun 1993 17:56:03 +0200
Organization: Technical University Vienna / Austria
Lines: 30
Message-ID: <20pomj$1kl@email.tuwien.ac.at>
References: <C9DFyG.16n@cosy.sbg.ac.at>
NNTP-Posting-Host: email.tuwien.ac.at

In article <C9DFyG.16n@cosy.sbg.ac.at> peter@cosy.sbg.ac.at  (Peter Burgstaller) writes:
[...]
>because of one error in libcompat.
>
>I get a:
>sgtty.c:19: syntax error before '('
>sgtty.c:22: syntax error before '{'
[...]

Do this, but don't ask me if it's correct :-)

*** /usr/src/lib/libcompat/sgtty.c.ORIG Tue Sep 29 19:44:47 1992
--- /usr/src/lib/libcompat/sgtty.c      Thu Feb 25 10:49:41 1993
***************
*** 16,21 ****
--- 16,24 ----
  #define USE_OLD_TTY           /* Magic incantation*/
  #include <sys/ioctl.h>
  
+ #undef gtty
+ #undef stty
+ 
  int
  gtty( fd, argp)
  int   fd;


Cheers,

Martin