com php-src: Merge branch 'PHP-5.6': main/streams/plain_wrapp er.c
| From: | Stanislav Malyshev | Date: | Sun, 01 Feb 2015 07:48:08 +0000 |
| Subject: | com php-src: Merge branch 'PHP-5.6': main/streams/plain_wrapp er.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-84530@lists.php.net to get a copy of this message | ||
Commit: 50703c900f3b75af2e2973dfd53c05f69cddec91
Author: Stanislav Malyshev <stas@php.net> Sat, 31 Jan 2015 23:48:08 -0800
Parents: 87d8e9208c4af72303c5f5353f98f9e04e038047 c5526291cedcb6b5c48d6f13cc7481f8eea9761a
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=50703c900f3b75af2e2973dfd53c05f69cddec91
Log:
Merge branch 'PHP-5.6'
* PHP-5.6:
fix group name handling
Conflicts:
main/streams/plain_wrapper.c
Changed paths:
MM main/streams/plain_wrapper.c
Diff:
diff --cc main/streams/plain_wrapper.c
index 5e328fb,8ef0619..7f4a190
--- a/main/streams/plain_wrapper.c
+++ b/main/streams/plain_wrapper.c
@@@ -1341,9 -1331,9 +1341,9 @@@ static int php_plain_files_metadata(php
break;
case PHP_STREAM_META_GROUP:
case PHP_STREAM_META_GROUP_NAME:
- if(option == PHP_STREAM_META_OWNER_NAME) {
+ if(option == PHP_STREAM_META_GROUP_NAME) {
- if(php_get_gid_by_name((char *)value, &gid TSRMLS_CC) != SUCCESS) {
- php_error_docref1(NULL TSRMLS_CC, url, E_WARNING, "Unable to find gid for %s",
(char *)value);
+ if(php_get_gid_by_name((char *)value, &gid) != SUCCESS) {
+ php_error_docref1(NULL, url, E_WARNING, "Unable to find gid for %s", (char
*)value);
return 0;
}
} else {