[latex3-commits] [git/LaTeX3-latex3-latex3] main: Fix local assignment to a global variable '\g__sys_backend_tl' (e15009f50)

Denis Bitouzé dbitouze at wanadoo.fr
Mon Jun 14 18:06:25 CEST 2021


Repository : https://github.com/latex3/latex3
On branch  : main
Link       : https://github.com/latex3/latex3/commit/e15009f50e97e4291358db972cc0c2c630883dd3

>---------------------------------------------------------------

commit e15009f50e97e4291358db972cc0c2c630883dd3
Author: Denis Bitouzé <dbitouze at wanadoo.fr>
Date:   Mon Jun 14 18:06:25 2021 +0200

    Fix local assignment to a global variable '\g__sys_backend_tl'


>---------------------------------------------------------------

e15009f50e97e4291358db972cc0c2c630883dd3
 l3kernel/l3sys.dtx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/l3kernel/l3sys.dtx b/l3kernel/l3sys.dtx
index c7f0c1d2e..c866b5749 100644
--- a/l3kernel/l3sys.dtx
+++ b/l3kernel/l3sys.dtx
@@ -487,7 +487,7 @@
       }
       {
         \tl_if_blank:nF {#1}
-          { \tl_set:Nn \g_@@_backend_tl {#1} }
+          { \tl_gset:Nn \g_@@_backend_tl {#1} }
         \@@_load_backend_check:N \g_@@_backend_tl
         \str_const:Nx \c_sys_backend_str { \g_@@_backend_tl }
         \__kernel_sys_configuration_load:n





More information about the latex3-commits mailing list.