Diff for /embedaddon/php/main/output.c between versions 1.1.1.3 and 1.1.1.4

version 1.1.1.3, 2013/07/22 01:32:11 version 1.1.1.4, 2014/06/15 20:04:01
Line 2 Line 2
    +----------------------------------------------------------------------+     +----------------------------------------------------------------------+
    | PHP Version 5                                                        |     | PHP Version 5                                                        |
    +----------------------------------------------------------------------+     +----------------------------------------------------------------------+
   | Copyright (c) 1997-2013 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 234  PHPAPI int php_output_get_status(TSRMLS_D) Line 234  PHPAPI int php_output_get_status(TSRMLS_D)
  * Unbuffered write */   * Unbuffered write */
 PHPAPI int php_output_write_unbuffered(const char *str, size_t len TSRMLS_DC)  PHPAPI int php_output_write_unbuffered(const char *str, size_t len TSRMLS_DC)
 {  {
   #if PHP_DEBUG
           if (len > UINT_MAX) {
                   php_error(E_WARNING, "Attempt to output more than UINT_MAX bytes at once; "
                                   "output will be truncated %lu => %lu",
                                   (unsigned long) len, (unsigned long) (len % UINT_MAX));
           }
   #endif
         if (OG(flags) & PHP_OUTPUT_DISABLED) {          if (OG(flags) & PHP_OUTPUT_DISABLED) {
                 return 0;                  return 0;
         }          }
Line 248  PHPAPI int php_output_write_unbuffered(const char *str Line 255  PHPAPI int php_output_write_unbuffered(const char *str
  * Buffered write */   * Buffered write */
 PHPAPI int php_output_write(const char *str, size_t len TSRMLS_DC)  PHPAPI int php_output_write(const char *str, size_t len TSRMLS_DC)
 {  {
   #if PHP_DEBUG
           if (len > UINT_MAX) {
                   php_error(E_WARNING, "Attempt to output more than UINT_MAX bytes at once; "
                                   "output will be truncated %lu => %lu",
                                   (unsigned long) len, (unsigned long) (len % UINT_MAX));
           }
   #endif
         if (OG(flags) & PHP_OUTPUT_DISABLED) {          if (OG(flags) & PHP_OUTPUT_DISABLED) {
                 return 0;                  return 0;
         }          }

Removed from v.1.1.1.3  
changed lines
  Added in v.1.1.1.4


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