fds and sigint

This commit is contained in:
Loic Deridder
2025-02-13 09:10:54 +01:00
parent b57118d0ae
commit 842e31c68f
7 changed files with 42 additions and 13 deletions

View File

@@ -37,6 +37,7 @@ t_msh *init_msh(char **envp)
close(fd);
msh->hist = open(".mmoat_history", O_RDWR | O_CREAT | O_APPEND, 0666);
msh->ex_code = 0;
msh->here_fd = -1;
msh->input = NULL;
if (!msh)
return (NULL);