Skip to content
Snippets Groups Projects
Commit ee78dd70 authored by rswindell's avatar rswindell
Browse files

Fixes file name case of dropfiles and semaphore files for Unix file systems.

parent c570c02b
No related branches found
No related tags found
No related merge requests found
......@@ -1565,11 +1565,14 @@ bool sbbs_t::exec_xtrn(uint xtrnnum)
sprintf(str,"%sINTRSBBS.DAT"
,cfg.xtrn[xtrnnum]->path[0] ? cfg.xtrn[xtrnnum]->path : cfg.node_dir);
remove(str);
if(fexistcase(str))
remove(str);
sprintf(str,"%shangup.now",cfg.node_dir);
remove(str);
if(fexistcase(str))
remove(str);
sprintf(str,"%sfile/%04u.dwn",cfg.data_dir,useron.number);
remove(str);
if(fexistcase(str))
remove(str);
mode=0; /* EX_SH */
if(cfg.xtrn[xtrnnum]->misc&IO_INTS)
......@@ -1606,7 +1609,7 @@ bool sbbs_t::exec_xtrn(uint xtrnnum)
batch_add_list(str);
sprintf(str,"%shangup.now",cfg.node_dir);
if(fexist(str)) {
if(fexistcase(str)) {
remove(str);
hangup();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment