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 May 12, 2023
1 parent 926f734 commit 8a3d542
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions locale.c
Expand Up @@ -6427,6 +6427,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 8a3d542

Please sign in to comment.