3 Feb
2020
3 Feb
'20
10:39 a.m.
Hi Chip, On 2/2/20 11:55 PM, Chip Davis wrote:
+/* INTERNAL: Copy lc_handle, lc_id, and lc_category from one threadlocinfo to another */ +static void copy_threadlocinfo_category(MSVCRT_pthreadlocinfo locinfo, MSVCRT_pthreadlocinfo old_locinfo, int category) +{ + locinfo->lc_handle[category] = old_locinfo->lc_handle[category]; + locinfo->lc_id[category] = old_locinfo->lc_id[category]; + if(!locinfo->lc_category[category].locale) { Why are you checking locinfo->lc_category[category].locale here?
Thanks, Piotr