www

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

commit da5e1272f783f535762ddf80e309355d138a61bd
parent 7c9d25dad812ac12b394672815961b9e012a9a49
Author: Dan Stillman <dstillman@zotero.org>
Date:   Sun, 19 Jul 2015 22:42:33 -0400

Fix updating local files with long filenames via sync on Linux

6a687e8c40 was actually only OS X

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

diff --git a/chrome/content/zotero/xpcom/storage.js b/chrome/content/zotero/xpcom/storage.js @@ -1080,8 +1080,8 @@ Zotero.Sync.Storage = new function () { // e.g. a file is being accessed on a VM through a share // (and probably in other cases). || (e.winLastError && e.winLastError == 3) - // Handle long filenames on OS X/Linux - || (e.unixErrno && e.unixErrno == 63))) { + // Handle long filenames on OS X (63) and Linux (36) + || (e.unixErrno && (e.unixErrno == 63 || e.unixErrno == 36)))) { Zotero.debug("Marking attachment " + lk + " as missing"); updatedStates[item.id] = Zotero.Sync.Storage.SYNC_STATE_TO_DOWNLOAD; return;