Eric Blake wrote: > On 09/08/2010 04:05 AM, Jim Meyering wrote: >> FYI, I needed this to avoid a test failure on OpenBSD 4.7. >> Contrast these: >> >> $ /bin/sh -c 'set -x; P=1 : 2> err' 2>/dev/null; cat err >> + P=1 >> $ bash -c 'set -x; P=1 : 2> err' 2>/dev/null; cat err >> $ > > Autoconf already documents that the order between 'set -v' or 'set -x' > tracing and stderr redirections is indeterminate, and that you must be > prepared to deal with traces in stderr in some but not all shells. So > your fix is the correct one.
Thanks for the review. I've pushed it.