texinfo-commits
[Top][All Lists]
Advanced

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

[6413] add dTHX to XSParagraph::hello


From: Gavin D. Smith
Subject: [6413] add dTHX to XSParagraph::hello
Date: Sat, 11 Jul 2015 17:17:38 +0000

Revision: 6413
          http://svn.sv.gnu.org/viewvc/?view=rev&root=texinfo&revision=6413
Author:   gavin
Date:     2015-07-11 17:17:37 +0000 (Sat, 11 Jul 2015)
Log Message:
-----------
add dTHX to XSParagraph::hello

Modified Paths:
--------------
    trunk/ChangeLog
    trunk/tp/Texinfo/Convert/XSParagraph/mylib/xspara.c

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog     2015-07-11 16:38:51 UTC (rev 6412)
+++ trunk/ChangeLog     2015-07-11 17:17:37 UTC (rev 6413)
@@ -1,3 +1,9 @@
+2015-07-11  Gavin Smith  <address@hidden>
+
+       * tp/Texinfo/Convert/XSParagraph/mylib/xspara.c (xspara_hello):
+       Use dTHX to avoid perl error about undefined "my_perl" due to 
+       Perl's "malloc" being used.
+       
 2015-07-11  Eli Zaretskii  <address@hidden>
 
        * tp/Texinfo/Convert/XSParagraph/mylib/xspara.c [_WIN32]: Don't

Modified: trunk/tp/Texinfo/Convert/XSParagraph/mylib/xspara.c
===================================================================
--- trunk/tp/Texinfo/Convert/XSParagraph/mylib/xspara.c 2015-07-11 16:38:51 UTC 
(rev 6412)
+++ trunk/tp/Texinfo/Convert/XSParagraph/mylib/xspara.c 2015-07-11 17:17:37 UTC 
(rev 6413)
@@ -190,6 +190,8 @@
   char *cur;
   char *dot;
 
+  dTHX;
+
   //puts ("initializing XSParagraph");
   if (setlocale (LC_CTYPE, "en_US.UTF-8")
       || setlocale (LC_CTYPE, "en_US.utf8"))




reply via email to

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