mirror of
https://codeberg.org/la-chouette/minishell.git
synced 2025-12-05 23:18:08 +01:00
No description
debug notes: ++++++++++++++++++++++++++++++++++++++++++++++++++++ failed: ambiguous redirect ++++++++++++++++++++++++++++++++++++++++++++++++++++ ++++ test input: export target="outfile1 outfile2" echo hello > $target echo $? echo hi >> $target echo $? cat < $target echo $? ls echo $? ++++ Got output: hello 0 hi 0 echo $? ls echo $? ++++ But expected: minishell: $target: ambiguous redirect 1 minishell: $target: ambiguous redirect 1 minishell: $target: ambiguous redirect 1 0 Reproduced this with rr record --cahos, see /home/khais/.local/share/rr/minishell-48 $ export target="outfile1 outfile2" $ echo hi > $target hi Break in simple_cmd_execute, second command has no redirections when it should have some, presumably this comes from some uninitialized memory somewhere. |
||
|---|---|---|
| libft | ||
| src | ||
| tests | ||
| .gitignore | ||
| .valgrindrc | ||
| grammar.md | ||
| interesting_tests.md | ||
| Makefile | ||
| NOTES.md | ||
| readline.supp | ||
| test.sh | ||