Commented intermittent debugging code

This commit is contained in:
Emil 2023-08-04 04:59:01 -06:00
parent 50ad0a7656
commit 7d5c478bcb
2 changed files with 4 additions and 4 deletions

View File

@ -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: $?"

View File

@ -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')
{