summaryrefslogtreecommitdiff
path: root/build-support/disabled/java/java8-openjdk/hotspot-jdk8u181-b13-readdir_r.patch
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2021-05-20 09:56:18 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2021-05-20 09:56:18 +0200
commit86b73247503aa2cb7b0dd80f20ae550db32c506d (patch)
tree55078890704a428b560875fadff545644e35aa99 /build-support/disabled/java/java8-openjdk/hotspot-jdk8u181-b13-readdir_r.patch
parent080e8bddf48ef20b25e13e0ad6a3be014edf937e (diff)
downloadpackages-86b73247503aa2cb7b0dd80f20ae550db32c506d.tar.xz
leaving all intermedia java versions for now in build-support
Diffstat (limited to 'build-support/disabled/java/java8-openjdk/hotspot-jdk8u181-b13-readdir_r.patch')
-rw-r--r--build-support/disabled/java/java8-openjdk/hotspot-jdk8u181-b13-readdir_r.patch25
1 files changed, 0 insertions, 25 deletions
diff --git a/build-support/disabled/java/java8-openjdk/hotspot-jdk8u181-b13-readdir_r.patch b/build-support/disabled/java/java8-openjdk/hotspot-jdk8u181-b13-readdir_r.patch
deleted file mode 100644
index 2da9545c..00000000
--- a/build-support/disabled/java/java8-openjdk/hotspot-jdk8u181-b13-readdir_r.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-diff -rauN hotspot-jdk8u181-b13/src/os/linux/vm/os_linux.inline.hpp hotspot-jdk8u181-b13-readdir_r-patch/src/os/linux/vm/os_linux.inline.hpp
---- hotspot-jdk8u181-b13/src/os/linux/vm/os_linux.inline.hpp 2018-07-04 03:01:40.000000000 +0200
-+++ hotspot-jdk8u181-b13-readdir_r-patch/src/os/linux/vm/os_linux.inline.hpp 2018-08-29 16:58:42.460758701 +0200
-@@ -117,18 +117,10 @@
- inline struct dirent* os::readdir(DIR* dirp, dirent *dbuf)
- {
- dirent* p;
-- int status;
- assert(dirp != NULL, "just checking");
--
-- // NOTE: Linux readdir_r (on RH 6.2 and 7.2 at least) is NOT like the POSIX
-- // version. Here is the doc for this function:
-- // http://www.gnu.org/manual/glibc-2.2.3/html_node/libc_262.html
--
-- if((status = ::readdir_r(dirp, dbuf, &p)) != 0) {
-- errno = status;
-- return NULL;
-- } else
-- return p;
-+
-+ p = ::readdir(dirp);
-+ return p;
- }
-
- inline int os::closedir(DIR *dirp) {