[Patch] "strace ./app.exe" probably runs application from /bin
Sun Jun 3 16:09:00 GMT 2007
cygcheck is also affected by the same issue like strace:
$ cd /tmp
$ cygcheck ./ls
$ 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() use absolute path names.
So it should not break anything to keep a leading "./".
2007-06-03 Christian Franke <email@example.com>
* path.cc (cygpath): Don't remove leading "./" to avoid
invalid application search in strace and cygcheck.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
More information about the Cygwin-patches