Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Delivered-To: mailing list cygwin@cygwin.com Message-ID: <3E2C802D.645726C9@veritas.com> Date: Mon, 20 Jan 2003 15:03:09 -0800 From: Bruce Korb Reply-To: bkorb@veritas.com X-Accept-Language: en MIME-Version: 1.0 To: Charles Wilson CC: Bruce Korb , Earnie Boyd , automake-patches@gnu.org, libtool-patches@gnu.org, mingw-users@lists.sourceforge.net, libtool@gnu.org, Alexandre Duret-Lutz , cygwin@cygwin.com Subject: Re: [Mingw-users] Re: Solving the "relink exe's" libtool problem[take3] References: <3E19C657.1040904@ece.gatech.edu> <2003-01-09-17-11-09+16471+duret_g@lrde.epita.fr> <3E1DE146.8030901@ece.gatech.edu> <2003-01-09-23-01-51+2104+duret_g@lrde.epita.fr> <3E20BF9A.4080400@ece.gatech.edu> <2003-01-13-00-19-29+30521+duret_g@lrde.epita.fr> <3E224479.8030604@ece.gatech.edu> <3E227106.5000706@ece.gatech.edu> <3E2C4478.3040507@yahoo.com> <3E2C4E93.144C5B40@gnu.org> <3E2C7C08.5030005@ece.gatech.edu> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Charles Wilson wrote: > > Bruce Korb wrote: > > Earnie Boyd wrote: > > > >>This patch passes my test. What do we need to do to get this accepted > >>into libtool cvs HEAD? > > > > > >>>+ newargz[0] = xstrdup("/bin/sh"); > >> > > > > This may not be the shell and there is no point allocating it. > > It is fine to use it from static memory. > > Okay, the second comment (use static string, not allocated memory) is I wouldn't have mentioned the static string by itself ;-) > easy enough. But what's the best way to use "the shell"? Do a unquoted > replacement (<