🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.c++.leda
Article #3

STRING_CONSTRUCTOR limits strings to 512 byte

#3
From: Peter Haumer
Date: Mon, 31 Jul 1995 16:04
20 lines
1128 bytes
Hi.

The macro STRING_CONSTRUCTOR in _string.c limits the size of strings to 
512 bytes. I don't think that this is necessary. Does anybody know, why it
is is implemenented in this way? 

There should be at least an assertion for a precondition or a size check 
in the macro. Programs which want to construct longer strings with varargs
just crash/core dump.


Thanks in advance,
	Peter.


--
____________________________________________________________________________
Peter Haumer                                haumer@informatik.rwth-aachen.de
Lehrstuhl Informatik V       Tel:+49-(0)241-80-21510 Fax:+49-(0)241-8888-321
RWTH Aachen                             Ahornstr.55, 52056 Aachen, (Germany)
Technical Details
Message-ID: <3viuuv$dcl@news.rwth-aachen.de>
Path: arc1-ca.pugleaf.net!news.rwth-aachen.de!haumer

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!news.rwth-aachen.de!haumer
From: haumer@informatik.rwth-aachen.de (Peter Haumer)
Newsgroups: comp.lang.c++.leda
Subject: STRING_CONSTRUCTOR limits strings to 512 byte
Date: 31 Jul 1995 16:04:47 GMT
Organization: RWTH -Aachen / Rechnerbetrieb Informatik
Message-ID: <3viuuv$dcl@news.rwth-aachen.de>
NNTP-Posting-Host: hopper.informatik.rwth-aachen.de
X-Newsreader: NN version 6.5.0 #4 (NOV)