[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: New glibc



In article <Pine.LNX.3.96.980112125252.24404B-100000$salmon.etsit.upm.es@lists.netg.se> you write:
>I'm about to upload a new release of glibc, with some bugs
>fixed: strcmp(), and getdomainname() (and other unimplemented
>syscalls).
>
>Is there any other bug you would like to get fixed?

The getpagesize bug I mentioned earlier (affects ld-linux.so.2). This
is probably not the 100% correct fix, but at least it works.

/Anders

--- sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c.orig    Mon Jan 12 13:13:06 1998
+++ sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c Mon Jan 12 13:14:17 1998
@@ -18,6 +18,7 @@
 
 #include <unistd.h>
 #include <sys/param.h>
+#include <asm/elf.h>
 
 /* Return the system page size.  This value will either be 4k or 8k depending
    on whether or not we are running on Sparc v9 machine.  */
@@ -32,7 +33,7 @@
 __getpagesize ()
 {
   if (_dl_pagesize == 0)
-    _dl_pagesize = EXEC_PAGESIZE;
+    _dl_pagesize = ELF_EXEC_PAGESIZE;
   return _dl_pagesize;
 }
 


-- 
 -- Of course I'm crazy, but that doesn't mean I'm wrong.
Anders Hammarquist   |       Mud at Kingdoms        | iko@netg.se
NetGuide Scandinavia |   telnet kingdoms.se 1812    | Fax: +46 31 50 79 39
http://www.netg.se   |                              | Tel: +46 31 50 79 40


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-sparc-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: