Bugzilla bug 95744: handle the case that ENOTEMPTY and EEXIST have the

same value.  (They do on AIX 4.3.)


git-svn-id: svn://10.0.0.236/trunk@101302 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
wtc%netscape.com
2001-08-17 13:31:15 +00:00
parent c097cb3b32
commit 1f779f80d2

View File

@@ -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;