From 487a66394061f2d14a2fa421302966b5442d643f Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Mon, 27 Jul 2020 18:55:07 +0200 Subject: I couldn't see shit --- src/ft_f_redir.c | 31 ------------------------------- 1 file changed, 31 deletions(-) delete mode 100644 src/ft_f_redir.c (limited to 'src/ft_f_redir.c') diff --git a/src/ft_f_redir.c b/src/ft_f_redir.c deleted file mode 100644 index 2cd7d58..0000000 --- a/src/ft_f_redir.c +++ /dev/null @@ -1,31 +0,0 @@ -/* ************************************************************************** */ -/* */ -/* ::: :::::::: */ -/* ft_f_redir.c :+: :+: :+: */ -/* +:+ +:+ +:+ */ -/* By: rbousset +#+ +:+ +#+ */ -/* +#+#+#+#+#+ +#+ */ -/* Created: 2020/02/14 17:19:27 by rbousset #+# #+# */ -/* Updated: 2020/02/14 17:19:29 by rbousset ### ########lyon.fr */ -/* */ -/* ************************************************************************** */ - -#include -#include -#include -#include -#include - -#include "ft_s_lcom.h" -#include "ft_s_destroy.h" - -void - ft_f_redir(const char path[], - t_msh *msh) -{ - ft_dprintf(STDERR_FILENO, "%s: %s: %s\n", - msh->shname, path, strerror(errno)); - ft_lcom_clear(&msh->curr); - ft_s_destroy(msh); - exit(1); -} -- cgit v1.2.3