diff options
author | Wez Furlong <wez@php.net> | 2002-12-23 02:55:29 +0000 |
---|---|---|
committer | Wez Furlong <wez@php.net> | 2002-12-23 02:55:29 +0000 |
commit | 673dee58adac35b8d6bbc6cd517b73ee58e660c1 (patch) | |
tree | a75d90ed35cd9ce9761972fcd426480ef263a5b2 | |
parent | 9b16b3d7b830c7e346a3b9e71621137c73f2dee4 (diff) | |
download | php-git-673dee58adac35b8d6bbc6cd517b73ee58e660c1.tar.gz |
fpos_t should have been off_t.
Noticed by Philip Olson.
-rwxr-xr-x | main/streams.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/streams.c b/main/streams.c index 1f84f4a9ee..35f5161e68 100755 --- a/main/streams.c +++ b/main/streams.c @@ -2418,7 +2418,7 @@ PHPAPI php_stream *_php_stream_open_wrapper_ex(char *path, char *mode, int optio } 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)) { |