mirror of
https://github.com/mirror/make.git
synced 2026-09-02 04:38:12 +08:00
Ensure error messages are printed with sync'd output.
Enhance the child_error() function so that it will write error output to the child's sync output buffer, if it exists. If it doesn't the output goes to stdout/stderr.
This commit is contained in:
@@ -197,14 +197,10 @@ bar: end
|
||||
#MAKE#[1]: Leaving directory '#PWD#/bar'
|
||||
#MAKE#[1]: Leaving directory '#PWD#/bar'
|
||||
#MAKE#[1]: Entering directory '#PWD#/foo'
|
||||
Makefile:20: recipe for target 'foo-fail' failed
|
||||
#MAKE#[1]: Leaving directory '/home/psmith/src/make/make/tests/foo'
|
||||
#MAKE#[1]: Entering directory '/home/psmith/src/make/make/tests/foo'
|
||||
#MAKE#[1]: *** [foo-fail] Error 1
|
||||
#MAKE#[1]: Leaving directory '/home/psmith/src/make/make/tests/foo'
|
||||
#MAKE#[1]: Entering directory '/home/psmith/src/make/make/tests/foo'
|
||||
foo-fail: start
|
||||
foo-fail: end
|
||||
Makefile:20: recipe for target 'foo-fail' failed
|
||||
#MAKE#[1]: *** [foo-fail] Error 1
|
||||
#MAKE#[1]: Leaving directory '#PWD#/foo'
|
||||
#MAKE#[1]: Leaving directory '#PWD#/foo'
|
||||
#MAKEFILE#:4: recipe for target 'make-foo-fail' failed
|
||||
|
||||
Reference in New Issue
Block a user