This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f8115d6
)
locale.c: Add detail to debugging statement
author
Karl Williamson
<khw@cpan.org>
Mon, 19 Mar 2018 21:53:04 +0000
(15:53 -0600)
committer
Karl Williamson
<khw@cpan.org>
Mon, 19 Mar 2018 22:27:09 +0000
(16:27 -0600)
so that it is easier to debug memory leaks.
locale.c
patch
|
blob
|
blame
|
history
diff --git
a/locale.c
b/locale.c
index
2079264
..
835837b
100644
(file)
--- a/
locale.c
+++ b/
locale.c
@@
-1042,7
+1042,7
@@
S_emulate_setlocale(const int category,
# ifdef DEBUGGING
if (DEBUG_Lv_TEST || debug_initialization) {
- PerlIO_printf(Perl_debug_log, "%s:%d: emulate_setlocale created %p
\n", __FILE__, __LINE__, new
_obj);
+ PerlIO_printf(Perl_debug_log, "%s:%d: emulate_setlocale created %p
; should have freed %p\n", __FILE__, __LINE__, new_obj, old
_obj);
}
# endif