Mail Archives: djgpp-workers/1996/11/04/06:29:33
I found some problems/bugs in the above functions.
in opendir():
opendir on the root directory for a drive which is substed.
There is a check if findfirst reports "." and ".." and
depending on the result there is a flag set to force readdir()
to return these names at first. I don't know if "." and ".." are
reported in some other environments (network, ...) but for a
subst drive, findfirst for "s:/" (if s is substed) does not
report "." but findfirst for "s:/*.*" reports ".". The result of
this is, when you do
ls -a s:/
you will get "." and ".." twice.
The glob function (and probably also some other function) still
do not handle correct filenames, which start with a dot
(which are possible in Win 95 with LFN enabled). For checking
it do a
touch .gdbint
and then a
ls .gdb*
and the file is not found.
I have currently no patch for it (no time) I only wanted to tell
it.
Robert
- Raw text -