com php-src: Fix posix build: ext/posix/posix.c

From: Date: Sun, 01 May 2016 11:07:01 +0000
Subject: com php-src: Fix posix build: ext/posix/posix.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-91985@lists.php.net to get a copy of this message
Commit: 8e855534b70e978a6464081ebe71257269eacdb4 Author: Nikita Popov <nikic@php.net> Sun, 1 May 2016 13:07:01 +0200 Parents: d0069ca6c132f54631b67617a730cefb825589cb Branches: PHP-7.0 master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=8e855534b70e978a6464081ebe71257269eacdb4 Log: Fix posix build Changed paths: M ext/posix/posix.c Diff: diff --git a/ext/posix/posix.c b/ext/posix/posix.c index 25cb26f..771e316 100644 --- a/ext/posix/posix.c +++ b/ext/posix/posix.c @@ -987,7 +987,7 @@ int php_posix_group_to_array(struct group *g, zval *array_group) /* {{{ */ array_init(&array_members); add_assoc_string(array_group, "name", g->gr_name); - if (array_group->gr_passwd) { + if (g->gr_passwd) { add_assoc_string(array_group, "passwd", g->gr_passwd); } else { add_assoc_null(array_group, "passwd");

« previous php.cvs (#91985) next »