diff options
author | Jakub Jelinek <jakub@redhat.com> | 2004-12-17 10:09:19 +0000 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2004-12-17 10:09:19 +0000 |
commit | 337cd636a17559b7fba33c480759a4e6187e0647 (patch) | |
tree | 6195524bb75b92e28500e9c4153265a409ede509 /nptl/tst-context1.c | |
parent | 6ec2d7443853bce3f0957712540be6b296c1a672 (diff) | |
download | glibc-337cd636a17559b7fba33c480759a4e6187e0647.tar.gz glibc-337cd636a17559b7fba33c480759a4e6187e0647.tar.xz glibc-337cd636a17559b7fba33c480759a4e6187e0647.zip |
Updated to fedora-glibc-20041217T0906 cvs/fedora-glibc-2_3_3-97
Diffstat (limited to 'nptl/tst-context1.c')
-rw-r--r-- | nptl/tst-context1.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nptl/tst-context1.c b/nptl/tst-context1.c index 1a019ad000..fcbeadeea0 100644 --- a/nptl/tst-context1.c +++ b/nptl/tst-context1.c @@ -37,7 +37,7 @@ typedef struct { unsigned long guard[3]; } tst_context_t; -static char stacks[N][PTHREAD_STACK_MIN]; +static char stacks[N][2 * PTHREAD_STACK_MIN]; static tst_context_t ctx[N][2]; static volatile int failures; @@ -110,7 +110,7 @@ tf (void *arg) printf ("%d: %s: before makecontext\n", n, __FUNCTION__); ctx[n][1].uctx.uc_stack.ss_sp = stacks[n]; - ctx[n][1].uctx.uc_stack.ss_size = PTHREAD_STACK_MIN; + ctx[n][1].uctx.uc_stack.ss_size = sizeof (stacks[n]); ctx[n][1].uctx.uc_link = &ctx[n][0].uctx; makecontext (&ctx[n][1].uctx, (void (*) (void)) fct, 1, (long int) n); |