From 1d992d8fe75f5dbc832cbcfe82e3f56489f7df54 Mon Sep 17 00:00:00 2001 From: Paul Smith Date: Sun, 5 May 2013 17:03:51 -0400 Subject: Ensure command lines are written synchronously with -O. If output-sync is enabled, have make write the command line to the temp file instead of printing it directly to the screen to ensure that the output is ordered properly. Also, remove extraneous enter/leave operations by having them printed directly when dumping temp file output. --- ChangeLog | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 9f30bf7..8632e1a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,15 @@ +2013-05-05 Paul Smith + + * job.c (child_out): Write newlines explicitly, and don't do + anything if the message is empty. + (sync_output): Put working dir messages around stdout AND stderr. + (start_job_command): Move the tmp file assignment earlier. After + we do it, write the command line to the temp file to get the order + correct. + + * misc.c (message): Remove special handling for output_sync. + (error): Ditto. + 2013-05-04 Paul Smith * loadapi.c (gmk_alloc): New function. -- cgit v1.2.3