diff options
author | wtc%netscape.com <devnull@localhost> | 2001-08-17 13:31:15 +0000 |
---|---|---|
committer | wtc%netscape.com <devnull@localhost> | 2001-08-17 13:31:15 +0000 |
commit | 62723862586bdb664dbbef53a1368a38b739ed6b (patch) | |
tree | 8b409ebc7bccfef97f5ee4cf0df46d2d8314a25f | |
parent | f7b843b8dec17be6d612b30c52e39cfb35e62848 (diff) | |
download | nspr-hg-NSPRPUB_CLIENT_TAG.tar.gz |
Bugzilla bug 95744: handle the case that ENOTEMPTY and EEXIST have theNSPRPUB_CLIENT_TAG
same value. (They do on AIX 4.3.)
-rw-r--r-- | pr/src/md/unix/unix_errors.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pr/src/md/unix/unix_errors.c b/pr/src/md/unix/unix_errors.c index 7164675b..1ce52e68 100644 --- a/pr/src/md/unix/unix_errors.c +++ b/pr/src/md/unix/unix_errors.c @@ -383,9 +383,14 @@ void _MD_unix_map_rmdir_error(int err) PRErrorCode prError; switch (err) { + /* + * On AIX 4.3, ENOTEMPTY is defined as EEXIST. + */ +#if ENOTEMPTY != EEXIST case ENOTEMPTY: prError = PR_DIRECTORY_NOT_EMPTY_ERROR; break; +#endif case EEXIST: prError = PR_DIRECTORY_NOT_EMPTY_ERROR; break; |