Subj : src/sbbs3/js_file.c To : Git commit to main/sbbs/master From : Rob Swindell Date : Sun Jan 24 2021 13:52:29 https://gitlab.synchro.net/main/sbbs/-/commit/8fdbb1692b8ad6c1959f8f3e Modified Files: src/sbbs3/js_file.c Log Message: More support for !include in .ini filesSome (important) File methods did not support .ini files that used the !include directive because they were using the xpdev iniRead* API (which performs no "pre-processing") instead of xpdev iniGet*.Impacted methods:- iniGetValue()- iniGetKeys()- iniGetObject()The other existing ini* methods already worked fine with nested (!include'd) .ini files. It's possible there's a slight performance penalty with the new implementation since the entire .ini file is always read for each operation and previously it was possible that only a few "lines" were read to find the key(s) of interest. However, since .ini files are not typically huge and the iniRead/file-stream method likely read large (e.g. 8-32K) blocks anyway (which is usually the entire .ini file) - I don't actually suspect any observable impact to performance.This change was needed for the new ctrl/modopts.d support.Added new method useful for debugging nested .ini files:- iniReadAll() --- SBBSecho 3.12-Linux * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705) .