diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2015-11-16 19:24:27 +0100 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2016-06-22 07:53:34 +0200 |
commit | 4119a3ee0610b461ac30667cc7ba3fa22607606e (patch) | |
tree | 1e5d4d30722a557213b3a22c04cbb3f4d7e7cc76 /patches/gcc-4.3.2/generic/gentoo/61_all_gcc43-pr24170.patch | |
parent | 7736d5ee616e12e37097602bd7e7f6f4ec4046f4 (diff) | |
download | OSELAS.Toolchain-4119a3ee0610b461ac30667cc7ba3fa22607606e.tar.gz OSELAS.Toolchain-4119a3ee0610b461ac30667cc7ba3fa22607606e.tar.xz |
remove old patches
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'patches/gcc-4.3.2/generic/gentoo/61_all_gcc43-pr24170.patch')
-rw-r--r-- | patches/gcc-4.3.2/generic/gentoo/61_all_gcc43-pr24170.patch | 69 |
1 files changed, 0 insertions, 69 deletions
diff --git a/patches/gcc-4.3.2/generic/gentoo/61_all_gcc43-pr24170.patch b/patches/gcc-4.3.2/generic/gentoo/61_all_gcc43-pr24170.patch deleted file mode 100644 index c9c46f0..0000000 --- a/patches/gcc-4.3.2/generic/gentoo/61_all_gcc43-pr24170.patch +++ /dev/null @@ -1,69 +0,0 @@ -http://gcc.gnu.org/PR24170 - -2008-02-20 Tom Tromey <tromey@redhat.com> - - PR libgcj/24170: - * java/io/natFilePosix.cc (File::performList): Don't use - readdir_r. - * configure, include/config.h.in: Rebuilt. - * configure.ac: Don't check for readdir_r. - ---- - libjava/configure.ac | 2 +- - libjava/include/config.h.in | 3 --- - libjava/java/io/natFilePosix.cc | 8 +------- - 3 files changed, 2 insertions(+), 11 deletions(-) - -Index: gcc-4.3.1/libjava/configure.ac -=================================================================== ---- gcc-4.3.1.orig/libjava/configure.ac -+++ gcc-4.3.1/libjava/configure.ac -@@ -1023,7 +1023,7 @@ if test "x${with_newlib}" = "xyes"; then - PLATFORMNET=NoNet - else - AC_CHECK_FUNCS([strerror_r select fstat open fsync sleep opendir \ -- localtime_r readdir_r getpwuid_r getcwd \ -+ localtime_r getpwuid_r getcwd \ - access stat lstat mkdir rename rmdir unlink utime chmod readlink \ - nl_langinfo setlocale \ - inet_pton uname inet_ntoa \ -Index: gcc-4.3.1/libjava/include/config.h.in -=================================================================== ---- gcc-4.3.1.orig/libjava/include/config.h.in -+++ gcc-4.3.1/libjava/include/config.h.in -@@ -214,9 +214,6 @@ - /* Define to 1 if you have the <pwd.h> header file. */ - #undef HAVE_PWD_H - --/* Define to 1 if you have the `readdir_r' function. */ --#undef HAVE_READDIR_R -- - /* Define to 1 if you have the `readlink' function. */ - #undef HAVE_READLINK - -Index: gcc-4.3.1/libjava/java/io/natFilePosix.cc -=================================================================== ---- gcc-4.3.1.orig/libjava/java/io/natFilePosix.cc -+++ gcc-4.3.1/libjava/java/io/natFilePosix.cc -@@ -1,6 +1,6 @@ - // natFile.cc - Native part of File class for POSIX. - --/* Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2006 -+/* Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2006, 2008 - Free Software Foundation - - This file is part of libgcj. -@@ -292,13 +292,7 @@ java::io::File::performList (java::io::F - - java::util::ArrayList *list = new java::util::ArrayList (); - struct dirent *d; --#if defined(HAVE_READDIR_R) && defined(_POSIX_PTHREAD_SEMANTICS) -- int name_max = pathconf (buf, _PC_NAME_MAX); -- char dbuf[sizeof (struct dirent) + name_max + 1]; -- while (readdir_r (dir, (struct dirent *) dbuf, &d) == 0 && d != NULL) --#else /* HAVE_READDIR_R */ - while ((d = readdir (dir)) != NULL) --#endif /* HAVE_READDIR_R */ - { - // Omit "." and "..". - if (d->d_name[0] == '.' |