Skip to content

Commit 67a3e2d

Browse files
committed
findfirst: support SFN fall-back
If some drive does not support LFN, SFN fall-back should be used. This patch actually only adds the needed comment, as the code is already there. Fixes dosemu2/dosemu2#2786
1 parent cdaddda commit 67a3e2d

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/libc/dos/dir/findfirs.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,9 +105,8 @@ findfirst(const char *pathname, struct ffblk *ffblk, int attrib)
105105
return 0;
106106
}
107107
}
108-
else
108+
/* else: not using LFN, or LFN unsupported for that drive */
109109
{
110-
111110
#define _sizeof_dos_ffblk 44
112111
/* There will be a _sizeof_dos_ffblk character return value from findfirst
113112
in the DTA. Put the file name before this. First set the DTA to be

0 commit comments

Comments
 (0)