From: Pierre Joye Date: Mon, 3 May 2010 19:08:26 +0000 (+0000) Subject: - revert as vc6 does not support strtoi64, update to 5.3 will be the fix X-Git-Tag: php-5.2.14RC1~31 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=90f3d470c333b4fdb5237a17bedadc11ca3a85e4;p=php - revert as vc6 does not support strtoi64, update to 5.3 will be the fix --- 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 {