cvs: php4 /main streams.c
| From: | Wez Furlong | Date: | Mon, 23 Dec 2002 02:56:46 +0000 |
| Subject: | cvs: php4 /main streams.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-17382@lists.php.net to get a copy of this message | ||
wez Sun Dec 22 21:56:46 2002 EDT
Modified files:
/php4/main streams.c
Log:
MFB: fpos_t -> off_t
Index: php4/main/streams.c
diff -u php4/main/streams.c:1.137 php4/main/streams.c:1.138
--- php4/main/streams.c:1.137 Sun Dec 22 13:05:36 2002
+++ php4/main/streams.c Sun Dec 22 21:56:46 2002
@@ -20,7 +20,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: streams.c,v 1.137 2002/12/22 18:05:36 wez Exp $ */
+/* $Id: streams.c,v 1.138 2002/12/23 02:56:46 wez Exp $ */
#define _GNU_SOURCE
#include "php.h"
@@ -2418,7 +2418,7 @@
}
if (stream && stream->ops->seek && (stream->flags &
PHP_STREAM_FLAG_NO_SEEK) == 0 && strchr(mode, 'a')) {
- fpos_t newpos = 0;
+ off_t newpos = 0;
/* if opened for append, we need to revise our idea of the initial file position */
if (0 == stream->ops->seek(stream, 0, SEEK_CUR, &newpos TSRMLS_CC)) {