Fix updating local files with long filenames via sync on Linux
6a687e8c40
was actually only OS X
This commit is contained in:
parent
7c9d25dad8
commit
da5e1272f7
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue