r7474: A *foul* and *disgusting* hack to ensure that, at the very lowest
commitc3fedee2a67966e4640b26dd084e75125e58f55c
authorJeremy Allison <jra@samba.org>
Fri, 10 Jun 2005 23:13:25 +0000 (10 23:13 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 15:57:10 +0000 (10 10:57 -0500)
tree0c1919f5331aa020555287ab21cdbe5dbf315d2e
parent46c94b2659fa1f9d7ce2b6fd798e3abb3c7760d8
r7474: A *foul* and *disgusting* hack to ensure that, at the very lowest
level, . and .. are the first two entries returned when reading a
directory. This also means we can't seek to these offsets, but we
will never be doing that anyway (as far as I can think). The reason
we have to do this is that the NT4 explorer will happily display a
folder marked ".." as a clickable folder (and probably would display
"." as a clickable folder too) if these are not in positions zero
and one of the returned file list. W2K seems to have fixed this but
there are too many older systems out there... Never mind, more for
the "Undocumented CIFS talk", coming to a CIFS2005 conference near
you soon.... :-).
Jeremy.
(This used to be commit 7b6e907922b7d98abe4430ea73712a9c6419ea08)
source3/smbd/dir.c