diff --git a/CHANGES.md b/CHANGES.md index d18e16a3..16b3ad71 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,6 +1,12 @@ # Major changes to the IOCCC entry toolkit +## Release 1.5.3 2024-08-28 + +Fix `hostchk.sh` that was broken with the recent change of `MKIOCCCENTRY_SRC`. +New version for hostchk.sh: `"1.0.2 2024-08-28"`. + + ## Release 1.5.2 2024-08-28 Remove dependence of `jparse/jsemtblgen.h` on `../iocccsize.h`. diff --git a/test_ioccc/hostchk.sh b/test_ioccc/hostchk.sh index c6f186c7..73b1213f 100755 --- a/test_ioccc/hostchk.sh +++ b/test_ioccc/hostchk.sh @@ -63,7 +63,7 @@ CC="$(type -P cc 2>/dev/null)" if [[ -z $CC ]]; then CC="/usr/bin/cc" fi -export HOSTCHK_VERSION="1.0.1 2023-02-22" +export HOSTCHK_VERSION="1.0.2 2024-08-28" export USAGE="usage: $0 [-h] [-V] [-v level] [-D dbg_level] [-c cc] [-w work_dir] [-f] [-Z topdir] -h Print help and exit @@ -237,9 +237,8 @@ if [[ -n $F_FLAG ]]; then # printf "%s\\n%s\\n" "$(grep '#include.*<.*>' "$TOPDIR"/*.[hc] "$TOPDIR"/dbg/*.[hc] \ "$TOPDIR"/dyn_array/*.[hc] "$TOPDIR"/test_ioccc/*.[ch] "$TOPDIR"/soup/*.[hc] "$TOPDIR"/jparse/*.[hcly] \ - "$TOPDIR"/jparse/test_jparse/*.[hc] | grep -F -v '' | - cut -f 2- -d:|sort -u)" "int main(void) { return 0; }" | - "${CC}" -DMKIOCCCENTRY_SRC -x c - -o "$PROG_FILE" + "$TOPDIR"/jparse/test_jparse/*.[hc]|grep -vE '|' |cut -f 2- -d:|sort -u)" "int main(void) { return 0; }" | + "${CC}" -x c - -o "$PROG_FILE" status="$?" if [[ $status -ne 0 ]]; then EXIT_CODE=14 # will exit 14 at the end unless EXIT_CODE is changed later on