https://gitlab.synchro.net/main/sbbs/-/commit/3e7e3aec6db54b3805f4e024
Modified Files:
exec/load/sbbsdefs.js
Log Message:
sbbsdefs.js: add the four XTRN_* flags missing since 2021
exec/load/sbbsdefs.js stopped at XTRN_TEMP_DIR (bit 24) while src/sbbs3/sbbsdefs.h goes to bit 31. Missing: XTRN_UART and XTRN_FOSSIL
(added in e2a88765ba / hybrid-31-moms), XTRN_NODISPLAY (6ed76598d3 / listing-11-amino), and XTRN_CONIO.
This is not cosmetic. install-xtrn.js resolves an install-xtrn.ini
`settings =` line with eval(), so any door listing one of these four
flags aborts the install with a ReferenceError -- and a door that wants "Disable Local Display" (XTRN_NODISPLAY) has no way to ask for it.
XTRN_CONIO is (1<<31), which JavaScript's int32 bitwise domain evaluates
to -2147483648. That is the correct bit pattern once coerced to the
uint32 the C side reads, and matches how the other flags OR together.
Verified with jsexec: eval("XTRN_NATIVE | XTRN_BIN | XTRN_MULTIUSER | XTRN_NODISPLAY") == 0x8004801, with the NODISPLAY bit set, and install-xtrn.js's iniGetAllObjects()+eval() path resolves the settings
line of every stock door.
Co-Authored-By: Claude Opus 4.8 (1M context) <
noreply@anthropic.com>
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net