Re: [Patch] strace ./app.exe probably runs application from /bin

2007-06-03 Thread Christian Franke
cygcheck is also affected by the same issue like strace: $ cd /tmp $ cygcheck ./ls C:\cygwin\bin\ls.exe ... $ cygcheck ././ls ls - cannot open. The attached patch fixes this for strace and cygcheck. It does not fix the cygcheck issue reported by Brian. All other calls to path.cc:cygpath()

Re: [Patch] strace ./app.exe probably runs application from /bin

2007-06-03 Thread Christian Franke
Brian Dessent wrote: Christopher Faylor wrote: Let me rephrase the problem: cygpath does not properly deal with the current directory Thanks for the patch but we won't be applying it in this form. I've been meaning to take a look at fixing this myself, because I'm tired of: $ cd

Re: [Patch] strace ./app.exe probably runs application from /bin

2007-06-03 Thread Christopher Faylor
On Sun, Jun 03, 2007 at 06:21:12PM +0200, Christian Franke wrote: The attached patch is a quick hack (again, sorry ;-) to fix this. Was I too polite in my previous refusal of a quick hack? cgf

Re: [Patch] strace ./app.exe probably runs application from /bin

2007-06-03 Thread Christopher Faylor
On Sat, Jun 02, 2007 at 04:28:34PM -0700, Brian Dessent wrote: Christopher Faylor wrote: Let me rephrase the problem: cygpath does not properly deal with the current directory Thanks for the patch but we won't be applying it in this form. I've been meaning to take a look at fixing this