This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] scripts/check-local-headers.sh: Verify there is input (don't hang).
- From: Andreas Schwab <schwab at suse dot de>
- To: "Carlos O'Donell" <carlos at redhat dot com>
- Cc: GNU C Library <libc-alpha at sourceware dot org>
- Date: Thu, 11 Dec 2014 09:30:53 +0100
- Subject: Re: [PATCH] scripts/check-local-headers.sh: Verify there is input (don't hang).
- Authentication-results: sourceware.org; auth=none
- References: <54890AA3 dot 4040706 at redhat dot com>
"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."