Mail Archives: djgpp-workers/2001/10/14/07:44:48
> Right, except that findfirst was there first, and _dos_findfirst
> didn't seem like an important addition, so I guess no one looked very
> hard inside it.
Would you agree to the following design ?
findfirst(), _findfirst()
|
|
/ \
LFN=n / \ LFN=y
/ \
/ \
_dos_findfirst() _lfn_findfirst()
| |
| |
function 4eh function 714eh
This way there would be no low-level code duplicated. This would also mean
that _lfn_findfirst() would always fail if LFN=n. As it is not meant to be
directly called by the user, I don't think it's a problem.
Alternatively, I can also think of something like:
findfirst(), _findfirst()
|
|
_dos_lfn_findfirst()
/ \
LFN=n / \ LFN=y
/ \
/ \
_dos_findfirst() \
| |
| |
function 4eh function 714eh
There would still be no low-level code duplicated but _dos_lfn_findfirst()
would not fail if LFN=n.
--
Eric Botcazou
ebotcazou AT multimania DOT com
- Raw text -