This is the mail archive of the cygwin-developers@sourceware.cygnus.com
mailing list for the Cygwin project. See the Cygwin
home page for more information.
[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index] [Subject Index] [Author Index] [Thread Index]
interpreter arguments bug
- To: cygwin-developers@sourceware.cygnus.com
- Subject: interpreter arguments bug
- From: Kazuhiro Fujieda <fujieda@jaist.ac.jp>
- Date: 15 Feb 1999 17:47:53 +0900
- Delivered-To: listarch-cygwin-developers@sourceware.cygnus.com
- Delivered-To: mailing list cygwin-developers@sourceware.cygnus.com
- Mailing-List: contact cygwin-developers-help@sourceware.cygnus.com; run by ezmlm
- Sender: cygwin-developers-owner@sourceware.cygnus.com
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@jaist.ac.jp>
| HOKURIKU School of Information Science
o_/ 1990 Japan Advanced Institute of Science and Technology