This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH v2][BZ #832][BZ #3266] Make ldd try_trace more robust and portable
- From: Andreas Schwab <schwab at suse dot de>
- To: Mike Frysinger <vapier at gentoo dot org>
- Cc: libc-alpha at sourceware dot org, "Patrick \"P. J.\" McDermott" <pj+sourceware-ml at pehjota dot net>
- Date: Tue, 10 Sep 2013 18:09:36 +0200
- Subject: Re: [PATCH v2][BZ #832][BZ #3266] Make ldd try_trace more robust and portable
- Authentication-results: sourceware.org; auth=none
- References: <522B4A29 dot 3060509 at pehjota dot net> <201309101130 dot 29615 dot vapier at gentoo dot org>
Mike Frysinger <vapier@gentoo.org> writes:
> this seems like a simpler fix:
> if (set -o pipefail) 2>/dev/null; then
>
> that works with dash and bash-2.05
You need to actually set the option, too.
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."