Skip to content

Commit

Permalink
Don't assume AT_PAGESIZE is always available
Browse files Browse the repository at this point in the history
  • Loading branch information
Andreas Schwab committed Jun 10, 2010
1 parent cde99cd commit 26f25ed
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
2010-06-10 Andreas Schwab <schwab@redhat.com>

* sysdeps/unix/sysv/linux/getpagesize.c: Don't assume AT_PAGESIZE
is always available.

* sysdeps/unix/sysv/linux/i386/Versions: Export __uname under
GLIBC_PRIVATE.
* nptl/Versions: Export __getrlimit under GLIBC_PRIVATE.
Expand Down
2 changes: 1 addition & 1 deletion sysdeps/unix/sysv/linux/getpagesize.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
int
__getpagesize ()
{
#ifdef __ASSUME_AT_PAGESIZE
#if 0 && defined __ASSUME_AT_PAGESIZE
assert (GLRO(dl_pagesize) != 0);
return GLRO(dl_pagesize);
#else
Expand Down

0 comments on commit 26f25ed

Please sign in to comment.