php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Return to Bug #61882
Patch pecl-cairo-php_streams.patch revision 2012-05-18 13:06 UTC by dkozlowski at sevone dot com

Patch pecl-cairo-php_streams.patch for cairo Bug #61882

Patch version 2012-05-18 13:06 UTC

Return to Bug #61882 | Download this patch
Patch Revisions:

Developer: dkozlowski@sevone.com

--- Cairo-0.3.2.old/cairo_ft_font.c	2012-04-21 18:03:29.000000000 +0000
+++ Cairo-0.3.2/cairo_ft_font.c	2012-04-30 22:11:59.000000000 +0000
@@ -97,7 +97,7 @@
 #ifdef ZTS
 	closure->TSRMLS_C = TSRMLS_C;
 #endif
-
+	php_stream_stat(stream,&ssbuf);
 	ft_stream = ecalloc(1, sizeof(*ft_stream));
 	ft_stream->descriptor.pointer = (void *)closure;
 	ft_stream->pos = php_stream_tell(stream);
 
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Sat Oct 31 19:01:24 2020 UTC