fixed command not found stopping execution
This commit is contained in:
@ -6,7 +6,7 @@
|
||||
/* By: marde-vr <marde-vr@42angouleme.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2024/02/21 21:47:15 by marde-vr #+# #+# */
|
||||
/* Updated: 2024/04/30 14:02:25 by marde-vr ### ########.fr */
|
||||
/* Updated: 2024/05/03 08:34:53 by marde-vr ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
@ -102,5 +102,6 @@ void get_cmd_path(t_msh *msh)
|
||||
free(msh->tokens->value);
|
||||
msh->tokens->value = 0;
|
||||
g_return_code = 127;
|
||||
msh->in_fd = -2;
|
||||
}
|
||||
}
|
||||
|
13
todo
13
todo
@ -1,13 +0,0 @@
|
||||
(()) leaks when exit
|
||||
|
||||
|
||||
probably repaired:
|
||||
|
||||
- cat < Makefile | rev | cat -e | rev | cat
|
||||
- cat Makefile | commandnotfound | cat
|
||||
- .. # (pas de command not found)
|
||||
- echo -nnn -n -nnnnnn aaa -nn # (invalid write/read)
|
||||
- echo -nnn -n -a -nnnnnn aaa -nn # (pas de print de flag apres le -a) (mais ca marche sur echo -nnn -n -nigga -nnnnnn aaa -nn ????????????????)
|
||||
- cat filenotfound -> exit # (exit avec le status 0 et pas 1)
|
||||
- < filenotfound # (status code pas a 1)
|
||||
- export aaa -> env # (variable aaa qui s'affiche)
|
Reference in New Issue
Block a user