Blame SOURCES/glibc-rh739184.patch

4999bf
2010-06-10  Andreas Schwab  <schwab@redhat.com>
4999bf
4999bf
	* sysdeps/unix/sysv/linux/getpagesize.c: Don't assume AT_PAGESIZE
4999bf
	is always available.
4999bf
4999bf
Index: glibc-2.12-2-gc4ccff1/sysdeps/unix/sysv/linux/getpagesize.c
4999bf
===================================================================
4999bf
--- glibc-2.12-2-gc4ccff1.orig/sysdeps/unix/sysv/linux/getpagesize.c
4999bf
+++ glibc-2.12-2-gc4ccff1/sysdeps/unix/sysv/linux/getpagesize.c
4999bf
@@ -28,7 +28,7 @@
4999bf
 int
4999bf
 __getpagesize ()
4999bf
 {
4999bf
-#ifdef __ASSUME_AT_PAGESIZE
4999bf
+#if 0 && defined __ASSUME_AT_PAGESIZE
4999bf
   assert (GLRO(dl_pagesize) != 0);
4999bf
   return GLRO(dl_pagesize);
4999bf
 #else