real5-redhat9-patch

REAL 5 Red Hat 9 patch info:

What's new:

1) Added include<errno.h> to src/errors.c to address incompatibility with glibc-2.3.2 used in Red Hat 9

problem identified in /usr/docs/glibc-2.3.2/FAQ

errno: If a program uses the variable "errno", then it _must_
include <errno.h>.  The old libc often (erroneously) declared this
variable implicitly as a side-effect of including other libc header
files.  glibc is careful to avoid such namespace pollution, which,
in turn, means that you really need to include the header files that
you depend on.  This difference normally manifests itself in the
form of the compiler complaining about references to an undeclared
symbol "errno".


2) Replaced deprecated sys_errlist[] with strerror in src/errors.c

3)Fixed memory leak in sim/kernel/hash.c, which allows the simulator to run for a significantly longer time without exhausting memory. There may be other memory leaks still; but this was a major one.