ID:         h13
Name:       fix_libcall_tests
Created:    12/18/2001
Based on:   v2.15
Prereqs:    none

This Hax corrects all of the calls to C library functions (I think I found
them all).  For those functions that are documented as returning -1 in the
event of an error, the Hercules code checked for "< 0".  While it seems to
work just fine this way for now, it may cause problems later or on other
platforms.

I did check the man pages and manuals on Linux, AIX, Windows, and OS/390.
They all specifically state that the return value is -1, so it is simply
wrong to check for "< 0".

===============================================================================