www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit 1ff0105daf0510b06744dd3c535b9bcf780ce61c
parent e5a8f94a9fc518d634deb817ee237008fd6e6fd4
Author: Dan Stillman <dstillman@zotero.org>
Date:   Mon, 14 Dec 2009 11:32:50 +0000

Throw (rather than log) ecrypt/filename length limit error on Linux


Diffstat:
Mchrome/content/zotero/xpcom/storage.js | 3+--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/chrome/content/zotero/xpcom/storage.js b/chrome/content/zotero/xpcom/storage.js @@ -806,10 +806,9 @@ Zotero.Sync.Storage = new function () { // ecrypt (on Ubuntu, at least) can result in a lower limit -- // not much we can do about this, but log a warning else if (e.name == "NS_ERROR_FAILURE" && Zotero.isLinux && destFile.leafName.length > 130) { - var msg = "Error creating file '" + destFile.leafName + "' " + var e = "Error creating file '" + destFile.leafName + "' " + "(Are you using filesystem encryption such as ecrypt " + "that results in a filename length limit below 255 bytes?)"; - Components.utils.reportError(msg); } if (windowsLength || nameLength) {