cvs: gd /libgd gd_io.h gd_io_ss.c

From: Date: Wed, 03 Jan 2007 21:50:39 +0000
Subject: cvs: gd /libgd gd_io.h gd_io_ss.c
Groups: php.gd.cvs 
Request: Send a blank email to php-gd-cvs+get-58@lists.php.net to get a copy of this message
pajoye Wed Jan 3 21:50:39 2007 UTC Modified files: /gd/libgd gd_io_ss.c gd_io.h Log: #33, sourceGetbuf must return 0 for errors and EOF #34, Fixed gdSeek declaration, offset argument was missing http://cvs.php.net/viewvc.cgi/gd/libgd/gd_io_ss.c?r1=1.8&r2=1.9&diff_format=u Index: gd/libgd/gd_io_ss.c diff -u gd/libgd/gd_io_ss.c:1.8 gd/libgd/gd_io_ss.c:1.9 --- gd/libgd/gd_io_ss.c:1.8 Wed Apr 5 15:52:22 2006 +++ gd/libgd/gd_io_ss.c Wed Jan 3 21:50:39 2007 @@ -101,7 +101,7 @@ if (res == 0) { - return EOF; + return 0; } else if (res < 0) { http://cvs.php.net/viewvc.cgi/gd/libgd/gd_io.h?r1=1.7&r2=1.8&diff_format=u Index: gd/libgd/gd_io.h diff -u gd/libgd/gd_io.h:1.7 gd/libgd/gd_io.h:1.8 --- gd/libgd/gd_io.h:1.7 Wed Apr 5 15:54:20 2006 +++ gd/libgd/gd_io.h Wed Jan 3 21:50:39 2007 @@ -45,7 +45,7 @@ int gdGetWord (int *result, gdIOCtx * ctx); int gdGetInt (int *result, gdIOCtx * ctx); - int gdSeek (gdIOCtx * ctx, const int); + int gdSeek (gdIOCtx * ctx, const int offset); long gdTell (gdIOCtx * ctx); #endif

« previous php.gd.cvs (#58) next »