Pārlūkot izejas kodu

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 gadi atpakaļ
vecāks
revīzija
745e625d25
1 mainītis faili ar 1 papildinājumiem un 4 dzēšanām
  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: