mirror of
https://github.com/mirror/make.git
synced 2025-01-27 12:51:07 +08:00
job.c: Fix compilation error on GNU/Linux due to "label at end of compound statement".
This commit is contained in:
parent
da7df54309
commit
049f8e88fc
@ -1,3 +1,8 @@
|
||||
2013-04-27 Eli Zaretskii <eliz@gnu.org>
|
||||
|
||||
* job.c: Fix compilation error on GNU/Linux due to "label at end
|
||||
of compound statement".
|
||||
|
||||
2013-04-27 Frank Heckenbach <f.heckenbach@fh-soft.de> (tiny change)
|
||||
|
||||
* job.c (sync_output): Don't discard the output if
|
||||
|
5
job.c
5
job.c
@ -620,6 +620,7 @@ pump_from_tmp_fd (int from_fd, int to_fd)
|
||||
nleft -= nwrite;
|
||||
}
|
||||
}
|
||||
|
||||
finished:
|
||||
|
||||
#ifdef WINDOWS32
|
||||
@ -627,6 +628,10 @@ finished:
|
||||
Make have the same EOL format as without --output-sync. */
|
||||
_setmode (to_fd, prev_mode);
|
||||
#endif
|
||||
|
||||
/* This is needed to avoid the "label at end of compound statement"
|
||||
diagnostics on Posix platforms. */
|
||||
return;
|
||||
}
|
||||
|
||||
/* Support routine for sync_output() */
|
||||
|
Loading…
Reference in New Issue
Block a user