Return-Path: Delivered-To: apmail-httpd-cvs-archive@httpd.apache.org Received: (qmail 24893 invoked by uid 500); 18 Jun 2002 04:08:27 -0000 Mailing-List: contact cvs-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list cvs@httpd.apache.org Received: (qmail 24882 invoked by uid 500); 18 Jun 2002 04:08:27 -0000 Delivered-To: apmail-apache-1.3-cvs@apache.org Date: 18 Jun 2002 04:08:26 -0000 Message-ID: <20020618040826.10243.qmail@icarus.apache.org> From: wrowe@apache.org To: apache-1.3-cvs@apache.org Subject: cvs commit: apache-1.3/src/os/win32 os.h X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N wrowe 2002/06/17 21:08:26 Modified: src/ap ap.dsp src/os/win32 os.h Log: We are safe. We don't need this according to MSVC docs assertions. Revision Changes Path 1.15 +0 -4 apache-1.3/src/ap/ap.dsp Index: ap.dsp =================================================================== RCS file: /home/cvs/apache-1.3/src/ap/ap.dsp,v retrieving revision 1.14 retrieving revision 1.15 diff -u -r1.14 -r1.15 --- ap.dsp 18 Jun 2002 02:30:01 -0000 1.14 +++ ap.dsp 18 Jun 2002 04:08:26 -0000 1.15 @@ -119,10 +119,6 @@ SOURCE=.\ap_snprintf.c # End Source File -# Begin Source File - -SOURCE=.\ap_strtol.c -# End Source File # End Group # Begin Group "Header Files" 1.45 +6 -0 apache-1.3/src/os/win32/os.h Index: os.h =================================================================== RCS file: /home/cvs/apache-1.3/src/os/win32/os.h,v retrieving revision 1.44 retrieving revision 1.45 diff -u -r1.44 -r1.45 --- os.h 13 Mar 2002 21:05:36 -0000 1.44 +++ os.h 18 Jun 2002 04:08:26 -0000 1.45 @@ -172,6 +172,12 @@ #define NO_SLACK #include +/* MSVC asserts that strtol "errno is set to ERANGE + * if overflow or underflow occurs" + * Ergo we can use the library strtol safely. + */ +#define ap_strtol strtol + #define NO_OTHER_CHILD #define NO_RELIABLE_PIPED_LOGS