Skip to content

Commit 885e3bd

Browse files
committed
Add printf
1 parent 74cfe92 commit 885e3bd

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

libcxx/include/__locale_dir/locale_base_api/bsd_locale_defaults.h

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,10 @@ inline _LIBCPP_HIDE_FROM_ABI size_t __libcpp_mbrlen_l(const char* __s, size_t __
7373
}
7474
#endif // _LIBCPP_HAS_NO_WIDE_CHARACTERS
7575

76-
inline _LIBCPP_HIDE_FROM_ABI lconv* __libcpp_localeconv_l(locale_t __loc) { return ::localeconv_l(__loc); }
76+
inline _LIBCPP_HIDE_FROM_ABI lconv* __libcpp_localeconv_l(locale_t __loc) {
77+
fprintf(stderr, "Entering __libcpp_localeconv_l inside bsd_locale_defaults.h\n");
78+
return ::localeconv_l(__loc);
79+
}
7780

7881
#ifndef _LIBCPP_HAS_NO_WIDE_CHARACTERS
7982
inline _LIBCPP_HIDE_FROM_ABI size_t

0 commit comments

Comments
 (0)