Fix nasty bug pointed out by samba-technical poster. If name is mangled
commitf359b4bdf6134dbd6542a66cecd311cf91d9a074
authorJeremy Allison <jra@samba.org>
Fri, 9 May 2003 01:06:27 +0000 (9 01:06 +0000)
committerJeremy Allison <jra@samba.org>
Fri, 9 May 2003 01:06:27 +0000 (9 01:06 +0000)
treefd8af61460ab0166969cf80d9beefdb199288fab
parent417d0e9afc321612a55928d5aa7ec6ead8dfcc0c
Fix nasty bug pointed out by samba-technical poster. If name is mangled
then we weren't always correctly detecting that it had a valid stat struct
and so might now return a 'file existed'. Finally realized this when installing
the W2K resource kit as a test case.
Jeremy.
(This used to be commit d48069ccd8351e4bff097a7f7500c738870a413d)
source3/smbd/filename.c