X-Authentication-Warning: delorie.com: mail set sender to djgpp-workers-bounces using -f X-Recipient: djgpp-workers AT delorie DOT com Date: Sun, 13 Sep 2009 22:48:56 +0300 From: Eli Zaretskii Subject: Re: [PATCH 4/4] Work around DJGPP shell function return bug with command substitutions. In-reply-to: <20090913191837.GE29257@gmx.de> X-012-Sender: halo1 AT inter DOT net DOT il To: Ralf Wildenhues Cc: autoconf-patches AT gnu DOT org, rugxulo AT gmail DOT com, rrt AT sc3d DOT org, djgpp-workers AT delorie DOT com Message-id: <83ab0yzkuv.fsf@gnu.org> References: <20090913191226 DOT GA29257 AT gmx DOT de> <20090913191837 DOT GE29257 AT gmx DOT de> Reply-To: djgpp-workers AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp-workers AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > Date: Sun, 13 Sep 2009 21:18:37 +0200 > From: Ralf Wildenhues > > DJGPP bash 2.04 has a bug in that `return $ac_retval' done in a > shell function which also contains a command substitution causes > the shell to barf. For more details see > . That's an old post. The latest is here, and it includes a solution: http://www.delorie.com/djgpp/mail-archives/browse.cgi?p=djgpp-workers/2009/09/09/14:34:54 http://www.delorie.com/djgpp/mail-archives/browse.cgi?p=djgpp-workers/2009/09/09/03:35:08 > +Details are not unclear; to work around the issue, you can use You probably meant "details are unclear". However, given the above URLs, I think the details are quite clear now. Thanks.