[PATCH] Use "|" instead of "+" when combine the _IO_LINE_BUF and _IO_UNBUFFERED flags
Carlos O'Donell
carlos@redhat.com
Wed Jul 8 08:55:00 GMT 2015
On 07/08/2015 02:15 AM, Feng Gao wrote:
> It stop the following step for about 2 hours, so I have to cancel it.
>
> scripts/evaluate-test.sh c++-types-check $? false false >
> /home/fgao/works/my_git_codes/glibc-build/c++-types-check.test-result
> AWK='gawk' scripts/check-local-headers.sh \
> "/usr/include" "/home/fgao/works/my_git_codes/glibc-build/"
>> /home/fgao/works/my_git_codes/glibc-build/check-local-headers.out; \
> scripts/evaluate-test.sh check-local-headers $? false false >
> /home/fgao/works/my_git_codes/glibc-build/check-local-headers.test-result
This is a super annoying failure mode that happens when `make` fails or
is not run. The fix is as follows, and I'll check it in shortly.
2015-07-08 Carlos O'Donell <carlos@redhat.com>
* Makefile ($(objpfx)check-local-headers.out):
Redirect input from /dev/null.
diff --git a/Makefile b/Makefile
index 658ccfa..c88b2e5 100644
--- a/Makefile
+++ b/Makefile
@@ -262,7 +262,7 @@ endif
$(objpfx)check-local-headers.out: scripts/check-local-headers.sh
AWK='$(AWK)' scripts/check-local-headers.sh \
- "$(includedir)" "$(objpfx)" > $@; \
+ "$(includedir)" "$(objpfx)" < /dev/null > $@; \
$(evaluate-test)
ifneq ($(PERL),no)
--
c.
More information about the Libc-alpha
mailing list