🔨」 fix(get_path): fixed algorythm for better performances

This commit is contained in:
yosyo
2024-06-13 14:21:45 +02:00
parent f70c506fed
commit 8ec6d94a52
3 changed files with 25 additions and 124 deletions

View File

@ -6,7 +6,7 @@
/* By: mmoussou <mmoussou@student.42angouleme.fr +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/04/29 13:20:22 by mmoussou #+# #+# */
/* Updated: 2024/06/04 23:07:27 by mmoussou ### ########.fr */
/* Updated: 2024/06/13 14:12:31 by mmoussou ### ########.fr */
/* */
/* ************************************************************************** */
@ -15,7 +15,7 @@
# include "env.h"
char **get_path(char *path);
char *get_path(char *path, char *cmd);
int exec_split_cmd(t_list *list_cmd, t_env *env);
/**