#204 paths not always converted properly

closed-fixed
Earnie Boyd
MSYS (75)
2002-11-25
2002-10-17
kevin seguin
No

msys does not appear to convert arguments like the
following to windows paths:
./output:/c/

conversion only appears to take place correctly if the
first item in a path list is an absolute path.

consider the following little program and output:

#include <stdio.h>
int main(int argc, char **argv)
{
int i;
for (i = 0; i < argc; ++i)
{
printf("%s\n", argv[i]);
}
return 0;
}

$ ./test.exe ./output/:/c/bar "/c/bar:/foo:./output" /c/:./
c:\msys\dvlpr\test.exe
./output/:/c/bar
c:\bar;C:\msys\1.0.8rc1\foo;./output
c:\;./
$

Discussion

  • Earnie Boyd
    Earnie Boyd
    2002-11-25

    Logged In: YES
    user_id=15438

    The problem you report has caused modification in some fashion in the official CVS for the given package. The w32api and
    mingw-runtime official CVS reside in the winsup CVS directory tree for Cygwin. Those package CVS trees are periodically
    merged into the MinGW CVS tree. If you still find problems then please open a new report.

     
  • Earnie Boyd
    Earnie Boyd
    2002-11-25

    • status: open --> closed-fixed