From 71eb44aab6c863c2a4a0431f3a833c26c34825a6 Mon Sep 17 00:00:00 2001 From: Michiel Broek Date: Sat, 30 Nov 2002 13:07:47 +0000 Subject: [PATCH] Removed warning, changed some logging --- ChangeLog | 16 ++++++++++------ mbfido/ptic.c | 2 +- mbfido/tic.c | 4 ++-- 3 files changed, 13 insertions(+), 9 deletions(-) diff --git a/ChangeLog b/ChangeLog index 2c67f12a..bec9b068 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,19 +1,23 @@ $Id$ -WARNING WARNING: DO NOT USE THIS VERSION, YOU WILL LOOSE FILES !!!!!!!!!!! -WARNING WARNING: TIC PROCESSING WILL MOST LIKELY NOT WORK !!!!!!!!!!!!!!!! MBSEBBS History. v0.35.06 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 sure the inbound is empty, toss everything. 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 - 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). templates: @@ -55,8 +59,8 @@ v0.35.06 command would detect and correct this. 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. - TIC processing completly modified to make better LFN support. - EXPERIMENTAL, I BET IT DOESN'T WORK + TIC processing completly modified to make better LFN support, + internal everything works on the 8.3 filename. mbcico: With filetransfer errors, the attempts counter was not diff --git a/mbfido/ptic.c b/mbfido/ptic.c index ce0e186d..185e3d1e 100644 --- a/mbfido/ptic.c +++ b/mbfido/ptic.c @@ -713,7 +713,7 @@ int ProcessTic(fa_list *sbl) */ 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(); if (!BBS_Imp) { diff --git a/mbfido/tic.c b/mbfido/tic.c index ed2e658d..09e13f0e 100644 --- a/mbfido/tic.c +++ b/mbfido/tic.c @@ -475,7 +475,7 @@ int LoadTic(char *inb, char *tfn) WriteError("Can't find file in inbound"); } else { 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)) { /* * 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)) WriteError("$Can't rename %s to %s", Temp, Temp2); else - Syslog('f', "Renamed %s to %s", Temp, Temp2); + Syslog('+', "Renamed %s to %s", Temp, Temp2); } } strncpy(TIC.NewFile, TIC.TicIn.File, 80);