[pypy-svn] r64150 - pypy/trunk/pypy/translator/c/src

afa at codespeak.net afa at codespeak.net
Thu Apr 16 12:55:30 CEST 2009


Author: afa
Date: Thu Apr 16 12:55:29 2009
New Revision: 64150

Modified:
   pypy/trunk/pypy/translator/c/src/thread_nt.h
Log:
Typo in win32 implementation of threads


Modified: pypy/trunk/pypy/translator/c/src/thread_nt.h
==============================================================================
--- pypy/trunk/pypy/translator/c/src/thread_nt.h	(original)
+++ pypy/trunk/pypy/translator/c/src/thread_nt.h	Thu Apr 16 12:55:29 2009
@@ -118,7 +118,7 @@
 	}
 
 	/* check the range */
-	if (newsize >= THREAD_MIN_STACKSIZE && size < THREAD_MAX_STACKSIZE) {
+	if (newsize >= THREAD_MIN_STACKSIZE && newsize < THREAD_MAX_STACKSIZE) {
 		_pypythread_stacksize = newsize;
 		return 0;
 	}



More information about the Pypy-commit mailing list