From 00a283400d6b4480673370037ac208cc8265f193 Mon Sep 17 00:00:00 2001 From: zhanghuanhuan Date: Tue, 10 Oct 2023 15:19:19 +0800 Subject: [PATCH] called func bind_variable_internal and enter next loop --- bash-5.1/r_variables/src/lib.rs | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/bash-5.1/r_variables/src/lib.rs b/bash-5.1/r_variables/src/lib.rs index 3023ddb..53d9e40 100644 --- a/bash-5.1/r_variables/src/lib.rs +++ b/bash-5.1/r_variables/src/lib.rs @@ -98,6 +98,17 @@ pub unsafe extern "C" fn bind_variable( ); } } + + vc = (*vc).down; + } + + return bind_variable_internal( + name, + value, + (*global_variables).table, + 0 as libc::c_int, + flags, + ); } #[derive(Copy, Clone)] -- Gitee