faboussard / 42_minishell

1 stars 0 forks source link

reverifier limiter separation espaces ou quotes> ici suivi de controle D #109

Closed faboussard closed 4 months ago

faboussard commented 4 months ago

Minishell>$ << cat "t" t "t" cat "t" leaving heredoc ==254132== ==254132== FILE DESCRIPTORS: 3 open (3 std) at exit. ==254132== ==254132== HEAP SUMMARY: ==254132== in use at exit: 204,538 bytes in 226 blocks ==254132== total heap usage: 1,121 allocs, 895 frees, 573,854 bytes allocated ==254132== ==254132== LEAK SUMMARY: ==254132== definitely lost: 0 bytes in 0 blocks ==254132== indirectly lost: 0 bytes in 0 blocks ==254132== possibly lost: 0 bytes in 0 blocks ==254132== still reachable: 0 bytes in 0 blocks ==254132== suppressed: 204,538 bytes in 226 blocks ==254132== ==254132== For lists of detected and suppressed errors, rerun with: -s ==254132== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 1 from 1) t: command not found ==254138== ==254138== FILE DESCRIPTORS: 3 open (3 std) at exit. ==254138== ==254138== HEAP SUMMARY: ==254138== in use at exit: 204,256 bytes in 226 blocks ==254138== total heap usage: 1,141 allocs, 915 frees, 376,650 bytes allocated ==254138== ==254138== 2 bytes in 1 blocks are still reachable in loss record 1 of 65 ==254138== at 0x4848899: malloc (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so) ==254138== by 0x40D119: ft_strdup (ft_strdup.c:21) ==254138== by 0x40B3B3: check_path (paths.c:50) ==254138== by 0x40B31A: set_good_path_cmd (paths.c:96) ==254138== by 0x40A3FD: my_execve (exec.c:119) ==254138== by 0x40A82C: exec_one_cmd (exec.c:246) ==254138== by 0x40A6F0: execute_cmds (exec.c:265) ==254138== by 0x4015C1: minishell_non_interactive (main.c:67) ==254138== by 0x401895: main (main.c:143)