recherche du pbm dans heredoc
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
/* By: lperrey <lperrey@student.42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2021/10/04 05:59:26 by lperrey #+# #+# */
|
||||
/* Updated: 2021/12/04 16:08:48 by hulamy ### ########.fr */
|
||||
/* Updated: 2021/12/05 14:15:18 by hulamy ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
@@ -23,9 +23,6 @@ void shell_loop(t_all *c)
|
||||
{
|
||||
if (line_input)
|
||||
free(line_input);
|
||||
write(2, c->prompt, ft_strlen(c->prompt));
|
||||
rl_already_prompted = 1;
|
||||
// line_input = read_input(NULL, c);
|
||||
line_input = read_input(c->prompt, c);
|
||||
if (line_input && *line_input)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user