Article View: comp.sys.next.programmer
Article #558NeXT-cc bug report
From: Ralf E. Stranzenbach
Date: Tue, 07 Apr 1992 08:48
Date: Tue, 07 Apr 1992 08:48
22 lines
918 bytes
918 bytes
Hi,
the following code fragment did _not_ compile properly:
void some_function (char * s)
{
char * d;
d = strcpy (alloca (strlen (s) + 1), s);
printf ("%s copied as %s\n", s, d);
}
There are some problems using "alloca" as part of a functions
parameter list.
- ralf
--
Ralf E.Stranzenbach - (NeXT)-Mail: ralf@reswi.en.open.de
Fido: via 2:245/5800.12
(Voice)-Phone: +49 2302 / 68403
--
In jedem grossen Problem steckt ein kleines, das gerne raus will.
Technical Details
Message-ID:
<1992Apr7.084848.29747@reswi.en.open.de>Path:
arc1-ca.pugleaf.net!sparky!uunet!math.fu-berlin.de!unido!horga!ruhr.de!reswi!ralfShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!math.fu-berlin.de!unido!horga!ruhr.de!reswi!ralf From: ralf@reswi.en.open.de (Ralf E. Stranzenbach) Newsgroups: comp.sys.next.programmer Subject: NeXT-cc bug report Message-ID: <1992Apr7.084848.29747@reswi.en.open.de> Date: 7 Apr 92 08:48:48 GMT Sender: ralf@reswi.en.open.de Organization: News on RESWI from ENtenhausen.OPEN.DE Lines: 22