com php-src: remove "PHP 6" staff: ext/phar/dirstream.c
| From: | Xinchen Hui | Date: | Sun, 27 Oct 2013 08:52:43 +0000 |
| Subject: | com php-src: remove "PHP 6" staff: ext/phar/dirstream.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-73843@lists.php.net to get a copy of this message | ||
Commit: e18e7a598305ac0472dcaae0226bc72ab22039ba
Author: Xinchen Hui <laruence@php.net> Sun, 27 Oct 2013 16:52:43 +0800
Parents: 18cc5386de399f4410d8e5bf0a7aa5a06b0309be
Branches: PHP-5.5 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=e18e7a598305ac0472dcaae0226bc72ab22039ba
Log:
remove "PHP 6" staff
Changed paths:
M ext/phar/dirstream.c
Diff:
diff --git a/ext/phar/dirstream.c b/ext/phar/dirstream.c
index 277d058..a48cde2 100644
--- a/ext/phar/dirstream.c
+++ b/ext/phar/dirstream.c
@@ -168,11 +168,7 @@ static int phar_compare_dir_name(const void *a, const void *b TSRMLS_DC) /*
{{{
f = *((Bucket **) a);
s = *((Bucket **) b);
-#if (PHP_MAJOR_VERSION < 6)
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) {
return -1;