texinfo-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[no subject]


From: Gavin D. Smith
Date: Fri, 14 Apr 2023 05:33:21 -0400 (EDT)

branch: master
commit 4261b1dc84530b635712ae06e96f6e7b8a0fed67
Author: Gavin Smith <gavinsmith0123@gmail.com>
AuthorDate: Thu Apr 13 21:13:21 2023 +0100

    * README-hacking: add note about Perl::Destruct::Level.
---
 ChangeLog      | 4 ++++
 README-hacking | 4 ++++
 2 files changed, 8 insertions(+)

diff --git a/ChangeLog b/ChangeLog
index 52418a2479..f36164d855 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2023-04-13  Gavin Smith <gavinsmith0123@gmail.com>
+
+       * README-hacking: add note about Perl::Destruct::Level.
+
 2023-04-13  Gavin Smith <gavinsmith0123@gmail.com>
 
        * tp/Texinfo/XS/parsetexi/api.c (element_to_perl_hash)
diff --git a/README-hacking b/README-hacking
index 3996cc7ede..ead8fb93a4 100644
--- a/README-hacking
+++ b/README-hacking
@@ -223,6 +223,10 @@ run all tests with valgrind:
 * edit install-info/tests/defs.in, uncomment valgrind line and run
   config.status to regenerate defs
 * XS modules memory leak check checking with valgrind
+  Add line "use Perl::Destruct::Level level => 1;" to texi2any.pl
+  when running 'valgrind --leak-check=full' to make perl clean it
+  its allocations.
+
 
 NYTProf profiling for Perl code
 * e.g. 'perl -d:NYTProf ../tp/texi2any.pl FILE.texi'.  See Devel::NYTProf



reply via email to

[Prev in Thread] Current Thread [Next in Thread]