2 November 2004

This is an approved src.alt for 300.twolf in CPU2000 v1.2.  It addresses
an issue with a call to the C function free which passes two parameters instead 
of the standards-compliant one parameter. 

To apply the src.alt, unpack the tar file in the top level of the CPU2000
directory.  The following sequence of commands should accomplish this:

$ /bin/sh
$ cd <cpu2000 dir>
$ . ./shrc
$ go top
$ specgzip -dc <src.alt tarball> | spectar -xvf -

Please replace the items in angle brackets ( <> ) as appropriate.

To have the src.alt applied during compilation, please add the following
stanza to your config file:

# Enable 300.twolf standards-compliant free src.alt
300.twolf=default=default=default:
srcalt=stdfree

This src.alt makes one performance neutral portability-related change to
300.twolf:

In the file lists.h, a  macro called FREENODE is defined as:
#define FREENODE(Type,node)\
free(node,sizeof(Type));

This has ben chnaged in the src.alt version to:
#define FREENODE(Type,node)\
free(node);

Please address any questions about this src.alt to cpu2000support@spec.org.
