* Makefile (tests): Add it.
(tst-oddstacklimit-ENV): New variable.
* init.c (__pthread_initialize_minimal_internal): Round stack rlimit
value up to page size for __default_stacksize.
+2003-12-23 Roland McGrath <roland@redhat.com>
+
+ * tst-oddstacklimit.c: New file.
+ * Makefile (tests): Add it.
+ (tst-oddstacklimit-ENV): New variable.
+
+ * init.c (__pthread_initialize_minimal_internal): Round stack rlimit
+ value up to page size for __default_stacksize.
+
2003-12-21 Ulrich Drepper <drepper@redhat.com>
* Makefile (tests): Add tst-eintr5.
tst-popen1 \
tst-clock1 tst-clock2 \
tst-context1 \
- tst-sched1
+ tst-sched1 \
+ tst-oddstacklimit
+
+# This sets the stack resource limit to 1023kb, which is not a multiple
+# of the page size since every architecture's page size is > 1k.
+tst-oddstacklimit-ENV = ; ulimit -s 1023;
distribute = eintr.c tst-cleanup4aux.c
--- /dev/null
+#include "tst-basic1.c"