texinfo-commits
[Top][All Lists]
Advanced

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

[no subject]


From: Patrice Dumas
Date: Wed, 23 Oct 2024 19:06:32 -0400 (EDT)

branch: master
commit 69082035845a8d7dd3415ea1e9848040aa8ff753
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Thu Oct 24 00:58:20 2024 +0200

    * tp/Texinfo/XS/main/build_perl_info.c (html_build_button): rename
    cv_name as sub_full_name to avoid ppport.h false positive.
---
 ChangeLog                            |  5 +++++
 tp/Texinfo/XS/main/build_perl_info.c | 11 ++++++-----
 2 files changed, 11 insertions(+), 5 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index a8026cc01e..c6a79dc0b5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2024-10-23  Patrice Dumas  <pertusus@free.fr>
+
+       * tp/Texinfo/XS/main/build_perl_info.c (html_build_button): rename
+       cv_name as sub_full_name to avoid ppport.h false positive.
+
 2024-10-23  Patrice Dumas  <pertusus@free.fr>
 
        Avoid using C specific types in code
diff --git a/tp/Texinfo/XS/main/build_perl_info.c 
b/tp/Texinfo/XS/main/build_perl_info.c
index 19de3c5bdf..50fcdeaae9 100644
--- a/tp/Texinfo/XS/main/build_perl_info.c
+++ b/tp/Texinfo/XS/main/build_perl_info.c
@@ -2891,15 +2891,16 @@ html_build_button (const CONVERTER *converter, 
BUTTON_SPECIFICATION *button,
                                       button_spec->bi.button_function.type];
               if (sub_name)
                 {
-                  char *cv_name;
+                  char *sub_full_name;
                   CV *button_function_cv;
 
-                  xasprintf (&cv_name, "Texinfo::Convert::HTML%s", sub_name);
-                  button_function_cv = get_cv (cv_name, 0);
+                  xasprintf (&sub_full_name, "Texinfo::Convert::HTML%s",
+                             sub_name);
+                  button_function_cv = get_cv (sub_full_name, 0);
                   if (!button_function_cv)
-                    fprintf (stderr, "BUG: %s: not found\n", cv_name);
+                    fprintf (stderr, "BUG: %s: not found\n", sub_full_name);
 
-                  free (cv_name);
+                  free (sub_full_name);
 
                   button_spec_info_av = newAV ();
                   av_push (button_spec_info_av,



reply via email to

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