Browse Source

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

Eric Andersen 23 years ago
parent
commit
745e625d25
1 changed files with 1 additions and 4 deletions
  1. 1 4
      libc/unistd/sysconf.c

+ 1 - 4
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: