texinfo-commits
[Top][All Lists]
Advanced

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

branch master updated: * tp/Texinfo/XS/main/get_perl_info.c (html_fill_b


From: Patrice Dumas
Subject: branch master updated: * tp/Texinfo/XS/main/get_perl_info.c (html_fill_button_sv_specification_list): cast to (SV *) before callling SvPVutf8_nolen. Report from Gavin. Analysis of Andreas Schwab: before v5.37.2 SvPVutf8_nolen was a macro that dereferenced its argument, after that the implementation moved into an inline function.
Date: Fri, 04 Oct 2024 02:05:14 -0400

This is an automated email from the git hooks/post-receive script.

pertusus pushed a commit to branch master
in repository texinfo.

The following commit(s) were added to refs/heads/master by this push:
     new 3e046356a8 * tp/Texinfo/XS/main/get_perl_info.c 
(html_fill_button_sv_specification_list): cast to (SV *) before callling 
SvPVutf8_nolen.  Report from Gavin.  Analysis of Andreas Schwab: before v5.37.2 
SvPVutf8_nolen was a macro that dereferenced its argument, after that the 
implementation moved into an inline function.
3e046356a8 is described below

commit 3e046356a8b251a4cce87cd436e8508823afd7d0
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Fri Oct 4 08:01:46 2024 +0200

    * tp/Texinfo/XS/main/get_perl_info.c
    (html_fill_button_sv_specification_list): cast to (SV *) before
    callling SvPVutf8_nolen.  Report from Gavin.  Analysis of Andreas
    Schwab: before v5.37.2 SvPVutf8_nolen was a macro that dereferenced
    its argument, after that the implementation moved into an inline
    function.
---
 ChangeLog                          | 9 +++++++++
 tp/Texinfo/XS/main/get_perl_info.c | 2 +-
 2 files changed, 10 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index 3ff13bb358..c5379fd912 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2024-10-04  Patrice Dumas  <pertusus@free.fr>
+
+       * tp/Texinfo/XS/main/get_perl_info.c
+       (html_fill_button_sv_specification_list): cast to (SV *) before
+       callling SvPVutf8_nolen.  Report from Gavin.  Analysis of Andreas
+       Schwab: before v5.37.2 SvPVutf8_nolen was a macro that dereferenced
+       its argument, after that the implementation moved into an inline
+       function.
+
 2024-08-10  Patrice Dumas  <pertusus@free.fr>
 
        * tp/Texinfo/XS/main/utils.c (list_add_option)
diff --git a/tp/Texinfo/XS/main/get_perl_info.c 
b/tp/Texinfo/XS/main/get_perl_info.c
index 4f6010b856..4b6ae369a9 100644
--- a/tp/Texinfo/XS/main/get_perl_info.c
+++ b/tp/Texinfo/XS/main/get_perl_info.c
@@ -861,7 +861,7 @@ html_fill_button_sv_specification_list (const CONVERTER 
*converter,
         {
           if (button->sv)
             {
-              const char *direction_name = SvPVutf8_nolen (button->sv);
+              const char *direction_name = SvPVutf8_nolen ((SV *)button->sv);
               if (direction_name)
                 button->b.direction = html_get_direction_index (converter,
                                                               direction_name);



reply via email to

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