diff options
author | Karl Williamson <khw@cpan.org> | 2022-09-28 14:03:49 -0600 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2022-09-30 07:01:47 -0600 |
commit | 85a4f4c4517f44d3809493240f1a9b503244c7ad (patch) | |
tree | 476ac9ff7761252cb55f62328475716fa0b285b9 /locale.c | |
parent | e31c458ba106743af1db34149b866b2c5f9d406b (diff) | |
download | perl-85a4f4c4517f44d3809493240f1a9b503244c7ad.tar.gz |
Add pTHX to thread_locale_(init|term)
A future commit will want the context for more than just DEBUGGING
builds.
Diffstat (limited to 'locale.c')
-rw-r--r-- | locale.c | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -6729,14 +6729,12 @@ S_my_setlocale_debug_string_i(pTHX_ #endif void -Perl_thread_locale_init() +Perl_thread_locale_init(pTHX) { /* Called from a thread on startup*/ #ifdef USE_THREAD_SAFE_LOCALE - dTHX_DEBUGGING; - DEBUG_L(PerlIO_printf(Perl_debug_log, "new thread, initial locale is %s;" " calling setlocale(LC_ALL, \"C\")\n", @@ -6765,7 +6763,7 @@ Perl_thread_locale_init() } void -Perl_thread_locale_term() +Perl_thread_locale_term(pTHX) { /* Called from a thread as it gets ready to terminate */ |