OSDN Git Service
(root)
/
uclinux-h8
/
uClibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
350c021
)
Doh!!! I am an idiot. I had broken malloc by disabling getpagesize(), and I
author
Eric Andersen
<andersen@codepoet.org>
Thu, 16 Nov 2000 23:13:57 +0000
(23:13 -0000)
committer
Eric Andersen
<andersen@codepoet.org>
Thu, 16 Nov 2000 23:13:57 +0000
(23:13 -0000)
didn't even do it for a good reason. Fixed, so malloc should work again...
-Erik
libc/unistd/sysconf.c
patch
|
blob
|
history
diff --git
a/libc/unistd/sysconf.c
b/libc/unistd/sysconf.c
index
96aa301
..
c195a2d
100644
(file)
--- 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: