Skip to content
Snippets Groups Projects
Commit 00a80d45 authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

exec/*.bin cmd shell filenames were case sensitive (must've been lowercase)

... while the mods/*.bin command shell filenames could be any-case!

Only impacted non-Windows systems (UNIX file systems are case-sensitive).

Discovered while making this tutorial video: https://youtu.be/HlwQ0uX4S04
parent d0fb999c
No related branches found
No related tags found
1 merge request!455Update branch with changes from master
......@@ -4466,9 +4466,11 @@ void node_thread(void* arg)
}
SAFEPRINTF2(str,"%s%s.bin",sbbs->cfg.mods_dir
,sbbs->cfg.shell[sbbs->useron.shell]->code);
if(sbbs->cfg.mods_dir[0]==0 || !fexistcase(str))
if(sbbs->cfg.mods_dir[0]==0 || !fexistcase(str)) {
SAFEPRINTF2(str,"%s%s.bin",sbbs->cfg.exec_dir
,sbbs->cfg.shell[sbbs->useron.shell]->code);
fexistcase(str);
}
if((file=sbbs->nopen(str,O_RDONLY))==-1) {
sbbs->errormsg(WHERE,ERR_OPEN,str,O_RDONLY);
sbbs->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