Diff for /embedaddon/php/main/rfc1867.c between versions 1.1.1.2 and 1.1.1.5

version 1.1.1.2, 2012/05/29 12:34:35 version 1.1.1.5, 2014/06/15 20:04:01
Line 2 Line 2
    +----------------------------------------------------------------------+     +----------------------------------------------------------------------+
    | PHP Version 5                                                        |     | PHP Version 5                                                        |
    +----------------------------------------------------------------------+     +----------------------------------------------------------------------+
   | Copyright (c) 1997-2012 The PHP Group                                |   | Copyright (c) 1997-2014 The PHP Group                                |
    +----------------------------------------------------------------------+     +----------------------------------------------------------------------+
    | This source file is subject to version 3.01 of the PHP license,      |     | This source file is subject to version 3.01 of the PHP license,      |
    | that is bundled with this package in the file LICENSE, and is        |     | that is bundled with this package in the file LICENSE, and is        |
Line 62  static void safe_php_register_variable(char *var, char Line 62  static void safe_php_register_variable(char *var, char
 #define MAX_SIZE_ANONNAME 33  #define MAX_SIZE_ANONNAME 33
   
 /* Errors */  /* Errors */
#define UPLOAD_ERROR_OK   0  /* File upload succesful */#define UPLOAD_ERROR_OK   0  /* File upload successful */
 #define UPLOAD_ERROR_A    1  /* Uploaded file exceeded upload_max_filesize */  #define UPLOAD_ERROR_A    1  /* Uploaded file exceeded upload_max_filesize */
 #define UPLOAD_ERROR_B    2  /* Uploaded file exceeded MAX_FILE_SIZE */  #define UPLOAD_ERROR_B    2  /* Uploaded file exceeded MAX_FILE_SIZE */
 #define UPLOAD_ERROR_C    3  /* Partially uploaded */  #define UPLOAD_ERROR_C    3  /* Partially uploaded */
Line 398  static int find_boundary(multipart_buffer *self, char  Line 398  static int find_boundary(multipart_buffer *self, char 
 static int multipart_buffer_headers(multipart_buffer *self, zend_llist *header TSRMLS_DC)  static int multipart_buffer_headers(multipart_buffer *self, zend_llist *header TSRMLS_DC)
 {  {
         char *line;          char *line;
        mime_header_entry prev_entry, entry;        mime_header_entry prev_entry = {0}, entry;
         int prev_len, cur_len;          int prev_len, cur_len;
   
         /* didn't find boundary, abort */          /* didn't find boundary, abort */

Removed from v.1.1.1.2  
changed lines
  Added in v.1.1.1.5


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>