delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/1999/02/15/08:48:02

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
To: cygwin-developers AT sourceware DOT cygnus DOT com
Subject: interpreter arguments bug
X-Emacs: Emacs 20.2, MULE 3.0 (MOMIJINOGA), Meadow-1.00 (MIDORI)
MIME-Version: 1.0 (generated by SEMI MIME-Edit 0.100 - "Shijima")
From: Kazuhiro Fujieda <fujieda AT jaist DOT ac DOT jp>
Date: 15 Feb 1999 17:47:53 +0900
Message-ID: <uemnshx3a.fsf@parvati.will.or.jp>
Lines: 20
X-Mailer: Semi-gnus 6.0.4 (based on Quassia Gnus v0.23)

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.
____
  | AIST      Kazuhiro Fujieda <fujieda AT jaist DOT ac DOT jp>
  | HOKURIKU  School of Information Science
o_/ 1990      Japan Advanced Institute of Science and Technology


- Raw text -


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