git.samba.org
/
samba.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
vfs_fruit: return ENOENT instead of EISDIR when trying to open AFP_Resource for a...
[samba.git]
/
source3
/
modules
/
vfs_fruit.c
diff --git
a/source3/modules/vfs_fruit.c
b/source3/modules/vfs_fruit.c
index 637e2a1a6ed5414a36fb406c242055448f71b442..59c48b6419f63252d8170591ac766c8b7f3cdcfe 100644
(file)
--- a/
source3/modules/vfs_fruit.c
+++ b/
source3/modules/vfs_fruit.c
@@
-1567,7
+1567,7
@@
static int fruit_open_rsrc_adouble(vfs_handle_struct *handle,
S_ISDIR(fsp->base_fsp->fsp_name->st.st_ex_mode))
{
/* sorry, but directories don't have a resource fork */
- errno = E
ISDIR
;
+ errno = E
NOENT
;
rc = -1;
goto exit;
}