Adding the norm for maiboyerlpb lib

This commit is contained in:
Raphael (rparodi) 2024-07-30 16:15:01 +02:00
parent b693536a90
commit 41589a8a42
16 changed files with 97 additions and 2376 deletions

View file

@ -6,7 +6,7 @@
/* By: maiboyer <maiboyer@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/05/07 11:08:03 by maiboyer #+# #+# */
/* Updated: 2024/07/10 17:54:01 by maiboyer ### ########.fr */
/* Updated: 2024/07/30 16:09:47 by rparodi ### ########.fr */
/* */
/* ************************************************************************** */
@ -24,8 +24,8 @@
# define BASE_PATH "/no_base_path_defined/"
#endif
#if defined(PRINT_BACKTRACE) || defined(BACKTRACE_DEEP) || true
// #if defined(PRINT_BACKTRACE) || defined(BACKTRACE_DEEP) || true
#if true // TO_REMOVE
# ifndef BACKTRACE_DEEP
# define BACKTRACE_DEEP 256
# endif

View file

@ -6,7 +6,7 @@
/* By: maiboyer <maiboyer@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/01/03 16:22:41 by maiboyer #+# #+# */
/* Updated: 2024/07/22 15:29:22 by maiboyer ### ########.fr */
/* Updated: 2024/07/30 16:08:20 by rparodi ### ########.fr */
/* */
/* ************************************************************************** */
@ -58,9 +58,9 @@ t_error in_path(t_spawn_info *info, t_process *process, t_const_str path_raw,
{
t_vec_str path;
t_usize idx;
(void)(process);
if (str_split(path_raw + 5, ":", &path))
if (str_split(path_raw + 5, ":", &path))
return (string_free(*s), ERROR);
idx = 0;
while (idx < path.len)