diff options
-rw-r--r-- | CHANGELOG.md | 1 | ||||
-rw-r--r-- | FICS/utils.c | 6 | ||||
-rw-r--r-- | maketargets/install.mk | 2 |
3 files changed, 6 insertions, 3 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 0813853..a28b1b2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,7 @@ documented in this file. - Added an autorun script suitable to be run as a cron job. - Added width specifications to multiple `fscanf()` and `sscanf()` calls, thus eliminated the risk of overflow. +- Fixed bughouse. (A board was missing.) ## [1.4.3] - 2024-08-04 ## - **Added** command-line option `d` (Run in the background.) diff --git a/FICS/utils.c b/FICS/utils.c index 0784711..b7072c6 100644 --- a/FICS/utils.c +++ b/FICS/utils.c @@ -707,9 +707,9 @@ fix_time(char *old_time) char month[5] = { '\0' }; static char new_time[20]; - _Static_assert(4 < ARRAY_SIZE(day), "Array too small"); - _Static_assert(4 < ARRAY_SIZE(month), "Array too small"); - _Static_assert(4 < ARRAY_SIZE(date), "Array too small"); + _Static_assert(4 < ARRAY_SIZE(day), "'day' too small"); + _Static_assert(4 < ARRAY_SIZE(month), "'month' too small"); + _Static_assert(4 < ARRAY_SIZE(date), "'date' too small"); if (sscanf(old_time, "%4s %4s %4s", day, month, date) != 3) warnx("%s: sscanf: too few items (%s)", __func__, old_time); diff --git a/maketargets/install.mk b/maketargets/install.mk index 1f43793..db07e25 100644 --- a/maketargets/install.mk +++ b/maketargets/install.mk @@ -25,6 +25,8 @@ install-init: install -m 0644 $(ROOT)data/boards/std.board \ $(DESTDIR)$(FICS_HOME)/data/boards install -d $(DESTDIR)$(FICS_HOME)/data/boards/wild + install -m 0644 $(ROOT)data/boards/standard/standard \ + $(DESTDIR)$(FICS_HOME)/data/boards/wild/bughouse install -d $(DESTDIR)$(FICS_HOME)/data/book install -d $(DESTDIR)$(FICS_HOME)/data/com_help install -m 0755 $(ROOT)data/com_help/makelinks.sh \ |