From 90f3d470c333b4fdb5237a17bedadc11ca3a85e4 Mon Sep 17 00:00:00 2001 From: Pierre Joye Date: Mon, 3 May 2010 19:08:26 +0000 Subject: [PATCH] - revert as vc6 does not support strtoi64, update to 5.3 will be the fix --- sapi/apache2handler/sapi_apache2.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/sapi/apache2handler/sapi_apache2.c b/sapi/apache2handler/sapi_apache2.c index 59d691be30..b37569cca8 100644 --- a/sapi/apache2handler/sapi_apache2.c +++ b/sapi/apache2handler/sapi_apache2.c @@ -110,15 +110,7 @@ php_apache_sapi_header_handler(sapi_header_struct *sapi_header,sapi_headers_stru } ctx->content_type = estrdup(val); } else if (!strcasecmp(sapi_header->header, "content-length")) { -#ifdef PHP_WINDOWS -# ifdef APR_HAS_LARGE_FILES - ap_set_content_length(ctx->r, (apr_off_t) _strtoui64(val, (char **)NULL, 10)); -# else ap_set_content_length(ctx->r, (apr_off_t) strtol(val, (char **)NULL, 10)); -# endif -#else - ap_set_content_length(ctx->r, (apr_off_t) strtol(val, (char **)NULL, 10)); -#endif } else if (sapi_header->replace) { apr_table_set(ctx->r->headers_out, sapi_header->header, val); } else { -- 2.50.1