From 745e625d258c8e0525c32814243ab3fb538bae13 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Thu, 16 Nov 2000 23:13:57 +0000 Subject: Doh!!! I am an idiot. I had broken malloc by disabling getpagesize(), and I didn't even do it for a good reason. Fixed, so malloc should work again... -Erik --- libc/unistd/sysconf.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'libc/unistd/sysconf.c') diff --git a/libc/unistd/sysconf.c b/libc/unistd/sysconf.c index 96aa30122..c195a2dc3 100644 --- a/libc/unistd/sysconf.c +++ b/libc/unistd/sysconf.c @@ -203,10 +203,7 @@ long int sysconf(int name) return _POSIX_VERSION; case _SC_PAGESIZE: -#if 0 - return __getpagesize (); -#else - return -1; + return getpagesize(); #endif case _SC_AIO_LISTIO_MAX: -- cgit v1.2.3