r19017: Merge from Samba3:
commit127c96f49905291b4566c2a1bc25d882ae111466
authorVolker Lendecke <vlendec@samba.org>
Sun, 1 Oct 2006 20:45:46 +0000 (1 20:45 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 19:20:28 +0000 (10 14:20 -0500)
tree642212a8512472c2fcca9127bc1ae0639723442d
parentbf86ece6cb9ff38bd08fb39988d9dc7577ea3f99
r19017: Merge from Samba3:

Attempt to fix the BSD RAW-CHKPATH failures: In Samba3 we rely on opendir
returning ENOTDIR when the file opened is not a directory. Can we merge this
back into Samba4?

This includes the tabs->spaces fix requested by Stefan.

Volker
(This used to be commit 7b9ee1171ddc89537ba3b286f20c722fb70c980b)
source4/lib/replace/repdir_getdents.c
source4/lib/replace/repdir_getdirentries.c