Builtins fixed
The builtins wasnt protected, now all data received is protected, the hashmap addition is protected and added functionality of env, export and unset (not implemented in this version). Added fixed details documentation in docs/builtins_fixes.md generated by codex and created tests/builtins_edge_cases.sh to test all the builtins to work correctly
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
#include "builtins.h"
|
||||
#include "echo_def.h"
|
||||
|
||||
u_int8_t builtin_echo(
|
||||
uint8_t builtin_echo(
|
||||
t_command cmd,
|
||||
t_minishell *msh
|
||||
){
|
||||
|
||||
Reference in New Issue
Block a user