www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/1999/07/11/05:41:22

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
Message-ID: <378866A1.9DB27D87@vinschen.de>
Date: Sun, 11 Jul 1999 11:40:49 +0200
From: Corinna Vinschen <corinna AT vinschen DOT de>
X-Mailer: Mozilla 4.6 [en] (WinNT; I)
X-Accept-Language: de,en
MIME-Version: 1.0
To: Chris Faylor <cgf AT cygnus DOT com>
CC: cygwin-developers <cygwin-developers AT sourceware DOT cygnus DOT com>
Subject: Re: 19990705 snapshot
References: <19990708172005 DOT A3884 AT cygnus DOT com> <6840 DOT 990710 AT logos-m DOT ru> <19990710133156 DOT A1241 AT cygnus DOT com> <37879DFE DOT CE830B78 AT vinschen DOT de> <3787A4C3 DOT 666322AC AT vinschen DOT de> <19990710183507 DOT A1841 AT cygnus DOT com> <19990710183645 DOT B1841 AT cygnus DOT com> <3787D6AE DOT 18EFE04B AT vinschen DOT de> <19990710193332 DOT C1841 AT cygnus DOT com>

Chris Faylor wrote:
> >> [...]
> >Why should the shell (the parent process of strace!) should have
> >any influence in that???
> 
> I don't know.  Have you tried debugging strace?  Also, have you tried
> the patch that I posted?
> 
> cgf

I have figured out, that the problem is the argument handling.
The executables in my path don't have .exe suffix. This works fine
in cygwin and especially with tcsh. The strace app unfortunately uses
the `CreateProcess' call without naming the application as the first
parameter but only together with it's arguments as one commandline as
second parameter. So the searching for the application is done by
windows itself. In the strace code, there's a line 172:

	/* cygwin32_conv_to_win32_path (exec_file, real_path);*/

that shows, that you wanted to let the executable path handled
by cygwin, which should be the correct way, IMHO.

Corinna

- Raw text -


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