src/sbbs3/sbbs.h sbbsecho
From
rswindell@VERT to
CVS commit on Thursday, February 07, 2019 18:39:00
src/sbbs3 sbbs.h 1.501 1.502 sbbsecho.c 3.103 3.104 str_util.c 1.57 1.58 un_qwk.cpp 1.54 1.55 un_rep.cpp 1.69 1.70
Update of /cvsroot/sbbs/src/sbbs3
In directory cvs:/tmp/cvs-serv28680
Modified Files:
sbbs.h sbbsecho.c str_util.c un_qwk.cpp un_rep.cpp
Log Message:
Add/use new function findstr_list() which opens and returns a string list suitable for passing to findstr_in_list().
SBBSecho peformance improvement: don't open/read the twitlist.cfg file for *each* imported message: just read it once during initialization (using the new findstr_list() function of course).
Reversed course on the findstr()/trashcan() matching logic: significant leading white-space was not backwards compatible (and was the cause of recent lost messages in DOVE-Net) - so I decided to go a different route and support C-style character escape sequences (e.g. \r, \n, \t, \x##, etc.) in findstr comparison strings, so the new way to represent a leading space character
in a filter file (e.g. twitlist.cfg, name.can) would be: "\ ". So to match (e.g.
filter/disallow) all strings with a leading space: "\ *". "\x20 *" would also work (0x20 is ASCII for "space").
Now, again, leading white-space in filter files (e.g. text/*.can, twitlist.cfg) is ignored. <sigh>
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net