From owner-freebsd-hackers Tue May 6 10:45:33 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id KAA23696 for hackers-outgoing; Tue, 6 May 1997 10:45:33 -0700 (PDT) Received: from phaeton.artisoft.com (phaeton.Artisoft.COM [198.17.250.50]) by hub.freebsd.org (8.8.5/8.8.5) with SMTP id KAA23686 for ; Tue, 6 May 1997 10:45:29 -0700 (PDT) Received: (from terry@localhost) by phaeton.artisoft.com (8.6.11/8.6.9) id KAA18811; Tue, 6 May 1997 10:41:49 -0700 From: Terry Lambert Message-Id: <199705061741.KAA18811@phaeton.artisoft.com> Subject: Re: /usr/include/ftpio.h is not C++ safe To: rb@gid.co.uk (Bob Bishop) Date: Tue, 6 May 1997 10:41:49 -0700 (MST) Cc: bde@zeta.org.au, hackers@FreeBSD.ORG, jkh@time.cdrom.com, nadav@barcode.co.il, gclarkii@main.gbdata.com In-Reply-To: from "Bob Bishop" at May 6, 97 06:41:49 am X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > I have *shitloads* of old code around (mostly in clients' systems) which > breaks in subtle and mysterious ways when naively ported to ANSI C. It > often boils down to ANSI having broken the portability of comparing chars > with constants [don't get me started, it's a couple of years since I had a > good rant about that one :-)]. > > -traditional is a life-saver. Heh. I have a CDROM I bought from Walnut Creek that is almost totally K&R code... comp.unix.sources, anyone? "The Liquidators are in control!!! (-trol!) (-trol!)... ACT Now! (-ow!) (-ow!)... All K&R code MUST go! Blowout prices! You haven't seen deals like this! Today and tomorrow only, at the Holiday Inn! (-nn!) (-nn!)" Why do I feel the ANSI people are selling the history of the UNIX culture down the river? Regards, Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers.