On 06/13/2011 04:11 AM, Jim Meyering wrote:
> Thank you for the testing and report.
> That "bad file number" error comes from this code in init.sh:
>
> : ${stderr_fileno_=2}
> warn_ () { echo "$@" 1>&$stderr_fileno_; }
>
> Because of that, the log contains less information than usual.
I'm having problems summarizing this shell bug into a succinct
description that would be worth including in the autoconf manual. What
exactly is the bug here?
That is, my attempt to provoke the problem on HP-UX 11.11 with this
snippet is not failing with a "bad file number":
$ /bin/sh -c 'n=3; f(){ echo "$@" 1>&$n; }; exec 3>&2; f hi'
hi
--
Eric Blake [email protected] +1-801-349-2682
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
