diff --git a/bash-5.1/builtins_rust/enable/src/lib.rs b/bash-5.1/builtins_rust/enable/src/lib.rs index 46b5123ddbdcd19dde573ee4836eb76d05c6e2df..486461a5239731a70b03079bcb0f0ffb08155b8c 100644 --- a/bash-5.1/builtins_rust/enable/src/lib.rs +++ b/bash-5.1/builtins_rust/enable/src/lib.rs @@ -315,7 +315,7 @@ unsafe extern "C" fn enable_shell_command( if !set_cmd_enable(CStr::from_ptr(name).to_string_lossy().into_owned(), false) { insert_empty_cmd(CStr::from_ptr(name).to_string_lossy().into_owned()); set_cmd_enable(CStr::from_ptr(name).to_string_lossy().into_owned(), false); - get_cmd_enable(CStr::from_ptr(name).to_string_lossy().into_owned()); + //get_cmd_enable(CStr::from_ptr(name).to_string_lossy().into_owned()); } } else if restricted != 0 && (*b).flags & BUILTIN_ENABLED == 0 { sh_restricted(0 as *mut libc::c_void as *mut libc::c_char); diff --git a/record.txt b/record.txt index eb954a199e3ddffd1f96bf99beafabe648dbef21..40ca3bc7378956eddcd433916e77330c33c14f84 100644 --- a/record.txt +++ b/record.txt @@ -112,3 +112,4 @@ 111 112 113 +114