summaryrefslogtreecommitdiffstats
path: root/c/src/exec/score/src/threadinitialize.c
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/exec/score/src/threadinitialize.c')
-rw-r--r--c/src/exec/score/src/threadinitialize.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/c/src/exec/score/src/threadinitialize.c b/c/src/exec/score/src/threadinitialize.c
index feb07836e3..e850e3fe1f 100644
--- a/c/src/exec/score/src/threadinitialize.c
+++ b/c/src/exec/score/src/threadinitialize.c
@@ -115,6 +115,12 @@ boolean _Thread_Initialize(
#endif
/*
+ * Clear the libc reent hook.
+ */
+
+ the_thread->libc_reent = NULL;
+
+ /*
* Allocate the extensions area for this thread
*/