equal
deleted
inserted
replaced
151 static renameat_func* my_renameat_func = NULL; |
151 static renameat_func* my_renameat_func = NULL; |
152 static futimesat_func* my_futimesat_func = NULL; |
152 static futimesat_func* my_futimesat_func = NULL; |
153 static fdopendir_func* my_fdopendir_func = NULL; |
153 static fdopendir_func* my_fdopendir_func = NULL; |
154 |
154 |
155 /** |
155 /** |
156 * fstatat missing from glibc on Linux. Temporary workaround |
156 * fstatat missing from glibc on Linux. |
157 * for x86/x64. |
|
158 */ |
157 */ |
159 #if defined(__linux__) && defined(__i386) |
158 #if defined(__linux__) && (defined(__i386) || defined(__arm__)) |
160 #define FSTATAT64_SYSCALL_AVAILABLE |
159 #define FSTATAT64_SYSCALL_AVAILABLE |
161 static int fstatat64_wrapper(int dfd, const char *path, |
160 static int fstatat64_wrapper(int dfd, const char *path, |
162 struct stat64 *statbuf, int flag) |
161 struct stat64 *statbuf, int flag) |
163 { |
162 { |
164 #ifndef __NR_fstatat64 |
163 #ifndef __NR_fstatat64 |