Parent: cdcbdc3f2f5bbec8e5d9aed6377c502add8561a9
Author: Luiz Augusto von Dentz <luiz.dentz-von@nokia.com>
Committer: Marcel Holtmann <marcel@holtmann.org>
Date: 2012-12-04 23:48:13
Tree: 6d9ac739f4d278dd54aa4566429d8656f6d57753
obexd: Fix error code when removing non-empty directory The spec clearly state that the error should be Precondition Failed when removing non-empty directory is not supported. The error in this case can be ENOTEMPTY or EEXIST as the rmdir man page says: "pathname contains entries other than . and .. ; or, pathname has .. as its final component. POSIX.1-2001 also allows EEXIST for this condition."
Diffstat
| M | obexd/src/obex.c | | | 5 | +++++ |
1 files changed, 5 insertions(+), 0 deletions(-)