From: werme@alingo.zk3.dec.com (Eric Werme)
Subject: Re: sbrk --- was Re: cannot get to install gcc-2.5.8 on OSF system
Date: 14 Jun 94 11:36:20 GMT [thread overview]
Message-ID: <werme.771593780@alingo.zk3.dec.com> (raw)
In-Reply-To: 2tibql$i4@fermat.mayo.edu
stan@chirpa.mayo.edu (Andrew Staniszewski) writes:
>yes,
>DEC added a prototype for sbrk in V2.0, which was not prototyped in V1.3,
>and then they decided, I think as a practicle joke, to prototype it as
>returning (char *) instead of (void *), just to be differnt, especially
>from the original documentation, but in particular from what the rest
>of the world prototypes sbrk to be ....
You'll be relieved that we "saw the light" and in V3.0 have made
this change:
* Changed the declaration of sbrk() from extern char * to extern
* void *. Fixes OSF_QARs #18324 and #20165.
Apologies in advance to all you folks who changed things to expect
char * and get to change back!
Note also:
* Change argument of sbrk from int to ssize_t.
i.e.:
typedef unsigned long size_t;
--
Eric (Ric) Werme | werme@zk3.dec.com
Digital Equipment Corp. | This space intentionally left blank.
prev parent reply other threads:[~1994-06-14 11:36 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1994-06-13 15:58 cannot get to install gcc-2.5.8 on OSF system B.G. Mahesh
1994-06-13 19:25 ` sbrk --- was " Andrew Staniszewski
1994-06-14 11:36 ` Eric Werme [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox