https://gitlab.synchro.net/main/sbbs/-/commit/d47e1203ee94f96bfda2e804
Modified Files:
src/sbbs3/nopen.c nopen.h rechocfg.c sbbs_ini.c scfgsave.c xtrn_sec.cpp Log Message:
Keep the git/version headers out of nopen.c (fixes umonitor/gtkchat/svdm)
47eadb1fa9 (voice-28-users, 2026-11-23) made nopen.c include sbbsdefs.h
and the generated git_branch.h and git_hash.h to build its "; Written
by" line. nopen.c is also compiled by small stand-alone builds that do
not have those headers, which broke them:
- umonitor and gtkchat (CI jobs without the gitinfo headers):
"fatal error: git_branch.h: No such file or directory"
- svdm (vdmodem.vcxproj has no smblib include path):
"Cannot open include file: 'smbdefs.h'"
written_by() and ini_set_written_by() now take the complete writer text
("; Written by <writer> <time>"), and nopen.c includes neither. The
writer text, naming the program and the Synchronet build, is built by
the callers that have the headers: scfgsave.c, rechocfg.c and
xtrn_sec.cpp, using WRITTEN_BY_BUILD_FMT/ARGS from nopen.h. sbbs_ini.c,
also compiled by umonitor and uedit, includes the git headers only when
built for SCFG; elsewhere (sbbsctrl) its stamp names the Synchronet
version without the branch and hash.
Tested: umonitor and gtkchat built on their own with no git headers
present (the previous nopen.c fails there with the CI error), nopen.c
compiled with svdm's include paths only, and the SCFG and EchoCfg
stamps unchanged in a full build.
Co-Authored-By: Claude Opus 5.5 <
noreply@anthropic.com>
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net