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

Converts internal codes to lowercase before deleting data files (for Unix

file system compatibility).
parent 61d45882
No related branches found
No related tags found
No related merge requests found
......@@ -152,6 +152,7 @@ library, select Yes.
for(j=0;j<cfg.total_dirs;j++)
if(cfg.dir[j]->lib==i) {
sprintf(str,"%s.*",cfg.dir[j]->code);
strlwr(str);
if(!cfg.dir[j]->data_dir[0])
sprintf(tmp,"%sdirs/",cfg.data_dir);
else
......@@ -721,6 +722,7 @@ select Yes.
continue;
if(j==0) {
sprintf(str,"%s.*",cfg.dir[dirnum[i]]->code);
strlwr(str);
if(!cfg.dir[dirnum[i]]->data_dir[0])
sprintf(tmp,"%sdirs/",cfg.data_dir);
else
......
......@@ -244,6 +244,7 @@ select Yes.
for(j=0;j<cfg.total_subs;j++)
if(cfg.sub[j]->grp==i) {
sprintf(str,"%s.s*",cfg.sub[j]->code);
strlwr(str);
if(!cfg.sub[j]->data_dir[0])
sprintf(tmp,"%ssubs/",cfg.data_dir);
else
......
......@@ -198,6 +198,7 @@ If you want to delete all the messages for this sub-board, select Yes.
continue;
if(j==0) {
sprintf(str,"%s.s*",cfg.sub[subnum[i]]->code);
strlwr(str);
if(!cfg.sub[subnum[i]]->data_dir[0])
sprintf(tmp,"%ssubs/",cfg.data_dir);
else
......@@ -1281,6 +1282,7 @@ by entering the conference number you want to use.
else
sprintf(str,"%ssubs/",cfg.data_dir);
sprintf(str2,"%s.*",cfg.sub[i]->code);
strlwr(str2);
delfiles(str,str2); }
if(cfg.sub[i]->misc&SUB_HYPER)
......
......@@ -152,6 +152,7 @@ library, select Yes.
for(j=0;j<cfg.total_dirs;j++)
if(cfg.dir[j]->lib==i) {
sprintf(str,"%s.*",cfg.dir[j]->code);
strlwr(str);
if(!cfg.dir[j]->data_dir[0])
sprintf(tmp,"%sdirs/",cfg.data_dir);
else
......@@ -721,6 +722,7 @@ select Yes.
continue;
if(j==0) {
sprintf(str,"%s.*",cfg.dir[dirnum[i]]->code);
strlwr(str);
if(!cfg.dir[dirnum[i]]->data_dir[0])
sprintf(tmp,"%sdirs/",cfg.data_dir);
else
......
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