No description
Find a file
Khaïs COLIN ab6a4d6368
envp_get_val: add tests + make it more consistent with envp_get_key
In particular, this is what is now changed:
 - if line is null or empty, return null
 - if line contains no =, return an empty string

This way, if non-null is returned, that means that line was valid. If null is
returned, there is either an error with line, or malloc failed.
2025-02-19 14:34:09 +01:00
libft libft: add ft_strcmp function 2025-02-19 14:34:09 +01:00
spec tests: add shellspec spec file 2025-02-07 15:29:43 +01:00
src envp_get_val: add tests + make it more consistent with envp_get_key 2025-02-19 14:34:09 +01:00
tests envp_get_val: add tests + make it more consistent with envp_get_key 2025-02-19 14:34:09 +01:00
.gitignore dev: ignore .cache and compile_commands.json 2025-02-19 13:56:09 +01:00
.shellspec tests: add shellspec spec file 2025-02-07 15:29:43 +01:00
.valgrindrc valgrind: suppress readline still reachable leaks 2025-02-07 15:29:43 +01:00
Makefile fix(Makefile): ASAN malloc stacktraces were being truncated 2025-02-19 14:34:09 +01:00
NOTES.md notes: add Bash Hackers Wiki resource 2025-02-13 15:42:02 +01:00
readline.supp valgrind: suppress readline still reachable leaks 2025-02-07 15:29:43 +01:00