[PATCH] scripts/check-local-headers.sh: Verify there is input (don't hang).

Andreas Schwab schwab@suse.de
Thu Dec 11 08:30:00 GMT 2014


"Carlos O'Donell" <carlos@redhat.com> writes:

> We have three options, close stdin, more awk to detect missing input
> or more shell. I chose the latter, but we could probably fix this with
> `exec 0>&-` in the shell if anyone objects to using find/grep or more
> awk.

Just redirect from /dev/null.

Andreas.

-- 
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."



More information about the Libc-alpha mailing list