🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.bug
Article #1816

Solution to ioctl problem found (Re: `gcc vs. TIOCGETP ioctl')

#1816
From: Greg Earle
Date: Tue, 18 Oct 1988 22:35
25 lines
1556 bytes
Many people have been gracious enough to point out that the file
/usr/include/sys/ioccom.h
should have been altered and stored in /usr/local/lib/gcc-include/sys by
`fixincludes'.  Because this was not true, I went to find out why.

The real reason for the problem is that the `fixincludes' script does not
work under SunOS 4.0, because it makes use of the `dirname' command which
was inadvertently left off the SunOS 4.0 release tapes.  This causes the
`fixincludes' script to fail for most cases, and a new (fixed) version of
`ioccom.h' was never created.  This caused the problem.

For anyone interested, to fix this problem just obtain a copy of the 
/usr/bin/dirname shell script from any SunOS 3.5 system (or, more specifically,
look at your own SunOS 3.x `dirname'; if it has an sccsid that contains
	`from S5R2 1.2'
then it is a correct version.  To make it a `proper' 4.0 version, change the
version number to `@(#)dirname.sh 1.4 88/02/08'

I have submitted this oversight as a bug.

	- Greg Earle
	  Sun Los Angeles Consulting
	  earle@Sun.COM
	  poseur!earle@lroy.JPL.NASA.GOV	(quicker)
Technical Details
Message-ID: <8810182235.AA04232@prophet.sun.com>
Path: arc1-ca.pugleaf.net!utzoo!telly!ddsw1!lll-winken!killer!mit-eddie!bloom-beacon!tut.cis.ohio-state.edu!SUN.COM!earle%prophet

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!telly!ddsw1!lll-winken!killer!mit-eddie!bloom-beacon!tut.cis.ohio-state.edu!SUN.COM!earle%prophet
From: earle%prophet@SUN.COM (Greg Earle)
Newsgroups: gnu.gcc.bug
Subject: Solution to ioctl problem found (Re: `gcc vs. TIOCGETP ioctl')
Message-ID: <8810182235.AA04232@prophet.sun.com>
Date: 18 Oct 88 22:35:44 GMT
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 24