cvs: php4 /main streams.c

From: Date: Sat, 16 Mar 2002 18:52:03 +0000
Subject: cvs: php4 /main streams.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-10258@lists.php.net to get a copy of this message
wez Sat Mar 16 13:52:03 2002 EDT Modified files: /php4/main streams.c Log: fix ftell/fseek in stdio streams Index: php4/main/streams.c diff -u php4/main/streams.c:1.22 php4/main/streams.c:1.23 --- php4/main/streams.c:1.22 Sat Mar 16 13:16:55 2002 +++ php4/main/streams.c Sat Mar 16 13:52:03 2002 @@ -536,6 +536,9 @@ assert(data != NULL); + if (offset == 0 && whence == SEEK_CUR) + return ftell(data->file); + return fseek(data->file, offset, whence); }

« previous php.cvs (#10258) next »