Re: cvs: php4(PHP_4_2_0) /main rfc1867.c
| From: | Jani Taskinen | Date: | Wed, 03 Jul 2002 00:47:35 +0000 |
| Subject: | Re: cvs: php4(PHP_4_2_0) /main rfc1867.c | ||
| References: | 1 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-12677@lists.php.net to get a copy of this message | ||
Why do you only commit this into the branch??
Why not to HEAD too?
--JAni
--
On Tue, 2 Jul 2002, Rui Hirokawa wrote:
>hirokawa Tue Jul 2 11:28:15 2002 EDT
>
> Modified files: (Branch: PHP_4_2_0)
> /php4/main rfc1867.c
> Log:
>
>
>Index: php4/main/rfc1867.c
>diff -u php4/main/rfc1867.c:1.94.2.5 php4/main/rfc1867.c:1.94.2.6
>--- php4/main/rfc1867.c:1.94.2.5 Sun Jun 23 13:26:03 2002
>+++ php4/main/rfc1867.c Tue Jul 2 11:28:14 2002
>@@ -16,7 +16,7 @@
> | Jani Taskinen <sniper@php.net> |
> +----------------------------------------------------------------------+
> */
>-/* $Id: rfc1867.c,v 1.94.2.5 2002/06/23 17:26:03 sesser Exp $ */
>+/* $Id: rfc1867.c,v 1.94.2.6 2002/07/02 15:28:14 hirokawa Exp $ */
>
> /*
> * This product includes software developed by the Apache Group
>@@ -32,6 +32,9 @@
> #include "php_variables.h"
> #include "rfc1867.h"
>
>+#if HAVE_MBSTRING
>+#include "ext/mbstring/mbstring.h"
>+#endif
>
> #undef DEBUG_FILE_UPLOAD
>
>@@ -58,6 +61,8 @@
> #define UPLOAD_ERROR_D 4 /* No file uploaded */
> #define UPLOAD_ERROR_E 5 /* Uploaded file size 0 bytes */
>
>+
>+
> static void add_protected_variable(char *varname TSRMLS_DC)
> {
> int dummy=1;
>@@ -823,7 +828,11 @@
> sprintf(lbuf, "%s_name", param);
> }
>
>+#if HAVE_MBSTRING
>+ s = mbstr_strrchr(filename, '\\');
>+#else
> s = strrchr(filename, '\\');
>+#endif
> if (s && s > filename) {
> safe_php_register_variable(lbuf, s+1, NULL, 0 TSRMLS_CC);
> } else {
>
>
>
>