From 3b20d84f9ea6ed052cd8cd0af7e818f68f830c4f Mon Sep 17 00:00:00 2001 From: Emil Date: Thu, 3 Aug 2023 02:17:28 -0600 Subject: [PATCH 1/3] Fix minor build.sh issue --- build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.sh b/build.sh index 8afadce..20bcf53 100755 --- a/build.sh +++ b/build.sh @@ -15,7 +15,7 @@ LDFLAGS='-lircclient -lsqlite3' mkdir -p $PREFIX && echo "Made directory: $PREFIX" # Bourne shell is evil -if [ ${DEBUG} -eq 1 ] +if [ ${DEBUG-0} -eq 1 ] then CFLAGS=`echo "${CFLAGS} -Og -g3"` else From 6aba8323d9844d119540c2d85d976f194afc5fe1 Mon Sep 17 00:00:00 2001 From: Emil Date: Thu, 3 Aug 2023 02:28:24 -0600 Subject: [PATCH 2/3] Change to -ggdb --- build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.sh b/build.sh index 20bcf53..5dda1c8 100755 --- a/build.sh +++ b/build.sh @@ -17,7 +17,7 @@ mkdir -p $PREFIX && echo "Made directory: $PREFIX" # Bourne shell is evil if [ ${DEBUG-0} -eq 1 ] then - CFLAGS=`echo "${CFLAGS} -Og -g3"` + CFLAGS=`echo "${CFLAGS} -Og -ggdb"` else CPPFLAGS="${CPPFLAGS} -DNDEBUG" CFLAGS=`echo "${CFLAGS} -O2 -flto=auto -fomit-frame-pointer -s"` From ae9f04289113df2497a0be8d826f43d2bc33e7a6 Mon Sep 17 00:00:00 2001 From: fall-leaf Date: Thu, 3 Aug 2023 12:33:59 +0300 Subject: [PATCH 3/3] actualized PARAMS_COUNT --- src/parse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/parse.c b/src/parse.c index 4299909..48a1d6b 100644 --- a/src/parse.c +++ b/src/parse.c @@ -24,7 +24,7 @@ #include "parse.h" #include "error.h" -#define PARAMS_COUNT 2 +#define PARAMS_COUNT 5 creds_t creds = {0};