summaryrefslogtreecommitdiff
path: root/job.c
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>2013-05-05 20:19:00 -0400
committerPaul Smith <psmith@gnu.org>2013-05-05 20:19:00 -0400
commit15f795793906ac8b184b5cf9dcbe515ba9df92ef (patch)
tree05edfefadbb99410198d1c280fc40e3a1a501380 /job.c
parent1d992d8fe75f5dbc832cbcfe82e3f56489f7df54 (diff)
downloadgunmake-15f795793906ac8b184b5cf9dcbe515ba9df92ef.tar.gz
Rename the -O "job" mode to "line" and "make" to "recurse".
Diffstat (limited to 'job.c')
-rw-r--r--job.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/job.c b/job.c
index 726cca8..a40eb41 100644
--- a/job.c
+++ b/job.c
@@ -1141,7 +1141,7 @@ reap_children (int block, int err)
#ifdef OUTPUT_SYNC
/* If we're sync'ing per line, write the previous line's
output before starting the next one. */
- if (output_sync == OUTPUT_SYNC_JOB)
+ if (output_sync == OUTPUT_SYNC_LINE)
sync_output (c);
#endif
/* Check again whether to start remotely.
@@ -1518,7 +1518,7 @@ start_job_command (struct child *child)
/* Are we going to synchronize this command's output? Do so if either we're
in SYNC_MAKE mode or this command is not recursive. We'll also check
output_sync separately below in case it changes due to error. */
- sync_cmd = output_sync && (output_sync == OUTPUT_SYNC_MAKE
+ sync_cmd = output_sync && (output_sync == OUTPUT_SYNC_RECURSE
|| !(flags & COMMANDS_RECURSE));
#ifdef OUTPUT_SYNC