From: Lilia-42 Date: Thu, 29 Aug 2024 09:22:25 +0000 (+0200) Subject: Fix piping of built-in functions X-Git-Url: https://git.ljiriste.work/?a=commitdiff_plain;h=52ef6c377ef05e2bf7ca84e108db1929e7e7d6f9;p=42%2Fminishell.git Fix piping of built-in functions For piping/redirections of built-in functions the STD_FILENOs are supposed to be dupped and saved. But the STDIN was dupped 3 times instead of each of STDIN, STDOUT, STDERR being dupped once. --- diff --git a/src/execution.c b/src/execution.c index ab8e4da..f6aef75 100644 --- a/src/execution.c +++ b/src/execution.c @@ -6,7 +6,7 @@ /* By: lnikolov