Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libpthread Use correct size.
details: https://anonhg.NetBSD.org/src/rev/fe7b2b848f9c
branches: trunk
changeset: 777933:fe7b2b848f9c
user: joerg <joerg%NetBSD.org@localhost>
date: Sat Mar 10 18:01:09 2012 +0000
description:
Use correct size.
diffstat:
lib/libpthread/pthread.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r b313821ee9de -r fe7b2b848f9c lib/libpthread/pthread.c
--- a/lib/libpthread/pthread.c Sat Mar 10 16:56:33 2012 +0000
+++ b/lib/libpthread/pthread.c Sat Mar 10 18:01:09 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pthread.c,v 1.129 2012/03/09 12:06:44 drochner Exp $ */
+/* $NetBSD: pthread.c,v 1.130 2012/03/10 18:01:10 joerg Exp $ */
/*-
* Copyright (c) 2001, 2002, 2003, 2006, 2007, 2008 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__RCSID("$NetBSD: pthread.c,v 1.129 2012/03/09 12:06:44 drochner Exp $");
+__RCSID("$NetBSD: pthread.c,v 1.130 2012/03/10 18:01:10 joerg Exp $");
#define __EXPOSE_STACK 1
@@ -339,7 +339,7 @@
return ENOMEM;
mapped_stack = true;
}
- newthread->pt_stack.ss_size = pthread__stacksize - pthread__pagesize;
+ newthread->pt_stack.ss_size = stacksize - pthread__pagesize;
newthread->pt_stack.ss_sp = stackbase;
#ifdef __MACHINE_STACK_GROWS_UP
redzone = (char *)stackbase + newthread->pt_stack.ss_size;
Home |
Main Index |
Thread Index |
Old Index