Remove references to 64-bit file functions - stat, lstat, lseek, etc - as part of large file support rewrite.

This commit is contained in:
Andrew Wood
2023-07-22 19:55:55 +01:00
parent 5cf5eda406
commit 101294195b
7 changed files with 184 additions and 189 deletions
+2 -2
View File
@@ -276,12 +276,12 @@ opts_t opts_parse(int argc, char **argv)
/* Permit "@<filename>" as well as just a number. */
if ('@' == *optarg) {
const char *size_file = 1 + optarg;
struct stat64 sb;
struct stat sb;
int rc;
rc = 0;
memset(&sb, 0, sizeof(sb));
rc = stat64(size_file, &sb);
rc = stat(size_file, &sb);
if (0 == rc) {
opts->size = sb.st_size;
} else {