www

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

commit 78bfbf3e4fd051cd3eeab36c68205368213462cb
parent 3c3376811676748571ec1dbff0a7198fb01d49e9
Author: Simon Kornblith <simon@simonster.com>
Date:   Thu, 23 Feb 2012 15:34:10 -0500

Use non-blocking pipe read on FreeBSD

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

diff --git 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