Bug 322183 - Moving a folder on top of a non-empty folder doesn't throw the specified exception (Linux/Windows portion). r=dougt, sr=shaver
git-svn-id: svn://10.0.0.236/trunk@193242 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -107,6 +107,8 @@ nsresultForErrno(int err)
|
||||
#endif /* EPERM */
|
||||
case EACCES:
|
||||
return NS_ERROR_FILE_ACCESS_DENIED;
|
||||
case ENOTEMPTY:
|
||||
return NS_ERROR_FILE_DIR_NOT_EMPTY;
|
||||
default:
|
||||
return NS_ERROR_FAILURE;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user