|
|
| version 1.5, 2004/01/12 08:01:00 | version 1.8, 2004/01/22 01:10:04 |
|---|---|
| Line 1 | Line 1 |
| #include "compiler.h" | #include "compiler.h" |
| #if defined(SUPPORT_HOSTDRV) | |
| #if defined(OSLANG_EUC) | #if defined(OSLANG_EUC) |
| #include "codecnv.h" | #include "codecnv.h" |
| #endif | #endif |
| Line 8 | Line 11 |
| #include "hostdrvs.h" | #include "hostdrvs.h" |
| static const HDRVDIR hddroot = {" ", 0, 0, 0x10, {0}, {0}}; | static const HDRVDIR hddroot = {" ", 0, 0, 0, 0x10, {0}, {0}}; |
| static const BYTE dospathchr[] = { | static const BYTE dospathchr[] = { |
| 0xfa, 0x23, // '&%$#"! /.-,+*)( | 0xfa, 0x23, // '&%$#"! /.-,+*)( |
| Line 134 LISTARRAY hostdrvs_getpathlist(const cha | Line 137 LISTARRAY hostdrvs_getpathlist(const cha |
| break; | break; |
| } | } |
| CopyMemory(hdd->di.fcbname, fcbname, 11); | CopyMemory(hdd->di.fcbname, fcbname, 11); |
| hdd->di.exist = 1; | |
| hdd->di.caps = fli.caps; | hdd->di.caps = fli.caps; |
| hdd->di.size = fli.size; | hdd->di.size = fli.size; |
| hdd->di.attr = fli.attr; | hdd->di.attr = fli.attr; |
| hdd->di.date = fli.date; | hdd->di.date = fli.date; |
| hdd->di.time = fli.time; | hdd->di.time = fli.time; |
| milstr_ncpy(hdd->realname, fli.path, sizeof(hdd->realname)); | milstr_ncpy(hdd->realname, fli.path, sizeof(hdd->realname)); |
| TRACEOUT(("%s -> %11s", fli.path, fcbname)); | // TRACEOUT(("%s -> %11s", fli.path, fcbname)); |
| } | } |
| } while(file_listnext(flh, &fli) == SUCCESS); | } while(file_listnext(flh, &fli) == SUCCESS); |
| if (listarray_getitems(ret) == 0) { | if (listarray_getitems(ret) == 0) { |
| Line 334 BOOL hostdrvs_newrealpath(HDRVPATH *hdp, | Line 338 BOOL hostdrvs_newrealpath(HDRVPATH *hdp, |
| // ---- | // ---- |
| void hostdrvs_fhdlreopen(LISTARRAY fhdl) { | |
| (void)fhdl; | |
| } | |
| static BOOL fhdlallclose(void *vpItem, void *vpArg) { | static BOOL fhdlallclose(void *vpItem, void *vpArg) { |
| long fh; | long fh; |
| Line 383 HDRVFILE hostdrvs_fhdlsea(LISTARRAY fhdl | Line 382 HDRVFILE hostdrvs_fhdlsea(LISTARRAY fhdl |
| return(ret); | return(ret); |
| } | } |
| #endif | |