diff --git a/42sh/libft/src/sys/open_access.c b/42sh/libft/src/sys/open_access.c index 332672fa..f3e7d3eb 100644 --- a/42sh/libft/src/sys/open_access.c +++ b/42sh/libft/src/sys/open_access.c @@ -6,20 +6,12 @@ /* By: jhalford +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2017/03/25 01:10:56 by jhalford #+# #+# */ -/* Updated: 2017/03/25 02:02:20 by jhalford ### ########.fr */ +/* Updated: 2017/03/25 02:19:58 by jhalford ### ########.fr */ /* */ /* ************************************************************************** */ #include "libft.h" -int is_directory(const char *path) -{ - struct stat path_stat; - - stat(path, &path_stat); - return (S_ISDIR(path_stat.st_mode)); -} - int open_access(char *file, t_flag a_flag, t_flag o_flag, t_flag o_perm) { int fd; diff --git a/42sh/src/glob/dir_glob.c b/42sh/src/glob/dir_glob.c index 97673350..2c5f65e7 100644 --- a/42sh/src/glob/dir_glob.c +++ b/42sh/src/glob/dir_glob.c @@ -6,7 +6,7 @@ /* By: wescande +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2017/01/30 12:07:16 by wescande #+# #+# */ -/* Updated: 2017/03/25 01:39:50 by jhalford ### ########.fr */ +/* Updated: 2017/03/25 02:19:43 by jhalford ### ########.fr */ /* */ /* ************************************************************************** */