From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,3a4e53f5e824c X-Google-Attributes: gid11318c,public X-Google-Thread: fee84,3a4e53f5e824c X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1994-06-14 04:46:57 PST Path: nntp.gmd.de!xlink.net!howland.reston.ans.net!agate!overload.lbl.gov!lll-winken.llnl.gov!decwrl!pa.dec.com!nntpd.lkg.dec.com!alingo.zk3.dec.com!werme From: werme@alingo.zk3.dec.com (Eric Werme) Newsgroups: comp.unix.osf.osf1,gnu.gcc.help Subject: Re: sbrk --- was Re: cannot get to install gcc-2.5.8 on OSF system Date: 14 Jun 94 11:36:20 GMT Organization: Digital Equipment Corporation Distribution: usa Message-ID: References: <2thvmb$1hp7@source.asset.com> <2tibql$i4@fermat.mayo.edu> Reply-To: werme@zk3.dec.com NNTP-Posting-Host: alingo.zk3.dec.com Xref: nntp.gmd.de comp.unix.osf.osf1:3788 gnu.gcc.help:7506 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.