summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjoe <rbousset@42lyon.fr>2020-12-07 16:52:55 +0100
committerjoe <rbousset@42lyon.fr>2020-12-07 16:52:55 +0100
commit2797f90f00fb9d30856d9aa8585e908bd2e93518 (patch)
treecc2a23f80d1dcd2e446b2a639d60ea5a010d7fa2
parentUpdate (diff)
download42-minishell-2797f90f00fb9d30856d9aa8585e908bd2e93518.tar.gz
42-minishell-2797f90f00fb9d30856d9aa8585e908bd2e93518.tar.bz2
42-minishell-2797f90f00fb9d30856d9aa8585e908bd2e93518.tar.xz
42-minishell-2797f90f00fb9d30856d9aa8585e908bd2e93518.tar.zst
42-minishell-2797f90f00fb9d30856d9aa8585e908bd2e93518.zip
val
-rw-r--r--.gitignore1
-rw-r--r--Makefile4
-rw-r--r--TODO.org1
-rw-r--r--src/b_alias.c1
4 files changed, 5 insertions, 2 deletions
diff --git a/.gitignore b/.gitignore
index dcb8d3d..d64da46 100644
--- a/.gitignore
+++ b/.gitignore
@@ -156,3 +156,4 @@ compile_flags.txt
/mini
.ccls*
tags
+*.supp
diff --git a/Makefile b/Makefile
index b9eba81..a3efec0 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-default: asan
+default: debug
#==============================================================================#
#--------------------------------- SHELL --------------------------------------#
#==============================================================================#
@@ -148,7 +148,7 @@ MKDIR = mkdir -p
#==============================================================================#
LFTRULE = all
#------------------------------------------------------------------------------#
-${OBJS_DIR}%.o: ${SRCS_DIR}%.c ${INCS}
+${OBJS_DIR}%.o: ${SRCS_DIR}%.c ${INCS}
${CC} -c ${CFLAGS} ${CDEFS} -I${LFT_INCS_DIR} -o $@ $<
#------------------------------------------------------------------------------#
${OBJS_DIR}:
diff --git a/TODO.org b/TODO.org
index c27ca84..ef6eeae 100644
--- a/TODO.org
+++ b/TODO.org
@@ -97,3 +97,4 @@
** TODO Simple arithmetics $((a + 1))
** CANCELED &
CLOSED: [2020-10-21 Wed 16:41]
+
diff --git a/src/b_alias.c b/src/b_alias.c
index c94a6db..c0eed23 100644
--- a/src/b_alias.c
+++ b/src/b_alias.c
@@ -25,6 +25,7 @@
#include "s_struct.h"
#include "u_alias.h"
#include "u_utils.h"
+#include "u_vars.h"
static unsigned char b_print_arg_next(char *ptr,
const char arg[],