https://gitlab.synchro.net/main/sbbs/-/commit/47eadb1fa9d001cd19a96af2
Modified Files:
docs/doordrop_ini.md src/sbbs3/nopen.c nopen.h rechocfg.c sbbs_ini.c scfgsave.c xtrn_sec.cpp
Log Message:
Stamp sbbs.ini, sbbsecho.ini and DOORDROP.INI with their writer and build
The "; Written by" comment that SCFG puts at the top of the
configuration files it saves is now produced by written_by() and ini_set_written_by() in nopen.c, which every program that writes a configuration file already links, and now names the program apart from
the Synchronet build:
; Written by SCFG (Synchronet v3.22a master/2d9eaaeb86) 2026-11-23 ...
; Written by Synchronet v3.22a (master/2d9eaaeb86) 2026-11-23 ...
The second form is used when the writer is Synchronet itself; a program
with its own version number, such as EchoCfg, is no longer shown as if
3.22a were its version.
It is now also written by:
- sbbs_write_ini(): sbbs.ini (or sbbs.<host>.ini), as "SCFG" from SCFG
and "sbbsctrl" from sbbsctrl
- sbbsecho_write_ini(): sbbsecho.ini, as "EchoCfg"
- DOORDROP.INI, whose existing "; Written by Synchronet 3.22a" line now
includes the build and time (docs/doordrop_ini.md example updated)
sbbs.ini and sbbsecho.ini are rewritten from their existing contents,
keeping the sysop's own comments; the stamp replaces a previous stamp on
the first line instead of adding another.
Tested by saving sbbs.git.ini from SCFG's Server Configuration and
sbbsecho.ini from EchoCfg (each saved twice: one stamp, replaced, the
other contents unchanged). sbbsctrl (Borland) was not compiled.
Co-Authored-By: Claude Opus 5.5 <
noreply@anthropic.com>
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net