Removed 8.3 filenames from linux filesystem "driver" as it can't works.
This commit is contained in:
parent
a1d64fa319
commit
8ea9c268fb
|
@ -29,7 +29,8 @@ void * FsReadFirst(const char * path, FsEntry * entry) {
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
strcpy(entry->cFileName, e->d_name);
|
strcpy(entry->cFileName, e->d_name);
|
||||||
strncpy(entry->cAlternateFileName, e->d_name, 12);
|
// there's no 8.3 file names support on linux :)
|
||||||
|
strcpy(entry->cAlternateFileName, "");
|
||||||
entry->flags = 0;
|
entry->flags = 0;
|
||||||
|
|
||||||
stat(e->d_name, &s);
|
stat(e->d_name, &s);
|
||||||
|
@ -49,7 +50,8 @@ int FsReadNext(void * search, FsEntry * entry) {
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
strcpy(entry->cFileName, e->d_name);
|
strcpy(entry->cFileName, e->d_name);
|
||||||
strncpy(entry->cAlternateFileName, e->d_name, 12);
|
// there's no 8.3 file names support on linux :)
|
||||||
|
strcpy(entry->cAlternateFileName, "");
|
||||||
entry->flags = 0;
|
entry->flags = 0;
|
||||||
|
|
||||||
stat(e->d_name, &s);
|
stat(e->d_name, &s);
|
||||||
|
|
Loading…
Reference in New Issue