delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/1999/02/16/03:42:17

Delivered-To: listarch-cygwin-developers AT sourceware DOT cygnus DOT com
Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm
Sender: cygwin-developers-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin-developers AT sourceware DOT cygnus DOT com
From: Christopher Faylor <cgf AT cygnus DOT com>
Message-ID: <19990215224250.A11487@cygnus.com>
Date: Mon, 15 Feb 1999 22:42:50 -0500
To: Kazuhiro Fujieda <fujieda AT jaist DOT ac DOT jp>,
cygwin-developers AT sourceware DOT cygnus DOT com
Subject: Re: interpreter arguments bug
References: <uemnshx3a DOT fsf AT parvati DOT will DOT or DOT jp>
Mime-Version: 1.0
X-Mailer: Mutt 0.93i
In-Reply-To: <uemnshx3a.fsf@parvati.will.or.jp>; from Kazuhiro Fujieda on Mon, Feb 15, 1999 at 05:47:53PM +0900

Thanks for catching this.  It's been fixed.

-chris

On Mon, Feb 15, 1999 at 05:47:53PM +0900, Kazuhiro Fujieda wrote:
>There is a trivial mistake in spawn_guts.
>
>--- spawn.cc-	Mon Feb 15 15:21:11 1999
>+++ spawn.cc	Mon Feb 15 15:21:30 1999
>@@ -358,7 +358,7 @@ spawn_guts (HANDLE hToken, const char * 
> 	one_line.prepend (" ", 1);
>       else
> 	{
>-	  one_line.prepend ("\" ", 1);
>+	  one_line.prepend ("\" ", 2);
> 	  one_line.prepend (arg1, strlen (arg1));
> 	  one_line.prepend (" \"", 2);
> 	}
>
>Scripts of which interpreter has an argument can't work
>because of this.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019