From: Nathan Wagner Date: Sat, 17 Sep 2016 18:13:41 +0000 (-0500) Subject: add zero terminator do db init string X-Git-Tag: v0.1.6~190 X-Git-Url: https://pd.if.org/git/?a=commitdiff_plain;h=bc9c0966bdd7216674926410d9447028b18429f6;p=zpackage add zero terminator do db init string --- diff --git a/Makefile b/Makefile index 7270bde..1899152 100644 --- a/Makefile +++ b/Makefile @@ -30,7 +30,7 @@ zpm-extract: zpm-extract.o libzpm.a newdb.c: db.sql echo "char createdb[] = {" > $@ xxd -i < $< >> $@ - echo "};" >> $@ + echo ", 0};" >> $@ libzpm.a: lib/sha256.o lib/db.o lib/compress.o lib/uncompress.o newdb.o lib/zpm.o \