Fix Firefox 3.6 compatibility

This commit is contained in:
Simon Kornblith 2011-06-20 17:23:31 +00:00
parent dd05b26dcc
commit 7152c71e84

View file

@ -485,7 +485,7 @@ Zotero.IPC.Pipe.Poll.prototype = {
// clear file
var foStream = Components.classes["@mozilla.org/network/file-output-stream;1"].
createInstance(Components.interfaces.nsIFileOutputStream);
foStream.init(_fifoFile, 0x02 | 0x08 | 0x20, 0666, 0);
foStream.init(this._file, 0x02 | 0x08 | 0x20, 0666, 0);
foStream.close();
}
};