diff --git a/Makefile b/Makefile index a1ccdb0..e717f16 100644 --- a/Makefile +++ b/Makefile @@ -6,7 +6,7 @@ # By: marde-vr +#+ +:+ +#+ # # +#+#+#+#+#+ +#+ # # Created: 2023/07/28 00:35:01 by tomoron #+# #+# # -# Updated: 2024/04/26 10:52:53 by marde-vr ### ########.fr # +# Updated: 2024/04/26 14:49:33 by marde-vr ### ########.fr # # # # **************************************************************************** # @@ -89,6 +89,7 @@ clean: fi bonus: all + @$(CC) $(FLAGS) $(OBJS) $(LIBFT) -lreadline -o $(NAME)_bonus install: $(NAME) cp $(NAME) ~/.local/bin/msh diff --git a/srcs/check_syntax_utils.c b/srcs/check_syntax_utils.c index 81a52ca..cfddb7a 100644 --- a/srcs/check_syntax_utils.c +++ b/srcs/check_syntax_utils.c @@ -6,13 +6,13 @@ /* By: tomoron +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2024/04/24 14:54:53 by tomoron #+# #+# */ -/* Updated: 2024/04/26 14:41:58 by tomoron ### ########.fr */ +/* Updated: 2024/04/26 14:46:53 by marde-vr ### ########.fr */ /* */ /* ************************************************************************** */ #include "minishell.h" -void print_syntax_error_bonus(t_cmd *cmd,t_cmd *cmds) +void print_syntax_error_bonus(t_cmd *cmd, t_cmd *cmds) { free_cmd(cmds); if (cmd->cmd_type == CMD || cmd->cmd_type == PAREN) diff --git a/todo_list b/todo_list deleted file mode 100644 index 6ae8f09..0000000 --- a/todo_list +++ /dev/null @@ -1,10 +0,0 @@ -Cat makefile | (echo yes && rev) leaks -(), ((())), (()) - - -To test: - -test signals -test and verify all malocs -verify forbidden functions -check for any hidden or useless files diff --git a/valgrind.supp b/valgrind.supp deleted file mode 100755 index 1b3bbf6..0000000 --- a/valgrind.supp +++ /dev/null @@ -1,15 +0,0 @@ -{ - readline - Memcheck:Leak - ... - fun:readline - ... -} - -{ - readline - Memcheck:Leak - ... - fun:add_history - ... -}