Index: runtime/bin/file.h |
=================================================================== |
--- runtime/bin/file.h (revision 31864) |
+++ runtime/bin/file.h (working copy) |
@@ -90,17 +90,17 @@ |
// Get the length of the file. Returns a negative value if the length cannot |
// be determined (e.g. not seekable device). |
- off64_t Length(); |
+ int64_t Length(); |
// Get the current position in the file. |
// Returns a negative value if position cannot be determined. |
- off64_t Position(); |
+ int64_t Position(); |
// Set the byte position in the file. |
- bool SetPosition(off64_t position); |
+ bool SetPosition(int64_t position); |
// Truncate (or extend) the file to the given length in bytes. |
- bool Truncate(off64_t length); |
+ bool Truncate(int64_t length); |
// Flush contents of file. |
bool Flush(); |
@@ -127,7 +127,7 @@ |
static bool Rename(const char* old_path, const char* new_path); |
static bool RenameLink(const char* old_path, const char* new_path); |
static bool Copy(const char* old_path, const char* new_path); |
- static off64_t LengthFromPath(const char* path); |
+ static int64_t LengthFromPath(const char* path); |
static void Stat(const char* path, int64_t* data); |
static time_t LastModified(const char* path); |
static char* LinkTarget(const char* pathname); |