Added AREAFILE to Crashecho and environment expansion to Fidoconfig
This commit is contained in:
parent
e0e4f41df9
commit
8ff6239399
@ -12,6 +12,12 @@ ______________________________________________________________________
|
||||
Notes for GoldED+ 1.1.5, /snapshot/
|
||||
______________________________________________________________________
|
||||
|
||||
- GoldED+ should now recognize AREAFILE keyword in CrashEcho config
|
||||
(not tested).
|
||||
|
||||
- GoldED+ should now recognize environment variables in INCLUDE and
|
||||
area path definitions in Fidoconfig (not tested).
|
||||
|
||||
- Fixed small bug in goldkeys.cfg parser so the last line without
|
||||
the feed was incorrectly processed.
|
||||
|
||||
|
@ -111,12 +111,17 @@ void gareafile::ReadCrashmail(char* tag) {
|
||||
|
||||
const word CRC_AKA = 0x13A4;
|
||||
const word CRC_AREA = 0x010B;
|
||||
#ifndef GCFG_NOCECHO
|
||||
const word CRC_AREAFILE = 0xB487;
|
||||
#endif
|
||||
const word CRC_LOCALAREA = 0xAEC1;
|
||||
const word CRC_DESCRIPTION = 0x2DF1;
|
||||
const word CRC_DOMAIN = 0xFFCA;
|
||||
const word CRC_GROUP = 0x1C9B;
|
||||
const word CRC_NETMAIL = 0xE42E;
|
||||
#ifndef GCFG_NOCECHO
|
||||
const word CRC_NETMAILDIR = 0x180A;
|
||||
#endif
|
||||
const word CRC_SYSOP = 0x967F;
|
||||
const word CRC_UNCONFIRMED = 0x195E;
|
||||
|
||||
@ -145,6 +150,10 @@ void gareafile::ReadCrashmail(char* tag) {
|
||||
jbstrcpy(domain, buf, 50, &jbcpos);
|
||||
break;
|
||||
#ifndef GCFG_NOCECHO
|
||||
case CRC_AREAFILE:
|
||||
jbstrcpy(tmp, buf, 100, &jbcpos);
|
||||
ReadCrashmail(tmp);
|
||||
break;
|
||||
case CRC_NETMAILDIR:
|
||||
if(aa.type != 0xff) {
|
||||
if(not unconfirmed)
|
||||
|
@ -214,6 +214,8 @@ void gareafile::ReadHPTFile(char* path, char* file, char* options, char* origin,
|
||||
break;
|
||||
case CRC_INCLUDE:
|
||||
strxcpy(buf2, val, sizeof(buf2));
|
||||
if(strchg(buf2, '[', '%') != 0)
|
||||
strchg(buf2, ']', '%');
|
||||
MakePathname(buf2, path, buf2);
|
||||
ReadHPTFile(path, buf2, options, origin, group);
|
||||
break;
|
||||
@ -249,6 +251,8 @@ void gareafile::ReadHPTFile(char* path, char* file, char* options, char* origin,
|
||||
// If not pass-through
|
||||
if(not strieql("Passthrough", key)) {
|
||||
|
||||
if(strchg(key, '[', '%') != 0)
|
||||
strchg(key, ']', '%');
|
||||
aa.setpath(key);
|
||||
aa.msgbase = fidomsgtype;
|
||||
aa.groupid = group;
|
||||
|
Reference in New Issue
Block a user