pajoye                                   Mon, 03 May 2010 19:08:26 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=298924

Log:
- revert as vc6 does not support strtoi64, update to 5.3 will be the fix

Changed paths:
    U   php/php-src/branches/PHP_5_2/sapi/apache2handler/sapi_apache2.c

Modified: php/php-src/branches/PHP_5_2/sapi/apache2handler/sapi_apache2.c
===================================================================
--- php/php-src/branches/PHP_5_2/sapi/apache2handler/sapi_apache2.c     
2010-05-03 19:05:27 UTC (rev 298923)
+++ php/php-src/branches/PHP_5_2/sapi/apache2handler/sapi_apache2.c     
2010-05-03 19:08:26 UTC (rev 298924)
@@ -110,15 +110,7 @@
                }
                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 {

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to