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

Changed checkfname() to allow '.' in a long filename.

parent 732c2bb9
No related branches found
No related tags found
No related merge requests found
......@@ -281,8 +281,10 @@ bool sbbs_t::checkfname(char *fname)
return(false); }
if(strstr(fname,".."))
return(false);
#if 0 /* long file name support */
if(strcspn(fname,".")>8)
return(false);
#endif
d=strlen(fname);
while(c<d) {
if(fname[c]<=SP || fname[c]&0x80)
......
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