Fix a problem with smbc_unlink on directories where it was returning EACCES
authorRichard Sharpe <sharpe@samba.org>
Wed, 24 Jan 2001 12:32:20 +0000 (12:32 +0000)
committerRichard Sharpe <sharpe@samba.org>
Wed, 24 Jan 2001 12:32:20 +0000 (12:32 +0000)
commitd53f9716bb10efe164b67f9916ab5e59880c9b7c
treef6f6754017c4958e89d54b05613512ec7740e778
parent327e2b302991455d48fdbc7c05874c4fdad03e79
Fix a problem with smbc_unlink on directories where it was returning EACCES
instead of EPERM and a problem with SMBC_OPEN where it ignored an error
from the underlying cli_open routine and cheerfully returned a bogus FD.
(This used to be commit 68614bac5a1a4109fdfb728aeae6956b13c64d8f)
source3/libsmb/libsmbclient.c