You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by wr...@apache.org on 2002/06/18 06:40:23 UTC

cvs commit: apache-1.3/src/os/netware os.h

wrowe       2002/06/17 21:40:23

  Modified:    src/os/netware os.h
  Log:
    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.
  
  Revision  Changes    Path
  1.25      +5 -0      apache-1.3/src/os/netware/os.h
  
  Index: os.h
  ===================================================================
  RCS file: /home/cvs/apache-1.3/src/os/netware/os.h,v
  retrieving revision 1.24
  retrieving revision 1.25
  diff -u -r1.24 -r1.25
  --- os.h	13 Mar 2002 21:05:36 -0000	1.24
  +++ os.h	18 Jun 2002 04:40:23 -0000	1.25
  @@ -126,6 +126,11 @@
   #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);