On *nix machines it shows the "." and ".." entries. I'm not sure how that works on MSWin. I've left it in as a potential edge case.
Well, as usual for Microsoft software: Don't expect consistent behaviour. Most directories have the . and .. entries. For the root directory of any drive, it heavily depends on the drive type. Some root directories have the . and .. entries, others don't. See Re^6: readdir() on a sysopen() handle? for details.
Alexander
In reply to Re^2: Testing for a directory handle
by afoken
in thread Testing for a directory handle
by ns550
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |