]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
According to Watcom and other docs, it appears Netware users can trust
authorWilliam A. Rowe Jr <wrowe@apache.org>
Tue, 18 Jun 2002 04:40:23 +0000 (04:40 +0000)
committerWilliam A. Rowe Jr <wrowe@apache.org>
Tue, 18 Jun 2002 04:40:23 +0000 (04:40 +0000)
  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

src/os/netware/os.h

index 55153a133109f3886f0b062565a9b7e7108f0f18..be95fe7b12ef812dc103a75815f4f6a4a19b1a95 100644 (file)
@@ -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);