Diff for /embedaddon/php/ext/phar/dirstream.c between versions 1.1.1.2 and 1.1.1.3

version 1.1.1.2, 2013/07/22 01:31:59 version 1.1.1.3, 2014/06/15 20:03:53
Line 2 Line 2
   +----------------------------------------------------------------------+    +----------------------------------------------------------------------+
   | phar:// stream wrapper support                                       |    | phar:// stream wrapper support                                       |
   +----------------------------------------------------------------------+    +----------------------------------------------------------------------+
  | Copyright (c) 2005-2013 The PHP Group                                |  | Copyright (c) 2005-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 168  static int phar_compare_dir_name(const void *a, const  Line 168  static int phar_compare_dir_name(const void *a, const 
   
         f = *((Bucket **) a);          f = *((Bucket **) a);
         s = *((Bucket **) b);          s = *((Bucket **) b);
 #if (PHP_MAJOR_VERSION < 6)  
         result = zend_binary_strcmp(f->arKey, f->nKeyLength, s->arKey, s->nKeyLength);          result = zend_binary_strcmp(f->arKey, f->nKeyLength, s->arKey, s->nKeyLength);
 #else  
         result = zend_binary_strcmp(f->key.arKey.s, f->nKeyLength, s->key.arKey.s, s->nKeyLength);  
 #endif  
   
         if (result < 0) {          if (result < 0) {
                 return -1;                  return -1;

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


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