# HG changeset patch # User Rob Landley # Date 1354406378 21600 # Node ID fb17cd078e639700906142d3588f13fe7b3fa798 # Parent 6617899e55f8ef49fa84b304418c229f790b1a8b Fix ancient glibc workaround to force fstatat64 diff -r 6617899e55f8 -r fb17cd078e63 lib/portability.h --- a/lib/portability.h Sat Dec 01 11:03:52 2012 -0600 +++ b/lib/portability.h Sat Dec 01 17:59:38 2012 -0600 @@ -44,7 +44,8 @@ #define AT_FDCWD -100 #define AT_SYMLINK_NOFOLLOW 0x100 #define AT_REMOVEDIR 0x200 -int fstatat(int dirfd, const char *pathname, void *buf, int flags); +#define fstatat fstatat64 +int fstatat64(int dirfd, const char *pathname, void *buf, int flags); int readlinkat(int dirfd, const char *pathname, char *buf, size_t bufsiz); char *stpcpy(char *dest, const char *src); #include