This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Unreviewed patches (was Re: Freeze timing and questions)



> > Patch to avoid messy output when running configure:
> > http://gcc.gnu.org/ml/gcc-patches/2001-12/msg01721.html
> 
> This looks strange to me.  I'd rather aoliva or someone
> review this instead.

It's syntactically correct.  When you redirect output, the shell
redirects it for the subprocess. It doesn't always redirect its own
output, which is where the "file not found" message comes from
(depending on the shell).  With the parens, the shell is redirecting
the output of another /bin/sh, and *that* /bin/sh is the one with the
error message.

So if you don't have a problem with the diagnostic messages going
away, go ahead and approve it.  I don't see anything wrong with it.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]