fix stream_stat for native stream

This commit is contained in:
Robin Appelman 2014-10-17 15:53:18 +02:00
commit 466ba929a3

View file

@ -88,7 +88,7 @@ class NativeStream implements File {
}
public function stream_tell() {
return $this->stream_seek(0, SEEK_CUR);
return $this->state->lseek($this->handle, 0, SEEK_CUR);
}
public function stream_write($data) {