Fix large file support.

* scripts/xsparse.c (read_map): Use fseeko.
* src/incremen.c (write_directory_file): Likewise.
This commit is contained in:
Eric Blake
2010-03-02 18:08:07 +02:00
committed by Sergey Poznyakoff
parent 3925776b41
commit a0fd0d95e2
2 changed files with 4 additions and 3 deletions
+1 -1
View File
@@ -1410,7 +1410,7 @@ write_directory_file (void)
if (! fp)
return;
if (fseek (fp, 0L, SEEK_SET) != 0)
if (fseeko (fp, 0L, SEEK_SET) != 0)
seek_error (listed_incremental_option);
if (sys_truncate (fileno (fp)) != 0)
truncate_error (listed_incremental_option);