Remove readline

This commit is contained in:
Maix0 2024-07-10 21:43:47 +02:00
parent 2061aa5f7f
commit 0f2bf32b79
5 changed files with 5 additions and 27 deletions

View file

@ -6,7 +6,7 @@
# By: maiboyer <maiboyer@student.42.fr> +#+ +:+ +#+ # # By: maiboyer <maiboyer@student.42.fr> +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ # # +#+#+#+#+#+ +#+ #
# Created: 2024/04/28 17:28:30 by maiboyer #+# #+# # # Created: 2024/04/28 17:28:30 by maiboyer #+# #+# #
# Updated: 2024/07/05 18:00:14 by maiboyer ### ########.fr # # Updated: 2024/07/10 21:02:49 by maiboyer ### ########.fr #
# # # #
# **************************************************************************** # # **************************************************************************** #
@ -19,7 +19,7 @@ link_group = -Wl,--start-group $(1) -Wl,--end-group
BUILD_DIR ?= $(shell realpath ./build/) BUILD_DIR ?= $(shell realpath ./build/)
# Flags # Flags
CFLAGS = -Werror -Wextra -Wall -Wno-unused-command-line-argument -g3 -MMD -lreadline -I./includes -I./output/include -I./stdme/output/include -rdynamic -Wl,-E CFLAGS = -Werror -Wextra -Wall -Wno-unused-command-line-argument -g3 -MMD -I./includes -I./output/include -I./stdme/output/include -rdynamic -Wl,-E
# CFLAGS += -fsanitize=address -fno-omit-frame-pointer -fsanitize-address-use-after-return=runtime -fno-common -fsanitize-address-use-after-scope # CFLAGS += -fsanitize=address -fno-omit-frame-pointer -fsanitize-address-use-after-return=runtime -fno-common -fsanitize-address-use-after-scope
# Sources # Sources
# LIB = ./libft/ft_bzero.c \ # LIB = ./libft/ft_bzero.c \

View file

@ -36,14 +36,12 @@
valgrind.dev valgrind.dev
valgrind valgrind
gnumake gnumake
readline.out
readline.dev
generic_c.packages.${system}.default generic_c.packages.${system}.default
c_formatter_42.packages.${system}.default c_formatter_42.packages.${system}.default
llvmPackages.bintools llvmPackages.bintools
norminette norminette
rust-bin.stable.latest.default rust-bin.stable.latest.default
(tree-sitter.override {webUISupport = true;}) #(tree-sitter.override {webUISupport = true;})
nodejs nodejs
]; ];
VALGRIND_INC_OPT = "${pkgs.valgrind.dev}/include"; VALGRIND_INC_OPT = "${pkgs.valgrind.dev}/include";

View file

@ -6,7 +6,7 @@
/* By: maiboyer <maiboyer@student.42.fr> +#+ +:+ +#+ */ /* By: maiboyer <maiboyer@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */ /* +#+#+#+#+#+ +#+ */
/* Created: 2024/05/02 13:20:25 by maiboyer #+# #+# */ /* Created: 2024/05/02 13:20:25 by maiboyer #+# #+# */
/* Updated: 2024/05/08 21:52:34 by maiboyer ### ########.fr */ /* Updated: 2024/07/10 21:03:38 by maiboyer ### ########.fr */
/* */ /* */
/* ************************************************************************** */ /* ************************************************************************** */
@ -17,8 +17,6 @@
#include <signal.h> #include <signal.h>
#include <stdio.h> #include <stdio.h>
#include <readline/readline.h>
typedef t_i32 t_signal; typedef t_i32 t_signal;
t_error install_signal(void); t_error install_signal(void);

View file

@ -6,7 +6,7 @@
/* By: rparodi <rparodi@student.42.fr> +#+ +:+ +#+ */ /* By: rparodi <rparodi@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */ /* +#+#+#+#+#+ +#+ */
/* Created: 2024/03/28 14:41:15 by rparodi #+# #+# */ /* Created: 2024/03/28 14:41:15 by rparodi #+# #+# */
/* Updated: 2024/05/09 16:28:26 by rparodi ### ########.fr */ /* Updated: 2024/07/10 21:02:59 by maiboyer ### ########.fr */
/* */ /* */
/* ************************************************************************** */ /* ************************************************************************** */
@ -18,12 +18,6 @@
#include "me/types.h" #include "me/types.h"
#include <fcntl.h> #include <fcntl.h>
#include <stdio.h>
#include <readline/history.h>
#include <readline/readline.h>
#include <stdarg.h>
#include <stdlib.h>
#include <string.h>
#include <sys/types.h> #include <sys/types.h>
#include <sys/wait.h> #include <sys/wait.h>
#include <unistd.h> #include <unistd.h>

View file

@ -1,12 +0,0 @@
{
leak readline
Memcheck:Leak
...
fun:readline
}
{
leak add_history
Memcheck:Leak
...
fun:add_history
}