🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.lang.c++
Article #155

Jeff's fixes

#155
From: Bjarne Stroustrup
Date: Sat, 12 Apr 1986 03:47
37 lines
1647 bytes
> From: jeff@warwick.UUCP (Jeff Smith)
> Organization: Computer Science, Warwick University, UK

> Subject: heap store in C++ release 1 with fix (article #3)

> Does anyone know why C++ has its own storage management routines?

To allow me to experiment.
My cfront now uses the standard malloc() & free(), and the bugs you
found were fixed.

> Subject: octal character constants

> I claim that the string "p\01q" is legal, has four characters in it
> (p, SOH, q and NUL)

Yes, try this one liner:

	main() { printf("%d %d\n",strlen("p\01q"),sizeof("p\01q")); }

The correct output is

	3 4

Unfortunately Release 1.0 disagrees (I think, I don't have one).
My cfront agrees (and no, you can't have it, yet).

> Why can't the labs post fixes? Do we all have to work
> in parallel to get the same bugs fixed, only on posting to get a
> comment from Bjarne that it's been fixed in his version? (And no,
> you can't have it!).

I'm probably the one that is most frustrated, but large scale software
distribution is not easy, especially if one does not want to spend
oodles of money on it.

I very much appreciate the fixes being posted. Thanks.
Technical Details
Message-ID: <5294@alice.uUCp>
Path: arc1-ca.pugleaf.net!utzoo!linus!philabs!cmcl2!harvard!talcott!panda!genrad!decvax!bellcore!ulysses!allegra!alice!bs

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!linus!philabs!cmcl2!harvard!talcott!panda!genrad!decvax!bellcore!ulysses!allegra!alice!bs
From: bs@alice.UucP (Bjarne Stroustrup)
Newsgroups: net.lang.c++
Subject: Jeff's fixes
Message-ID: <5294@alice.uUCp>
Date: Fri, 11-Apr-86 22:47:44 EST
Article-I.D.: alice.5294
Posted: Fri Apr 11 22:47:44 1986
Date-Received: Mon, 14-Apr-86 03:30:31 EST
Organization: Bell Labs, Murray Hill
Lines: 38