diff options
Diffstat (limited to 'sysdeps/unix')
-rw-r--r-- | sysdeps/unix/sysv/linux/getdents64.c | 2 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/xstatconv.c | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sysdeps/unix/sysv/linux/getdents64.c b/sysdeps/unix/sysv/linux/getdents64.c index 0078ccd..805917e 100644 --- a/sysdeps/unix/sysv/linux/getdents64.c +++ b/sysdeps/unix/sysv/linux/getdents64.c @@ -1,3 +1,3 @@ #define __GETDENTS __getdents64 #define DIRENT_TYPE struct dirent64 -#include <getdents.c> +#include <sysdeps/unix/sysv/linux/getdents.c> diff --git a/sysdeps/unix/sysv/linux/xstatconv.c b/sysdeps/unix/sysv/linux/xstatconv.c index 21620a2..d4cf9c1 100644 --- a/sysdeps/unix/sysv/linux/xstatconv.c +++ b/sysdeps/unix/sysv/linux/xstatconv.c @@ -168,7 +168,7 @@ xstat32_conv (int vers, struct stat64 *kbuf, struct stat *buf) # endif { buf->st_ino = kbuf->st_ino; - if (sizeof (buf->st_ino) != sizeof (kbuf->__st_ino) + if (sizeof (buf->st_ino) != sizeof (kbuf->st_ino) && buf->st_ino != kbuf->st_ino) { __set_errno (EOVERFLOW); @@ -176,8 +176,8 @@ xstat32_conv (int vers, struct stat64 *kbuf, struct stat *buf) } } #else - buf->st_ino = kbuf->__st_ino; - if (sizeof (buf->st_ino) != sizeof (kbuf->__st_ino) + buf->st_ino = kbuf->st_ino; + if (sizeof (buf->st_ino) != sizeof (kbuf->st_ino) && buf->st_ino != kbuf->st_ino) { __set_errno (EOVERFLOW); |