44 #define WARN_STAT_INTERNAL
49 static void diagnose_stat(
void)
58 if (errno == EOVERFLOW &&
sizeof(st.st_size) == 4) {
59 msg_warn(
"this program was built for 32-bit file handles, "
60 "but some number does not fit in 32 bits");
61 msg_warn(
"possible solution: recompile in 64-bit mode, or "
62 "recompile in 32-bit mode with 'large file' support");
85 ret =
lstat(path, st);
int warn_fstat(int fd, struct stat *st)
int warn_lstat(const char *path, struct stat *st)
void msg_warn(const char *fmt,...)
int warn_stat(const char *path, struct stat *st)