]> granicus.if.org Git - php/commitdiff
- revert as vc6 does not support strtoi64, update to 5.3 will be the fix
authorPierre Joye <pajoye@php.net>
Mon, 3 May 2010 19:08:26 +0000 (19:08 +0000)
committerPierre Joye <pajoye@php.net>
Mon, 3 May 2010 19:08:26 +0000 (19:08 +0000)
sapi/apache2handler/sapi_apache2.c

index 59d691be30a350927e78e0068e4abff37873fe0e..b37569cca83403c77c4ec7701518b1ed0375f6dd 100644 (file)
@@ -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 {