From: William A. Rowe Jr Date: Tue, 18 Jun 2002 04:40:23 +0000 (+0000) Subject: According to Watcom and other docs, it appears Netware users can trust X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f830e72acb7dea6f1411635206dfec16595178c2;p=thirdparty%2Fapache%2Fhttpd.git According to Watcom and other docs, it appears Netware users can trust the clib to return ERANGE, so let's punt this to release, and let our friends at Netware author any necessary patches down the line. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@95760 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/os/netware/os.h b/src/os/netware/os.h index 55153a13310..be95fe7b12e 100644 --- a/src/os/netware/os.h +++ b/src/os/netware/os.h @@ -126,6 +126,11 @@ typedef int tid_t; #define mktemp(s) tmpnam(s) #define _getch getch +/* Watcom reports that ERANGE is returned properly for any out of bounds + * conditions, with a MIN/MAX_LONG value. This should be safe. + */ +#define ap_strtol strtol + #define opendir_411(p) os_opendir(p) #define opendir(p) os_opendir(p) DIR *os_opendir (const char *pathname);