From 46d452f67156529a2f8e2108ad050e90064e67d2 Mon Sep 17 00:00:00 2001 From: rswindell <> Date: Fri, 11 Feb 2005 02:13:11 +0000 Subject: [PATCH] Work-around for BRE/FE inter-BBS attachment bug (remove pre-pended '^' from attached filename). Fix case of attached files before placing in .?LO files (for Unix file system compatibility). --- src/sbbs3/sbbsecho.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/sbbs3/sbbsecho.c b/src/sbbs3/sbbsecho.c index 2dc573fc26..920dd65a25 100644 --- a/src/sbbs3/sbbsecho.c +++ b/src/sbbs3/sbbsecho.c @@ -356,6 +356,9 @@ int write_flofile(char *attachment, faddr_t dest, BOOL bundle) ch='#'; else ch='^'; + if(*attachment == '^') /* work-around for BRE/FE inter-BBS attachment bug */ + attachment++; + fexistcase(attachment); /* just in-case it's the wrong case for a Unix file system */ sprintf(searchstr,"%c%s",ch,attachment); if(findstr(searchstr,fname)) /* file already in FLO file */ return(0); -- GitLab