🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.g++.lib.bug
Article #523

USG diffs for libg++ 1.35.0

#523
From: Jyrki Kuoppala
Date: Mon, 29 May 1989 06:38
25 lines
1287 bytes
In article <8905290305.AA24347@csusac.csus.edu>, csusac!cvms!ronald@UCDAVIS writes:
>Here are some patches to make libg++ 1.35.0 compile on under System V.

and goes on with the diffs:

>!   if (rep->len > 0)
>! #if defined(i386)
>!     memset(rep->s, 0, rep->sz * sizeof(short));
>! #else
>!     bzero(rep->s, rep->sz * sizeof(short));
>! #endif

This isn't the right way to do this, as i386 isn't the same thing as
USG.  There are systems using the i386 processor which run BSD (at
least Sequent) and many many systems running USG which are not
i386-based.

I don't know what #ifdefs should be used, since there doesn't seem to
be a standard USG define.  Maybe one should just force users to
explicitly specify USG in their Makefiles and use #ifdef USG in the
g++-include files ?  That doesn't seem a very good alternative.

Anyone got any ideas ?

//Jyrki
Technical Details
Message-ID: <8905290638.AA11095@cs.hut.fi>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!SAUNA.HUT.FI!jkp

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!SAUNA.HUT.FI!jkp
From: jkp@SAUNA.HUT.FI (Jyrki Kuoppala)
Newsgroups: gnu.g++.lib.bug
Subject: USG diffs for libg++ 1.35.0
Message-ID: <8905290638.AA11095@cs.hut.fi>
Date: 29 May 89 06:38:52 GMT
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: Helsinki University of Technology, Finland.
Lines: 25