From 0c93c3c614aa5b955b40e805226d8609c85d0923 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Fri, 21 Nov 2025 22:20:56 -0500 Subject: Bugfix for empty file lines --- src/stdlib/paths.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stdlib/paths.c b/src/stdlib/paths.c index 704421c2..22effad7 100644 --- a/src/stdlib/paths.c +++ b/src/stdlib/paths.c @@ -718,7 +718,7 @@ OptionalList_t Path$lines(Path_t path) { if (f == NULL) return NONE_LIST; - List_t lines = {}; + List_t lines = EMPTY_LIST; for (OptionalText_t line; (line = _next_line(&f)).tag != TEXT_NONE;) { List$insert(&lines, &line, I(0), sizeof(line)); } -- cgit v1.2.3