Eric Blake wrote: > 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
Per Bruno's report, running "make check" on HP-UX 11.31 resulted in one "Bad file number" diagnostic per use of init.sh. Perhaps it's a problem in 11.31 that is not in 11.1.