With current CVS  it's necessary to revert the 
teb->CurrentLocale = GetUserDefaultLCID() change in scheduler/thread.c
else Wine segfaults.

Gerard

--- thread.c.orig       Mon Jul 10 22:19:09 2000
+++ thread.c    Mon Jul 10 23:12:17 2000
@@ -90,7 +90,6 @@
     teb->StaticUnicodeString.MaximumLength = sizeof(teb->StaticUnicodeBuffer);
     teb->StaticUnicodeString.Buffer = (PWSTR)teb->StaticUnicodeBuffer;
     teb->teb_sel = SELECTOR_AllocBlock( teb, 0x1000, SEGMENT_DATA, TRUE, FALSE );
-    teb->CurrentLocale = GetUserDefaultLCID(); /* for threads in user context */
     return (teb->teb_sel != 0);
 }
 
@@ -302,6 +301,7 @@
     teb->entry_arg   = param;
     teb->startup     = THREAD_Start;
     teb->htask16     = GetCurrentTask();
+    teb->CurrentLocale = GetUserDefaultLCID(); /* for threads in user context */
     if (id) *id = (DWORD)tid;
     if (SYSDEPS_SpawnThread( teb ) == -1)
     {  

Reply via email to