[PATCH] Use "|" instead of "+" when combine the _IO_LINE_BUF and _IO_UNBUFFERED flags

Siddhesh Poyarekar siddhesh.poyarekar@gmail.com
Wed Jul 8 13:09:00 GMT 2015


On 8 July 2015 at 18:16, Carlos O'Donell <carlos@redhat.com> wrote:
> It's not a hack. The script reads from stdin for the list of *.d
> files that were created by the build, but if there are no *.d files
> the shell expansion is empty and that forces the script to read from
> the parent's inherited stdin. Since the parent never writes anything
> to stdin the awk script blocks on the read forever. As Andreas notes
> it should dep on the *.d files existing, and that is true. However,
> even if that were fixed we should still read from /dev/null and
> fail the test even if all the *.d files were deleted between the
> time they were created and the script ran (robust).

Right, I misread what that target was doing.  In any case, the right
fix here would be to make the check-local-headers target depend on *.d
(one of them I guess?) in a way that they're always generated before
the script is run.

Siddhesh
-- 
http://siddhesh.in



More information about the Libc-alpha mailing list