From bd8f652de51395fb26659f7a634e55bd46917b2e Mon Sep 17 00:00:00 2001 From: Charles Date: Fri, 17 Jul 2020 14:09:10 +0200 Subject: Fixing exit error message and overflow detection --- src/path.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/path.c') diff --git a/src/path.c b/src/path.c index 579fd81..1234998 100644 --- a/src/path.c +++ b/src/path.c @@ -6,7 +6,7 @@ /* By: cacharle +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2020/02/27 15:51:01 by cacharle #+# #+# */ -/* Updated: 2020/07/15 12:11:48 by charles ### ########.fr */ +/* Updated: 2020/07/17 10:48:31 by charles ### ########.fr */ /* */ /* ************************************************************************** */ @@ -52,6 +52,8 @@ static int st_add_file(char *dirname, struct dirent *entry, void *path) ** \return The updated/created path hash table or NULL on error */ +// TODO check nullstring path == current directory +// i.e ./ not needed before executable t_path path_update(t_path path, char *path_var) { int i; -- cgit