summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2009-07-29 11:24:42 +0200
committerGravatar Matt Colyer2009-07-29 19:13:27 -0700
commit74afdafd5c13e7ba5c0b8a429efa39ec02e239ba (patch)
tree9c93e9809872c6e20b035b60e3bb24a0bb64397e
parentda9231dc82b57c06dd69d46a37306ed02f7d9b3a (diff)
downloadifuse-0.9.2.tar.gz
ifuse-0.9.2.tar.bz2
Add new error code mapping to handle deletion of non empty directories0.9.2
[#65 state:resolved] Signed-off-by: Matt Colyer <matt@colyer.name>
-rw-r--r--src/ifuse.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ifuse.c b/src/ifuse.c
index 3e8ecb5..bf5f9aa 100644
--- a/src/ifuse.c
+++ b/src/ifuse.c
@@ -71,6 +71,7 @@ struct afc_error_mapping {
{AFC_E_INVALID_ARGUMENT , EINVAL},
{AFC_E_OBJECT_NOT_FOUND , ENOENT},
{AFC_E_OBJECT_IS_DIR , EISDIR},
+ {AFC_E_DIR_NOT_EMPTY , ENOTEMPTY},
{AFC_E_PERM_DENIED , EPERM},
{AFC_E_SERVICE_NOT_CONNECTED , ENXIO},
{AFC_E_OP_TIMEOUT , ETIMEDOUT},