https://gitlab.synchro.net/main/sbbs/-/commit/72b55dd0acebbe590e503eba
Modified Files:
src/doors/syncdoom/README.md syncdoom.c
Log Message:
syncdoom: the door-directory defaults have to work without syncdoom.ini
A BBS-agnostic install is the executable and the WADs in one directory, and on that install a bare -iwad doom2.wad resolved against the current directory -- the BBS's, not the door's. read_syncdoom_ini() returns early when it cannot open the ini, and the [wads] block that resolves "blank = the door's own dir", exports DOOMWADDIR and fills g_wads_dir sits after that return, so the documented default applied only to the installs that had the file documenting it. The resolution moves into resolve_wads_dir(), called from both paths.
A drop file the door cannot open was as quiet: read_door32() returned on the failed read and the door fell through to stdio, drawing to a console nobody sees and reading keys nobody pressed. It now names the file and the errno --
a node macro the BBS never expanded shows up there as a directory that does
not exist. That complaint and the existing "no use to this door" one go
through dlog() instead of stderr, because on Windows a socket door's stderr
is a throwaway console and the log file is the only sink that reaches the sysop; they are held until read_syncdoom_ini() has named it.
The spaced -door32 <path> form read the drop file twice: the pre-scan took argv[i + 1] as the value without advancing i, so the next iteration matched that same path through the bare-door32.sys arm. Invisible while the failure
was silent, and the new message printed twice.
-door32 leaves the usage banner and the README, which document the drop file the way every sibling door takes it: a plain argument, recognized by its filename. The flag is still parsed, for the command lines that spell it. The README gains an install section for the BBSes that need any of this.
Co-Authored-By: Claude Opus 5 (1M context) <
noreply@anthropic.com>
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net