Skip to content

Commit

Permalink
locale.c: Add a debugging statement
Browse files Browse the repository at this point in the history
This can be helpful in tracing what's happening with nl_langinfo()
calls.
  • Loading branch information
khwilliamson committed Nov 13, 2023
1 parent d215173 commit 82b507d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions locale.c
Expand Up @@ -6655,6 +6655,9 @@ S_my_langinfo_i(pTHX_
*utf8ness = is_utf8;
}

DEBUG_Lv(PerlIO_printf(Perl_debug_log,
"Leaving my_langinfo item=%ld, using locale %s\n",
(long) item, locale));
return retval;

# endif /* All the implementations of my_langinfo() */
Expand Down

0 comments on commit 82b507d

Please sign in to comment.