From 186374797aa883de9c4ac49d428af8dca000d2ed Mon Sep 17 00:00:00 2001 From: Albert Cervin Date: Mon, 13 Jan 2025 18:59:41 +0100 Subject: Fix buffer list not having stable ptrs Was caused by using a vector that used realloc to grow. That only works sometimes. Now instead, the buffer list is a chunked linked list, i.e. a linked list where each element is a fixed size array. --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 5630d10..63e46e4 100644 --- a/Makefile +++ b/Makefile @@ -46,7 +46,8 @@ MAIN_SOURCES = src/main/main.c src/main/cmds.c src/main/bindings.c src/main/sear TEST_SOURCES = test/assert.c test/buffer.c test/text.c test/utf8.c test/main.c \ test/command.c test/keyboard.c test/fake-reactor.c test/allocator.c \ - test/minibuffer.c test/undo.c test/settings.c test/container.c + test/minibuffer.c test/undo.c test/settings.c test/container.c \ + test/buflist.c prefix ?= /usr/local DESTDIR ?= $(prefix) -- cgit v1.2.3