diff --git a/chrome/content/zotero/xpcom/ipc.js b/chrome/content/zotero/xpcom/ipc.js index 9c10ae37e1..3f91aa9ac9 100755 --- a/chrome/content/zotero/xpcom/ipc.js +++ b/chrome/content/zotero/xpcom/ipc.js @@ -126,11 +126,11 @@ Zotero.IPC = new function() { } } - // On OS X, O_NONBLOCK = 0x0004 + // On OS X and FreeBSD, O_NONBLOCK = 0x0004 // On Linux, O_NONBLOCK = 00004000 // On both, O_WRONLY = 0x0001 var mode = 0x0001; - if(!block) mode = mode | (Zotero.isMac ? 0x0004 : 00004000); + if(!block) mode = mode | (Zotero.isLinux ? 00004000 : 0x0004); // Also append to plain files to get things working with Fx 3.6 polling // On OS X, O_APPEND = 0x0008