projects
/
platform
/
upstream
/
toybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
55970d0
)
Fix ancient glibc workaround to force fstatat64
author
Rob Landley
<rob@landley.net>
Sat, 1 Dec 2012 23:59:38 +0000
(17:59 -0600)
committer
Rob Landley
<rob@landley.net>
Sat, 1 Dec 2012 23:59:38 +0000
(17:59 -0600)
lib/portability.h
patch
|
blob
|
history
diff --git
a/lib/portability.h
b/lib/portability.h
index
4903de1
..
859a57c
100644
(file)
--- a/
lib/portability.h
+++ b/
lib/portability.h
@@
-44,7
+44,8
@@
ssize_t getdelim(char **lineptr, size_t *n, int delim, FILE *stream);
#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 <sys/stat.h>