summaryrefslogtreecommitdiffstats
path: root/src/m_loop.c
diff options
context:
space:
mode:
authorsalad <fmoenne-@student.le-101.fr>2020-12-18 15:28:28 +0100
committersalad <fmoenne-@student.le-101.fr>2020-12-18 15:28:28 +0100
commit40676b37c8320ae708ec4303af0ea2a649ec74d7 (patch)
treee72bcb83ef67f138c2539e6bc8fade62276bbc3b /src/m_loop.c
parentnomergethislol (diff)
download42-minishell-40676b37c8320ae708ec4303af0ea2a649ec74d7.tar.gz
42-minishell-40676b37c8320ae708ec4303af0ea2a649ec74d7.tar.bz2
42-minishell-40676b37c8320ae708ec4303af0ea2a649ec74d7.tar.xz
42-minishell-40676b37c8320ae708ec4303af0ea2a649ec74d7.tar.zst
42-minishell-40676b37c8320ae708ec4303af0ea2a649ec74d7.zip
spammingnormcommits
Diffstat (limited to '')
-rw-r--r--src/m_loop.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/m_loop.c b/src/m_loop.c
index 017c5af..e493c7d 100644
--- a/src/m_loop.c
+++ b/src/m_loop.c
@@ -144,8 +144,6 @@ unsigned char m_loop(int fd, t_msh *msh)
msh->curr_hist_ptr = hist;
c_get_msh(1, msh);
c_set_ptr(TRUE, 0, msh);
- signal(SIGINT, c_signal_int);
- signal(SIGQUIT, c_signal_ign);
while (gnl > 0)
{
gnl = (fd == STDIN_FILENO) ? c_gnl(fd, &line, 1, msh) :