getDirectoryContents without special directories "." and ".."
Alexander Berntsen
alexander at plaimi.net
Sat Dec 13 20:20:57 UTC 2014
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
I don't know about non-POSIX systems, but
On 13/12/14 20:49, Henning Thielemann wrote:
> I even think that "." and ".." should not be part of the result at
> all, but that's a different discussion.
This would be horribly implicit and categorically The Wrong Thing. '.'
and '..' are not magical convenience things put there by
'getDirectoryContents'. They are actual files.
- --
Alexander
alexander at plaimi.net
https://secure.plaimi.net/~alexander
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
iF4EAREIAAYFAlSMn6kACgkQRtClrXBQc7WblwD/ZTA567ktNlKxWeqVU3byqT9E
25roLdrDau0B7w7Vbc8BALMasSFXJUcjhxNjaQGgpHj/ZAhomyqAvq6tScU1P4+Z
=YSzG
-----END PGP SIGNATURE-----
More information about the Libraries
mailing list