Fix a problem with smbc_unlink on directories where it was returning EACCES
commit68614bac5a1a4109fdfb728aeae6956b13c64d8f
authorRichard Sharpe <sharpe@samba.org>
Wed, 24 Jan 2001 12:32:20 +0000 (24 12:32 +0000)
committerRichard Sharpe <sharpe@samba.org>
Wed, 24 Jan 2001 12:32:20 +0000 (24 12:32 +0000)
tree849aa39f9eaab7de4e526e5c5545c8b8504d3994
parent6e568332254cf60d6a1f411df960ac2ec5f4bf8e
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.
source/libsmb/libsmbclient.c