mips
authorOpenJDK Team <openjdk-17@packages.debian.org>
Sat, 15 Mar 2025 08:45:37 +0000 (09:45 +0100)
committerMatthias Klose <doko@ubuntu.com>
Sat, 15 Mar 2025 08:45:37 +0000 (09:45 +0100)
# DP: Untested patch suggested to fix #983878

# DP: Untested patch suggested to fix #983878

Gbp-Pq: Name mips.diff

src/java.base/unix/native/libnio/fs/UnixNativeDispatcher.c

index 7bc14a0da977f63c2cecf1ee87dee18446376011..1570d9ce5ddff82120f36aad53e574ff322d56c6 100644 (file)
@@ -268,7 +268,7 @@ static statx_func* my_statx_func = NULL;
 /**
  * fstatat missing from glibc on Linux.
  */
-#if defined(__linux__) && (defined(__i386) || defined(__arm__))
+#if defined(__linux__) && (defined(__i386) || defined(__arm__) || (defined(__mips__) && !defined(__mips64)))
 #define FSTATAT64_SYSCALL_AVAILABLE
 static int fstatat64_wrapper(int dfd, const char *path,
                              struct stat64 *statbuf, int flag)