| Index: util/file/file_io_posix.cc
|
| diff --git a/util/file/file_io_posix.cc b/util/file/file_io_posix.cc
|
| index 8681ad8dade067b8cbdd23cc1311730d167f04e0..fbfdad0837368d776b51b55a8372a3400fb166d9 100644
|
| --- a/util/file/file_io_posix.cc
|
| +++ b/util/file/file_io_posix.cc
|
| @@ -98,6 +98,12 @@ FileHandle LoggingOpenFileForWrite(const base::FilePath& path,
|
| return fd;
|
| }
|
|
|
| +FileOffset LoggingSeekFile(FileHandle file, FileOffset offset, int whence) {
|
| + off_t rv = lseek(file, offset, whence);
|
| + PLOG_IF(ERROR, rv < 0) << "lseek";
|
| + return rv;
|
| +}
|
| +
|
| bool LoggingCloseFile(FileHandle file) {
|
| int rv = IGNORE_EINTR(close(file));
|
| PLOG_IF(ERROR, rv != 0) << "close";
|
|
|