[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: slight optimization: less subshells
From: |
Gary V. Vaughan |
Subject: |
Re: slight optimization: less subshells |
Date: |
Mon, 31 Jan 2005 16:10:56 +0000 |
User-agent: |
Mozilla Thunderbird 0.9 (X11/20041103) |
Hallo Ralf,
Ralf Wildenhues wrote:
> With all of this is mind: OK to apply this patch, which changes these
> patterns where cmd has a good chance of being builtin, then (HEAD and
> branch-2-0)?
>
> * config/ltmain.m4sh, m4/libtool.m4: Change `( cmd ) 2>/dev/null' to
> `{ cmd; } 2>/dev/null', when cmd has no side effects and might be a
> builtin. Note that it is unspecified whether cmd will run within a
> subshell (e.g. Bourne shells) or within the current shell (most modern
> shells).
Yes to HEAD. No (potentially) destabilizing patches to a release branch.
Cheers,
Gary.
--
Gary V. Vaughan ())_. address@hidden,gnu.org}
Research Scientist ( '/ http://tkd.kicks-ass.net
GNU Hacker / )= http://www.gnu.org/software/libtool
Technical Author `(_~)_ http://sources.redhat.com/autobook
signature.asc
Description: OpenPGP digital signature