bore

basic core utilities (PD)
git clone git://bvnf.space/bore.git
Log | Files | Refs | README

commit abe8a8aeb37a64d7ae64d89a8420827045b8b6d4
parent 1be3db63f4c9e723c97c96f644ee9ae8193b86df
Author: phoebos <ben@bvnf.space>
Date:   Tue, 17 May 2022 17:17:17 +0100

ed: initialize first->s so that it can be freed

Diffstat:
Med.c | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/ed.c b/ed.c @@ -315,6 +315,8 @@ main(int argc, char **argv) { } first->next = first; first->prev = first; + first->s = NULL; + first->len = 0; while ((c = getopt(argc, argv, "p:s")) != EOF) { switch (c) { case 's':