Removed warning, changed some logging

This commit is contained in:
Michiel Broek 2002-11-30 13:07:47 +00:00
parent 71a8073bd6
commit 71eb44aab6
3 changed files with 13 additions and 9 deletions

View File

@ -1,19 +1,23 @@
$Id$ $Id$
WARNING WARNING: DO NOT USE THIS VERSION, YOU WILL LOOSE FILES !!!!!!!!!!!
WARNING WARNING: TIC PROCESSING WILL MOST LIKELY NOT WORK !!!!!!!!!!!!!!!!
MBSEBBS History. MBSEBBS History.
v0.35.06 v0.35.06
update: update:
Make sure you don't have download files with case differences
in download directories like FileName.zip and FILENAME.ZIP.
With this upgrade files with such names will be deleted!
Rename them before you upgrade!
Backup your whole bbs, including download files.
Before upgrade, close the bbs (mbstat close wait) and make Before upgrade, close the bbs (mbstat close wait) and make
sure the inbound is empty, toss everything. sure the inbound is empty, toss everything.
Install the new binaries. Install the new binaries.
Run "mbfile check". This will create a error in the logfile Run "mbfile check". This will create an error in the logfile
for each file! It will update the filenames on disk to have for each file! It will update the filenames on disk to have
both short and long filenames. Just ignore the errors! both short and long filenames. Just ignore the errors but check
for real deleted files.
Start the bbs again (mbstat open). Start the bbs again (mbstat open).
templates: templates:
@ -55,8 +59,8 @@ v0.35.06
command would detect and correct this. command would detect and correct this.
TIC files added to the bbs will now also have a 8.3 hard link. TIC files added to the bbs will now also have a 8.3 hard link.
With TIC file attaches, the filename attached is the 8.3 name. With TIC file attaches, the filename attached is the 8.3 name.
TIC processing completly modified to make better LFN support. TIC processing completly modified to make better LFN support,
EXPERIMENTAL, I BET IT DOESN'T WORK internal everything works on the 8.3 filename.
mbcico: mbcico:
With filetransfer errors, the attempts counter was not With filetransfer errors, the attempts counter was not

View File

@ -713,7 +713,7 @@ int ProcessTic(fa_list *sbl)
*/ */
if (tic.FileArea) { if (tic.FileArea) {
Syslog('+', "Import: %s Area: %s", TIC.NewFile, TIC.TicIn.Area); Syslog('+', "Import: %s (%s) Area: %s", TIC.NewFile, TIC.NewFullName, TIC.TicIn.Area);
BBS_Imp = Add_BBS(); BBS_Imp = Add_BBS();
if (!BBS_Imp) { if (!BBS_Imp) {

View File

@ -475,7 +475,7 @@ int LoadTic(char *inb, char *tfn)
WriteError("Can't find file in inbound"); WriteError("Can't find file in inbound");
} else { } else {
Syslog('f', "Real filename in inbound is \"%s\"", RealName); Syslog('f', "Real filename in inbound is \"%s\"", RealName);
Syslog('f', "8.3 name \"%s\", LFN \"%s\"", TIC.TicIn.File, TIC.TicIn.FullName); Syslog('+', "8.3 name \"%s\", LFN \"%s\"", TIC.TicIn.File, TIC.TicIn.FullName);
if (strcmp(RealName, TIC.TicIn.File)) { if (strcmp(RealName, TIC.TicIn.File)) {
/* /*
* File in inbound has not the same name as the name on disk. * File in inbound has not the same name as the name on disk.
@ -487,7 +487,7 @@ int LoadTic(char *inb, char *tfn)
if (rename(Temp, Temp2)) if (rename(Temp, Temp2))
WriteError("$Can't rename %s to %s", Temp, Temp2); WriteError("$Can't rename %s to %s", Temp, Temp2);
else else
Syslog('f', "Renamed %s to %s", Temp, Temp2); Syslog('+', "Renamed %s to %s", Temp, Temp2);
} }
} }
strncpy(TIC.NewFile, TIC.TicIn.File, 80); strncpy(TIC.NewFile, TIC.TicIn.File, 80);