https://gitlab.synchro.net/main/sbbs/-/commit/95df0c33f42387290e8f4f2e
Modified Files:
src/sbbs3/scfgsave.c
Log Message:
SCFG: begin each saved config file with a "; Written by" line
Each configuration file saved by write_cfg_file() (main, node, msgs,
file, xtrn and chat .ini) now begins with a comment naming the program
and build that wrote it and when, e.g.:
; Written by SCFG v3.22a (master/2d9eaaeb86) 2026-11-23 22:22:04-08:00
The program is "SCFG" in SCFG's build and "Synchronet" otherwise (e.g. sbbsctrl's Configuration Wizard). The branch and hash are the writing
program's own build.
A backup copy of the file keeps the line, so each backup records when
and by what that version was written, even where its file time cannot
be preserved (e.g. a copy made by a user other than the file's owner on
a CIFS mount). With a ctrl directory shared between hosts, the line
also shows which host's build last saved a file.
An existing first-line stamp is replaced rather than added to.
Co-Authored-By: Claude Opus 5.5 <
noreply@anthropic.com>
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net