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)) {
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php