Fix for archive names overflow
This commit is contained in:
parent
7cd03022b5
commit
e68b2a1840
@ -9,6 +9,8 @@ v0.35.05 19-Oct-2002
|
||||
upgrade:
|
||||
Start mbsetup, go into global configuration, leave it and
|
||||
save.
|
||||
Start mbsetup, check all nodes if the Pack mail flag is ok,
|
||||
this setting now also affects echomail!
|
||||
|
||||
general:
|
||||
This may become release 0.36.00
|
||||
@ -46,7 +48,7 @@ v0.35.05 19-Oct-2002
|
||||
Pause.
|
||||
Removed the default Virnet record from the fidonet setup.
|
||||
In node setup the pack netmail switch is renamed and is now
|
||||
for all mail.
|
||||
for all mail. Default for new records is Yes.
|
||||
Added length check when importing taglines.
|
||||
|
||||
mbfido:
|
||||
@ -60,6 +62,8 @@ v0.35.05 19-Oct-2002
|
||||
Statistics count for exported echomail now works.
|
||||
Email posted in the email box in full domain mode was refused
|
||||
by SMTP servers because of bad address formatting.
|
||||
Addex extra check to prevent overflow of arcmail packets
|
||||
extension.
|
||||
|
||||
mbtask:
|
||||
Removed debug logging of "does" info.
|
||||
|
@ -16,7 +16,7 @@ and host systems.
|
||||
Internal mail format is JAM (c) messagebase.
|
||||
Full tic file support, including extended
|
||||
tic files.
|
||||
OS: Linux and FreeBSD (untested).
|
||||
OS: Linux, NetBSD and FreeBSD.
|
||||
Originating sites 2:280/2802@fidonet and
|
||||
http://mbse.sourceforge.net/
|
||||
Copyright by Michiel Broek.
|
||||
|
@ -315,10 +315,14 @@ void flush_dir(char *ndir)
|
||||
/*
|
||||
* Increase filename extension if there is a truncated file of today.
|
||||
*/
|
||||
if (nr < maxnr) {
|
||||
nr++;
|
||||
if (nr == ('9' +1))
|
||||
nr = 'a';
|
||||
arcfile[strlen(arcfile) -1] = nr;
|
||||
} else {
|
||||
break;
|
||||
}
|
||||
} else if (CFG.maxarcsize && (fsize > (CFG.maxarcsize * 1024)) && (nr < maxnr)) {
|
||||
/*
|
||||
* Use a new ARCmail file if the last one is too big.
|
||||
|
@ -299,6 +299,7 @@ int AppendNoderec(void)
|
||||
nodes.Notify = FALSE;
|
||||
nodes.AdvTic = FALSE;
|
||||
nodes.Hold = TRUE;
|
||||
nodes.PackNetmail = TRUE;
|
||||
nodes.ARCmailCompat = TRUE;
|
||||
nodes.ARCmailAlpha = TRUE;
|
||||
nodes.StartDate = time(NULL);
|
||||
|
Reference in New Issue
Block a user