No description
Find a file
Khaïs COLIN 76b2b8ec7f
treedrawing: fix bug where rare circumstances could lead to incorrect indent
The problem took me a while to find, but the issue here was that push_buf does
not add a terminating null byte, and I was only asking push_buf to copy the
bytes that contained characters, not the terminating null byte as well.

This, combined with the fact that to remove bytes from the end of the buffer, I
just placed a null byte a the end, caused some combinations of indentation and
dedentations to overwrite the null byte, and not place a null byte after the new
indent, which would still contain data from a previous indentation.
2025-03-28 14:50:37 +01:00
libft debug: remove *alloc/free debug information 2025-03-10 13:22:29 +00:00
spec cmdgroup parsing: parse a single cmdlist 2025-03-28 14:50:37 +01:00
src treedrawing: fix bug where rare circumstances could lead to incorrect indent 2025-03-28 14:50:37 +01:00
tests cmdlist refactor: use cmdlist instead of command_list as a shorthand 2025-03-28 14:50:37 +01:00
.gitignore Expansion: Test directory for future portability 2025-03-21 10:15:10 +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
interesting_tests.md Expansion : text replacement in a string 2025-03-21 10:04:25 +01:00
Makefile cmdlist debug: implement debug func (STUB) 2025-03-28 14:50:37 +01:00
NOTES.md cmdlist: use new architecture (STUB) 2025-03-28 14:50:37 +01:00
readline.supp valgrind: suppress readline still reachable leaks 2025-02-07 15:29:43 +01:00
report.txt treeprint refactor: use simpler types 2025-03-28 14:50:37 +01:00