#20279 [Opn->Csd]: new definition of gdIOCtx structure in gd 2.0.4 don't match with ext/gd/*

From: Date: Wed, 06 Nov 2002 13:17:03 +0000
Subject: #20279 [Opn->Csd]: new definition of gdIOCtx structure in gd 2.0.4 don't match with ext/gd/*
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-24193@lists.php.net to get a copy of this message
ID: 20279 Updated by: msopacua@php.net Reported By: hoh@centrum.cz -Status: Open +Status: Closed Bug Type: GD related Operating System: Linux Redhat 7.0 PHP Version: 4.2.3 New Comment: This bug has been fixed in CVS. In case this was a PHP problem, snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. In case this was a documentation problem, the fix will show up soon at http://www.php.net/manual/. In case this was a PHP.net website problem, the change will show up on the PHP.net site and on the mirror sites in short time. Thank you for the report, and for helping us make PHP better. Previous Comments: ------------------------------------------------------------------------ [2002-11-06 05:56:17] hoh@centrum.cz New GD library from Bouttell.com has new structure definition in gd_io.h typedef struct gdIOCtx { int (*getC)(struct gdIOCtx*); int (*getBuf)(struct gdIOCtx*, void*, int); void (*putC)(struct gdIOCtx*, int); int (*putBuf)(struct gdIOCtx*, const void*,int); int (*seek)(struct gdIOCtx*, const int); long (*tell)(struct gdIOCtx*); void (*gd_free)(struct gdIOCtx*); } gdIOCtx; in older version and in the latest stable php from snaps.php.net in the files ext/gd/* the structures use this ctx->free instead of ctx->gd_free ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=20279&edit=1

« previous php.bugs (#24193) next »