[email protected] (Ben Pfaff) writes:
> John Darrington <[email protected]> writes:
>> Can we change it so that the journal is flushed to disk each time
>> something is written to it?
>
> Sure.
I think that this is sufficient, although I have not tested it.
If you have time, please feel free to test it and commit it,
otherwise I'll get to it later:
diff --git a/src/output/journal.c b/src/output/journal.c
index 1a70089..83a879a 100644
--- a/src/output/journal.c
+++ b/src/output/journal.c
@@ -98,6 +98,7 @@ journal_output (struct journal_driver *j, const char *s)
}
fprintf (j->file, "%s\n", s);
+ fflush (j->file);
}
static void
--
"Sanity is not statistical."
--George Orwell
_______________________________________________
pspp-dev mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/pspp-dev