mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-07 06:43:00 +03:00
Use 64 bit time_t stat internally
For the legacy ABI with supports 32-bit time_t it calls the 64-bit time directly, since the LFS symbols calls the 64-bit time_t ones internally. Checked on i686-linux-gnu and x86_64-linux-gnu. Reviewed-by: Lukasz Majewski <lukma@denx.de>
This commit is contained in:
@@ -78,7 +78,7 @@ _IO_file_doallocate (FILE *fp)
|
||||
{
|
||||
size_t size;
|
||||
char *p;
|
||||
struct stat64 st;
|
||||
struct __stat64_t64 st;
|
||||
|
||||
size = BUFSIZ;
|
||||
if (fp->_fileno >= 0 && __builtin_expect (_IO_SYSSTAT (fp, &st), 0) >= 0)
|
||||
|
Reference in New Issue
Block a user