Merge branch 'feature/builtins-gl' into feature/executor-gl
# Conflicts: # src/parser/parser.c
This commit is contained in:
@@ -129,7 +129,9 @@ char **get_envp(
|
||||
size_t i;
|
||||
|
||||
env_list = ft_hashmap_entries(msh->variables.environment);
|
||||
envp = (char **)malloc((msh->variables.environment->size + 1) * sizeof(char *));
|
||||
envp = (char **)malloc(
|
||||
(msh->variables.environment->size + 1) * sizeof(char *)
|
||||
);
|
||||
if (envp != NULL)
|
||||
{
|
||||
i = 0;
|
||||
|
||||
Reference in New Issue
Block a user