[PATCH] Fix typo in nptl Makefile
Arfrever Frehtes Taifersar Arahesis
arfrever.fta@gmail.com
Mon Aug 15 23:19:00 GMT 2011
2011-08-14 13:24:56 David Miller napisał(a):
> Committed as obvious. bash silently accepts this, but other
> POSIX compliant shells (f.e. dash) do not.
>
> nptl/
>
> * Makefile (tst-cleanup0.out): Fix typo in output redirection.
>
> ---
> nptl/ChangeLog | 4 ++++
> nptl/Makefile | 2 +-
> 2 files changed, 5 insertions(+), 1 deletions(-)
>
> diff --git a/nptl/ChangeLog b/nptl/ChangeLog
> index 1dc5f20..7174268 100644
> --- a/nptl/ChangeLog
> +++ b/nptl/ChangeLog
> @@ -1,3 +1,7 @@
> +2011-08-14 David S. Miller <davem@davemloft.net>
> +
> + * Makefile (tst-cleanup0.out): Fix typo in output redirection.
> +
> 2011-08-08 Andreas Schwab <schwab@redhat.com>
>
> * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Maintain aligned
> diff --git a/nptl/Makefile b/nptl/Makefile
> index 266f178..18c3182 100644
> --- a/nptl/Makefile
> +++ b/nptl/Makefile
> @@ -550,7 +550,7 @@ $(objpfx)pt-initfini.s: pt-initfini.c
> $(patsubst -f%,-fno-%,$(exceptions)) -o $@
>
> $(objpfx)tst-cleanup0.out: /dev/null $(objpfx)tst-cleanup0
> - $(make-test-out) 2>&1 | cmp - tst-cleanup0.expect >& $@
> + $(make-test-out) 2>&1 | cmp - tst-cleanup0.expect > $@
From `info bash`:
3.6.4 Redirecting Standard Output and Standard Error
----------------------------------------------------
This construct allows both the standard output (file descriptor 1) and
the standard error output (file descriptor 2) to be redirected to the
file whose name is the expansion of WORD.
There are two formats for redirecting standard output and standard
error:
&>WORD
and
>&WORD
Of the two forms, the first is preferred. This is semantically
equivalent to
>WORD 2>&1
--
Arfrever Frehtes Taifersar Arahesis
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20110815/038a627e/attachment.sig>
More information about the Libc-alpha
mailing list