Skip to content

Commit 6d3b9f0

Browse files
committed
fix for 7.1rc6
and bump release to 1.0.1 7.1rc6 can produce more references, and we had a missing dereference call for optional output arguments
1 parent a763afd commit 6d3b9f0

File tree

7 files changed

+20
-6
lines changed

7 files changed

+20
-6
lines changed

ChangeLog

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
vips extension changelog
22

3+
Version 1.0.1 (2016-11-25)
4+
--------------------------
5+
* Fix for 7.1rc6
6+
37
Version 1.0.0 (2016-11-24)
48
--------------------------
59
* Update package for pecl upload

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ libvips website, or build your own.
9191
$ pear package
9292
```
9393

94-
to make `vips-1.0.0.tgz`.
94+
to make `vips-1.0.1.tgz`.
9595

9696
To install by hand:
9797

File renamed without changes.

package.xml

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ http://pear.php.net/dtd/package-2.0.xsd">
1515
<email>[email protected]</email>
1616
<active>yes</active>
1717
</lead>
18-
<date>2016-11-24</date>
18+
<date>2016-11-25</date>
1919
<version>
20-
<release>1.0.0</release>
20+
<release>1.0.1</release>
2121
<api>1.0.0</api>
2222
</version>
2323
<stability>
@@ -34,7 +34,7 @@ http://pear.php.net/dtd/package-2.0.xsd">
3434
<file role='doc' name='CREDITS'/>
3535
<file role='doc' name='LICENSE.txt'/>
3636
<file role='doc' name='README.md'/>
37-
<file role='doc' name='RELEASE-1.0.0'/>
37+
<file role='doc' name='RELEASE-1.0.1'/>
3838
<file role='doc' name='ChangeLog'/>
3939

4040
<file role='src' name='config.m4'/>
@@ -88,6 +88,15 @@ http://pear.php.net/dtd/package-2.0.xsd">
8888
</extsrcrelease>
8989
<changelog>
9090

91+
<release>
92+
<stability><release>stable</release><api>stable</api></stability>
93+
<version><release>1.0.1</release><api>1.0.0</api></version>
94+
<date>2016-11-25</date>
95+
<notes>
96+
* Fix with 7.1rc6
97+
</notes>
98+
</release>
99+
91100
<release>
92101
<stability><release>stable</release><api>stable</api></stability>
93102
<version><release>1.0.0</release><api>1.0.0</api></version>

php_vips.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
extern zend_module_entry vips_module_entry;
66
#define phpext_vips_ptr &vips_module_entry
77

8-
#define PHP_VIPS_VERSION "1.0.0"
8+
#define PHP_VIPS_VERSION "1.0.1"
99

1010
#ifdef PHP_WIN32
1111
# define PHP_VIPS_API __declspec(dllexport)

vips-1.0.1.tgz

541 KB
Binary file not shown.

vips.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -893,8 +893,9 @@ vips_php_get_optional_output(VipsPhpCall *call, zval *options,
893893
continue;
894894
}
895895

896-
/* value should always be TRUE.
896+
/* value should always be TRUE.
897897
*/
898+
value = zval_get_nonref(value);
898899
if (Z_TYPE_P(value) != IS_TRUE) {
899900
continue;
900901
}

0 commit comments

Comments
 (0)