Closed Han2-Ro closed 5 months ago
I had comment out clear_gnl_buf() in order for the main process to work properly after a child process returns in the main. I changed BUFFER_SIZE inside get_next_line.h to 1 so it doesn't leak any remaining buffer.
Originally posted by @Han2-Ro in https://github.com/Han2-Ro/42minishell/issues/117#issuecomment-2106372489
This could be a problem if someone compiles with BUFFER_SIZE to a different value
Originally posted by @Han2-Ro in https://github.com/Han2-Ro/42minishell/issues/117#issuecomment-2106372489
This could be a problem if someone compiles with BUFFER_SIZE to a different value