Re: 1.5.19-4 exec family of functions find wrong file to execute

2006-01-31 Thread Christopher Faylor
On Tue, Jan 31, 2006 at 06:49:41PM -0500, Martin wrote: >It's not perfect. But I think you got the gist of it. AFAICT, your test application executes the same on linux and on cygwin (NTFS) with Corinna's patch, so I think we got all of it. cgf -- Unsubscribe info: http://cygwin.com/ml/#uns

RE: 1.5.19-4 exec family of functions find wrong file to execute

2006-01-31 Thread Martin
It's not perfect. But I think you got the gist of it. Thanks, Martin --- Dave Korn <[EMAIL PROTECTED]> wrote: > On 31 January 2006 17:58, Igor Peshansky wrote: > > > >> In response to your comments: > >> I ran the testcase from ~/testcases directory. I believe my > cygwin.out > >> file indica

Re: 1.5.19-4 exec family of functions find wrong file to execute

2006-01-31 Thread Corinna Vinschen
On Jan 23 11:12, Martin wrote: > I am attempting to invoke a command with > execvp/execlp. If a file appears in my PATH before > the executable desired and has the same name as the > executable, the first occurrence of the file name is > used as the executable to invoke. Even though the > first f

RE: 1.5.19-4 exec family of functions find wrong file to execute

2006-01-31 Thread Dave Korn
On 31 January 2006 17:58, Igor Peshansky wrote: >> In response to your comments: >> I ran the testcase from ~/testcases directory. I believe my cygwin.out >> file indicates /home is mounted from D:\home (HOME=/home/test). Also, >> D: is NTFS. Also, there is nothing special about mount point (no

RE: 1.5.19-4 exec family of functions find wrong file to execute

2006-01-31 Thread Igor Peshansky
Ugh, top-posting... Reformatted. On Tue, 31 Jan 2006, Martin wrote: > --- Igor Peshansky <[EMAIL PROTECTED]> wrote: . Thanks. > > On Tue, 31 Jan 2006, Dave Korn wrote: > > > > > On 30 January 2006 19:23, Martin wrote: > > > > > > > Any response? > >

RE: 1.5.19-4 exec family of functions find wrong file to execute

2006-01-31 Thread Dave Korn
On 31 January 2006 16:23, Martin wrote: > In response to your comments: > I ran the testcase from ~/testcases directory. I believe my cygwin.out > file indicates /home is mounted from D:\home (HOME=/home/test). Also, D: > is NTFS. Also, there is nothing special about mount point (no -x flag > was

RE: 1.5.19-4 exec family of functions find wrong file to execute

2006-01-31 Thread Martin
In response to your comments: I ran the testcase from ~/testcases directory. I believe my cygwin.out file indicates /home is mounted from D:\home (HOME=/home/test). Also, D: is NTFS. Also, there is nothing special about mount point (no -x flag was used). This is all shown in cygwin.out. Martin

RE: 1.5.19-4 exec family of functions find wrong file to execute

2006-01-31 Thread Igor Peshansky
On Tue, 31 Jan 2006, Dave Korn wrote: > On 30 January 2006 19:23, Martin wrote: > > > Any response? > > TIA > > --- Martin <[EMAIL PROTECTED]> wrote: > > > >> I am attempting to invoke a command with execvp/execlp. If a file > >> appears in my PATH before the executable desired and has the same n

RE: 1.5.19-4 exec family of functions find wrong file to execute

2006-01-31 Thread Dave Korn
On 30 January 2006 19:23, Martin wrote: > Any response? > TIA > --- Martin <[EMAIL PROTECTED]> wrote: > >> I am attempting to invoke a command with execvp/execlp. If a file >> appears in my PATH before the executable desired and has the same name >> as the executable, the first occurrence of the

Re: 1.5.19-4 exec family of functions find wrong file to execute

2006-01-30 Thread Martin
Any response? TIA --- Martin <[EMAIL PROTECTED]> wrote: > I am attempting to invoke a command with > execvp/execlp. If a file appears in my PATH before > the executable desired and has the same name as the > executable, the first occurrence of the file name is > used as the executable to invoke.