diff --git a/other/valgrind.supp b/.val.supp similarity index 100% rename from other/valgrind.supp rename to .val.supp diff --git a/other/is_fd_open.c b/other/is_fd_open.c deleted file mode 100644 index aafb107..0000000 --- a/other/is_fd_open.c +++ /dev/null @@ -1,24 +0,0 @@ -/* ************************************************************************** */ -/* */ -/* ::: :::::::: */ -/* is_fd_open.c :+: :+: :+: */ -/* +:+ +:+ +:+ */ -/* By: marde-vr +#+ +:+ +#+ */ -/* +#+#+#+#+#+ +#+ */ -/* Created: 2024/03/05 17:31:53 by marde-vr #+# #+# */ -/* Updated: 2024/03/05 17:35:39 by marde-vr ### ########.fr */ -/* */ -/* ************************************************************************** */ - -#include "../srcs/minishell.h" - -int is_fd_open(int fd) -{ - if (fcntl(fd, F_GETFL) == -1) - { - ft_printf_fd(2, "%d:closed\n", fd); - return (0); - } - ft_printf_fd(2, "%d:open\n", fd); - return (1); -} diff --git a/other/test.c b/other/test.c deleted file mode 100755 index 73b952b..0000000 --- a/other/test.c +++ /dev/null @@ -1,27 +0,0 @@ -/* ************************************************************************** */ -/* */ -/* ::: :::::::: */ -/* test.c :+: :+: :+: */ -/* +:+ +:+ +:+ */ -/* By: tomoron +#+ +:+ +#+ */ -/* +#+#+#+#+#+ +#+ */ -/* Created: 2024/02/04 17:30:08 by tomoron #+# #+# */ -/* Updated: 2024/02/09 16:41:52 by tomoron ### ########.fr */ -/* */ -/* ************************************************************************** */ - -#include -#include - -int main(int argc, char **argv) -{ - int i; - - i = 0; - while (i < argc) - { - printf("\"%s\"\n", argv[i]); - i++; - } - return (0); -} diff --git a/other/test2.c b/other/test2.c deleted file mode 100755 index a870f6b..0000000 --- a/other/test2.c +++ /dev/null @@ -1,20 +0,0 @@ -/* ************************************************************************** */ -/* */ -/* ::: :::::::: */ -/* test2.c :+: :+: :+: */ -/* +:+ +:+ +:+ */ -/* By: tomoron +#+ +:+ +#+ */ -/* +#+#+#+#+#+ +#+ */ -/* Created: 2024/02/07 13:30:04 by tomoron #+# #+# */ -/* Updated: 2024/02/09 16:42:59 by tomoron ### ########.fr */ -/* */ -/* ************************************************************************** */ -#include -#include - -int main(int argc, char **argv) -{ - if (argc == 2) - return (atoi(argv[1])); - return (0); -} diff --git a/other/test3.c b/other/test3.c deleted file mode 100644 index c71cecf..0000000 --- a/other/test3.c +++ /dev/null @@ -1,18 +0,0 @@ -/* ************************************************************************** */ -/* */ -/* ::: :::::::: */ -/* test3.c :+: :+: :+: */ -/* +:+ +:+ +:+ */ -/* By: marde-vr +#+ +:+ +#+ */ -/* +#+#+#+#+#+ +#+ */ -/* Created: 2024/04/22 19:42:37 by marde-vr #+# #+# */ -/* Updated: 2024/04/22 19:42:38 by marde-vr ### ########.fr */ -/* */ -/* ************************************************************************** */ - -int main(int argc, char **argv) -{ - (void) argv; - while (1) - (void)argc; -}