From 169fe228258779109de9b65361fc3588a08264a5 Mon Sep 17 00:00:00 2001 From: James Cherry Date: Fri, 20 Dec 2019 15:08:36 -0700 Subject: [PATCH] TclEncode terminate string --- etc/TclEncode.tcl | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/etc/TclEncode.tcl b/etc/TclEncode.tcl index c825ef20..f5ab5b84 100755 --- a/etc/TclEncode.tcl +++ b/etc/TclEncode.tcl @@ -76,3 +76,9 @@ foreach filename $init_filenames { encode_file $filename } +puts $out_stream "\"," +# NULL string to terminate char* array. +puts $out_stream "0" +puts $out_stream "};" +puts $out_stream "} // namespace" +close $out_stream