cvs: gd /libgd gd_io.h gd_io_ss.c

[email protected] ("Pierre-Alain Joye")
Newsgroups php.gd.cvs
Message-ID <cvspajoye1167861039@cvsserver>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.