diff options
author | Andreas Baumann <mail@andreasbaumann.cc> | 2021-05-18 18:19:47 +0200 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2021-05-18 18:19:47 +0200 |
commit | be7b39b2141fb721c1696df554b3fa6424eebb31 (patch) | |
tree | 02077eebc06f281642bbddd1020f46dd2bf9cf1b /build-support/java10-openjdk/jdk10u-jdk-10.0.2+13-oscontainer-wrong-compare.patch | |
parent | 91439867f002d170d6f56727ccfebb39f96bf68e (diff) | |
download | packages-be7b39b2141fb721c1696df554b3fa6424eebb31.tar.xz |
added java10-openjdk to build-support
Diffstat (limited to 'build-support/java10-openjdk/jdk10u-jdk-10.0.2+13-oscontainer-wrong-compare.patch')
-rw-r--r-- | build-support/java10-openjdk/jdk10u-jdk-10.0.2+13-oscontainer-wrong-compare.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/build-support/java10-openjdk/jdk10u-jdk-10.0.2+13-oscontainer-wrong-compare.patch b/build-support/java10-openjdk/jdk10u-jdk-10.0.2+13-oscontainer-wrong-compare.patch new file mode 100644 index 00000000..549115eb --- /dev/null +++ b/build-support/java10-openjdk/jdk10u-jdk-10.0.2+13-oscontainer-wrong-compare.patch @@ -0,0 +1,12 @@ +diff -rauN jdk10u-jdk-10.0.2+13/src/hotspot/os/linux/os_linux.cpp jdk10u-jdk-10.0.2+13-oscontainer-wrong-compare-patch/src/hotspot/os/linux/os_linux.cpp +--- jdk10u-jdk-10.0.2+13/src/hotspot/os/linux/os_linux.cpp 2018-06-24 16:07:06.000000000 +0200 ++++ jdk10u-jdk-10.0.2+13-oscontainer-wrong-compare-patch/src/hotspot/os/linux/os_linux.cpp 2021-05-17 17:26:13.438603378 +0200 +@@ -2155,7 +2155,7 @@ + } + + p = OSContainer::cpu_cpuset_memory_nodes(); +- if (p < 0) ++ if (p == NULL) + st->print("cpu_memory_nodes() failed\n"); + else { + st->print("cpu_memory_nodes: %s\n", p); |