Remove the requirement for <stdarg.h> that was introduced to lev_comp. USE_STDARG still works. USE_OLDARGS required hackery but has been tested and actually works, although I wouldn't trust it on platforms where 'long' and 'char *' aren't the same size. USE_VARARGS didn't require any hackery--aside from the conversion to core's pline code-- but has not been tested: <varargs.h> supplied with OSX won't compile, with an #error directive that basically says "switch to <stdarg.h>". I changed several printf formats of %i and %li to %d and %ld because I'm not sure how widespread the 'i' variant was back in days of yore. [TODO: avoid use of snprintf since pre-ANSI systems won't have it.]
62 KiB
62 KiB