Toolmaster/GSharp
Go to AVS Home Page
 Recent Releases
AVS/Express 7.3 Released
OpenViz 2.9 Released
Toolmaster 7.5.3 Released
AVS 5.7 Released
 Contact Support
 Licensing
Information on licensing AVS 
products
 
Interact with the AVS Developer 
community. Takes you out of 
the support web site

 


Uniras 7.0 - Patch P0701

PATCH NO:    P0701
DATE: 26-01-1998
SUBJECT: Solve XtRealloc problem on SunOS 4.1.x

ABSTRACT

Gsharp aborts under SunOs with "Xt ERROR: cannot perform realloc" messages.

SOLUTION

This patch is due to an error in realloc on SunOS. If called with the legal zero size, it will malfunction. We implement our own private version of XtRealloc. It shows the same behaviour as P0141 in UNIRAS 6.5A, but is caused by realloc(ptr,size) not being able to handle size=0, while the former one was caused by XtRealloc(ptr, size) not always being able to handle ptr=NULL.

AVAILABLE PLATFORMS

Sun SPARC - SunOS 4.1.4


To install this patch, download the object module above into your $UNIDIR/lib directory, then do

cd $UNIDIR/lib
ar rv libggui.a XutUtil.o
unigen Gsharp