From:             [EMAIL PROTECTED]
Operating system: Linux Redhat 7.0
PHP version:      4.2.3
PHP Bug Type:     GD related
Bug description:  new definition of gdIOCtx structure in gd 2.0.4 don't match with 
ext/gd/* 

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 bug report at http://bugs.php.net/?id=20279&edit=1
-- 
Try a CVS snapshot:         http://bugs.php.net/fix.php?id=20279&r=trysnapshot
Fixed in CVS:               http://bugs.php.net/fix.php?id=20279&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=20279&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=20279&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=20279&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=20279&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=20279&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=20279&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=20279&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=20279&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=20279&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=20279&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=20279&r=isapi

Reply via email to