From d99e7e8ef680f0417838165fcd619bc56b28ed50 Mon Sep 17 00:00:00 2001 From: "jwalden%mit.edu" Date: Thu, 30 Mar 2006 04:03:27 +0000 Subject: [PATCH] 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 --- mozilla/xpcom/io/nsLocalFile.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mozilla/xpcom/io/nsLocalFile.h b/mozilla/xpcom/io/nsLocalFile.h index 09e63643985..029cf1bb958 100644 --- a/mozilla/xpcom/io/nsLocalFile.h +++ b/mozilla/xpcom/io/nsLocalFile.h @@ -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; }