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

Deleting a file's extended description would try to delete some other file too

This is a "forever bug". I guess at one time I stored each file's extended
description in a separate file? I don't know, but this remove() call is
clearly wrong.
parent 8178eafc
Branches
Tags
No related merge requests found
Pipeline #67 passed
...@@ -1184,7 +1184,6 @@ int sbbs_t::listfileinfo(uint dirnum, char *filespec, long mode) ...@@ -1184,7 +1184,6 @@ int sbbs_t::listfileinfo(uint dirnum, char *filespec, long mode)
break; break;
if(f.misc&FM_EXTDESC) { if(f.misc&FM_EXTDESC) {
if(!noyes(text[DeleteExtDescriptionQ])) { if(!noyes(text[DeleteExtDescriptionQ])) {
remove(str);
f.misc&=~FM_EXTDESC; } f.misc&=~FM_EXTDESC; }
} }
if(!dir_op(dirnum)) { if(!dir_op(dirnum)) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment