🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.x
Article #37460

Re: X11R4 under HP-UX 7.0

#37460
From: Mark Davies
Date: Sun, 04 Mar 1990 04:22
27 lines
1632 bytes
I write about X clients failing under HP-UX 7.0 with:
	 Cannot perform realloc

In article <1990Mar2.185840.24495@arnor.uucp> dgreen@cs.ucla.edu writes:
>This is exactly the problem I had.  A similar problem was reported to me
>by a colleague at Washington State University.  I posted a request for 
>help to comp.sys.hp about three weeks ago.  I received this response from
>Kris Olander, who runs on a 9000/340:

>> I've compiled X11R4 (with patched through fix-2) with very few
>> difficulties.   I wasn't able to startup X fresh from compiling until
>> I made /usr/bin/X a soft link to /usr/bin/Xhp, chmod 2755 on Xhp,xterm,
>> and xload, and finally, chgrp sys Xhp,xterm,xload.

>IF THE ABOVE METHOD SOLVES THE "Cannot perform realloc" PROBLEM, COULD
>SOMEONE PLEASE LET ME KNOW BY E-MAIL?  Thanks.

No it doesn't.

The correct fix came from Bob May <bobm@hpcvlx.cv.hp.com> in article
<100920183@hpcvlx.cv.hp.com> in comp.windows.x.

Seems under 7.0 you need to define MALLOC_0_RETURNS_NULL.
I did this and everything now works smoothly.

cheers
mark
Technical Details
Message-ID: <1990Mar4..3633@kaukau.comp.vuw.ac.nz>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!samsung!munnari.oz.au!kaukau.comp.vuw.ac.nz!mark
References: <1990Mar1.220422.19821@kaukau.comp.vuw.ac.nz> <1990Mar2.185840.24495@arnor.uucp>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!samsung!munnari.oz.au!kaukau.comp.vuw.ac.nz!mark
From: mark@comp.vuw.ac.nz (Mark Davies)
Newsgroups: comp.windows.x,comp.sys.hp
Subject: Re: X11R4 under HP-UX 7.0
Message-ID: <1990Mar4..3633@kaukau.comp.vuw.ac.nz>
Date: 4 Mar 90 04:22:50 GMT
References: <1990Mar1.220422.19821@kaukau.comp.vuw.ac.nz> <1990Mar2.185840.24495@arnor.uucp>
Sender: news@kaukau.comp.vuw.ac.nz (News Admin)
Organization: Dept. of Comp. Sci., Victoria Uni. of Wellington, New Zealand.
Lines: 27