| Index: runtime/bin/file_fuchsia.cc
|
| diff --git a/runtime/bin/file_fuchsia.cc b/runtime/bin/file_fuchsia.cc
|
| index b18f4237177103f148d7b7ef4e10675c1cf10d04..7310f43b199856125ea966e623815cef4d074e0b 100644
|
| --- a/runtime/bin/file_fuchsia.cc
|
| +++ b/runtime/bin/file_fuchsia.cc
|
| @@ -112,6 +112,11 @@ bool File::SetPosition(int64_t position) {
|
| }
|
|
|
|
|
| +// There is no difference between binary and text translation modes on this
|
| +// platform, so this operation is a no-op.
|
| +void File::SetTranslation(DartFileTranslation translation) {}
|
| +
|
| +
|
| bool File::Truncate(int64_t length) {
|
| ASSERT(handle_->fd() >= 0);
|
| return NO_RETRY_EXPECTED(ftruncate(handle_->fd(), length) != -1);
|
|
|