Flush the journal after every write.
authorJohn Darrington <john@darrington.wattle.id.au>
Fri, 30 Jul 2010 17:49:03 +0000 (19:49 +0200)
committerJohn Darrington <john@darrington.wattle.id.au>
Fri, 30 Jul 2010 17:49:03 +0000 (19:49 +0200)
commitf14ea735832776eb7a28fe9e210bb270d401060e
tree4198021ff4949271f80f6c338855d2fb0a3874eb
parentc635f1b8d20a122685889de5c071a6ff71fb46b2
Flush the journal after every write.

Unexpected bugs in the parser, engine or in procedures can cause crashes
in the GUI.  If the journal is not flushed *before* running the syntax, then
no record of that syntax exists, and the bug can be hard to reproduce.
This change ensures that the syntax is written to the journal before it is
processed.
src/output/journal.c