From 7d5c478bcbf3fbaff1289c55695a58fa863da174 Mon Sep 17 00:00:00 2001 From: Emil Date: Fri, 4 Aug 2023 04:59:01 -0600 Subject: [PATCH] Commented intermittent debugging code --- build.sh | 4 ++-- src/parse.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/build.sh b/build.sh index 9cd16e4..f699171 100755 --- a/build.sh +++ b/build.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Script handling unity builds and options. DIR=$(dirname $(readlink -f "$0")) @@ -26,5 +26,5 @@ fi [ ! -z ${SAN} ] && CFLAGS=`echo "$CFLAGS -fsanitize=$SAN"` echo "$CC $CFLAGS -pipe $DIR/src/unity.c -o $PREFIX/$PROGN $CPPFLAGS $LDFLAGS" -$CC $CFLAGS -pipe $DIR/src/unity.c -o $PREFIX/$PROGN $CPPFLAGS $LDFLAGS +time $CC $CFLAGS -pipe $DIR/src/unity.c -o $PREFIX/$PROGN $CPPFLAGS $LDFLAGS echo -e "\nStatus: $?" diff --git a/src/parse.c b/src/parse.c index aaa0e12..ce5caf0 100644 --- a/src/parse.c +++ b/src/parse.c @@ -164,8 +164,8 @@ parse_pair(char const * buf, size_t len) /* X macro for handling this data may be better */ if (strncmp(buf, cred_names[f], cred_names_len[f]) == 0) { - fprintf(stderr, "f%ld:len%ld:%s\n", f, cred_names_len[f], - cred_names[f]); fflush(stderr); + /* fprintf(stderr, "f%ld:len%ld:%s\n", f, cred_names_len[f], */ + /* cred_names[f]); fflush(stderr); */ buf += i; while (buf[x] != '\0') {