Improve wildcard handling with directories in copy for FA CD installer (ripsaw)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3703
This commit is contained in:
parent
b080470bca
commit
0f5b19ac6d
1 changed files with 1 additions and 1 deletions
|
@ -603,7 +603,7 @@ void DOS_Shell::CMD_COPY(char * args) {
|
|||
if (!has_drive_spec) {
|
||||
if (DOS_FindFirst(source_p,0xffff & ~DOS_ATTR_VOLUME)) {
|
||||
dta.GetResult(name,size,date,time,attr);
|
||||
if (attr & DOS_ATTR_DIRECTORY && !strstr(source_p,"*.*"))
|
||||
if (attr & DOS_ATTR_DIRECTORY && !strpbrk(source_p,"*?") )
|
||||
strcat(source_x,"\\*.*");
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue