+2003-08-01 Bruno Haible <bruno@clisp.org>
+
+ * relocatable.c (find_shared_library_fullname): Disable the code on
+ Linux/libc5. Reported by Alain Guibert <derogaton+bgli@oreka.com>.
+
2003-06-27 Bruno Haible <bruno@clisp.org>
Avoid use of *_unlocked functions on Solaris 2.5.1.
static void
find_shared_library_fullname ()
{
-#ifdef __linux__
+#if defined __linux__ && __GLIBC__ >= 2
+ /* Linux has /proc/self/maps. glibc 2 has the getline() function. */
FILE *fp;
/* Open the current process' maps file. It describes one VMA per line. */
+2003-08-01 Bruno Haible <bruno@clisp.org>
+
+ * relocatable.c (find_shared_library_fullname): Disable the code on
+ Linux/libc5. Reported by Alain Guibert <derogaton+bgli@oreka.com>.
+
2003-07-09 Paul Eggert <eggert@twinsun.com>
* alloca_.h: Switch from LGPL to GPL.
static void
find_shared_library_fullname ()
{
-#ifdef __linux__
+#if defined __linux__ && __GLIBC__ >= 2
+ /* Linux has /proc/self/maps. glibc 2 has the getline() function. */
FILE *fp;
/* Open the current process' maps file. It describes one VMA per line. */