diff options
Diffstat (limited to 'src/ft_m_loop.c')
-rw-r--r-- | src/ft_m_loop.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/ft_m_loop.c b/src/ft_m_loop.c index 0b590a0..e44c85c 100644 --- a/src/ft_m_loop.c +++ b/src/ft_m_loop.c @@ -28,9 +28,9 @@ static char { size_t i; size_t j; - char *dst; size_t size1; size_t size2; + char *dst; i = -1; j = -1; @@ -87,8 +87,11 @@ uint8_t char *line; char *quote; int8_t gnl; + int32_t pipefd[2]; gnl = 1; + pipefd[0] = STDOUT_FILENO; + pipefd[1] = STDIN_FILENO; while (gnl > 0) { ft_m_prompt(msh); |