APPROVE COMMIT
NOTE: This patch has been committed
# HG changeset patch
# User Aidan Kehoe <kehoea(a)parhasard.net>
# Date 1510264789 0
#      Thu Nov 09 21:59:49 2017 +0000
# Node ID 7ce0eaac52e01c1f46b35f8a36d08abcd3bbc0a6
# Parent  1c9b5a16e78274b6b671f85a57b9f7c88a952115
Fix the build #ifdef CCL_DEBUG.
src/ChangeLog addition:
2017-11-09  Aidan Kehoe  <kehoea(a)parhasard.net>
	* mule-ccl.c (ccl_driver):
	Fix the build #ifdef CCL_DEBUG.
diff -r 1c9b5a16e782 -r 7ce0eaac52e0 src/ChangeLog
--- a/src/ChangeLog	Thu Nov 09 21:47:32 2017 +0000
+++ b/src/ChangeLog	Thu Nov 09 21:59:49 2017 +0000
@@ -1,3 +1,8 @@
+2017-11-09  Aidan Kehoe  <kehoea(a)parhasard.net>
+
+	* mule-ccl.c (ccl_driver):
+	Fix the build #ifdef CCL_DEBUG.
+
 2017-11-07  Aidan Kehoe  <kehoea(a)parhasard.net>
 
 	Quieten some compiler warnings:
diff -r 1c9b5a16e782 -r 7ce0eaac52e0 src/mule-ccl.c
--- a/src/mule-ccl.c	Thu Nov 09 21:47:32 2017 +0000
+++ b/src/mule-ccl.c	Thu Nov 09 21:59:49 2017 +0000
@@ -2020,7 +2020,7 @@
 	    EMACS_INT i = ccl_backtrace_idx - 1;
 	    EMACS_INT j;
 
-	    Dynarr_add_many (destination, (unsigned char *) msg, strlen (msg));
+	    Dynarr_add_many (destination, (unsigned char *) msg, qxestrlen (msg));
 
 	    for (j = 0; j < CCL_DEBUG_BACKTRACE_LEN; j++, i--)
 	      {
@@ -2029,7 +2029,7 @@
 		  break;
 		Dynarr_add_many (destination, msg,
 				 emacs_snprintf (msg, sizeof (msg),
-						 " %ld", ccl_backtrace_table[i]))
+						 " %ld", ccl_backtrace_table[i]));
 	      }
 	    goto ccl_finish;
 	  }
-- 
‘As I sat looking up at the Guinness ad, I could never figure out /
How your man stayed up on the surfboard after forty pints of stout’
(C. Moore)
    
    
    
 
                    
                    
                        
                        Show replies by date