The latest open() code changes broke the NT directory opens. Detect if a
authorJeremy Allison <jra@samba.org>
Tue, 11 Apr 2000 21:38:45 +0000 (21:38 +0000)
committerJeremy Allison <jra@samba.org>
Tue, 11 Apr 2000 21:38:45 +0000 (21:38 +0000)
commit2311ecab4c8aa4026d2ac609f439b90834ff96e2
treeea051058e96026575e2c9be9e25ea7bcc36f73f1
parentf6be38cae223f1ad3f4ecc5b81d14c44d92f58ba
The latest open() code changes broke the NT directory opens. Detect if a
read-only open on a directory was done and return an EISDIR from open_file().
Changed interface to fd_close to return error.
Jeremy.
(This used to be commit df4302f3911447fcebe9342f6cbf3b89bd3bafba)
source3/include/proto.h
source3/smbd/close.c
source3/smbd/open.c