This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

1.5.5-1: cygpath bug


Hi,

In a script I am using cygpath for Cygwin version (1.5.5-1). It seems to have a bug:

  $ cygpath --path --windows "C:\foo"
  C;C:\cygwin\home\masoud\\foo

Which is clearly wrong. If one does it in two steps then it comes up with the right behaviour:

  $ cygpath --path --unix "C:\foo"
  /cygdrive/c/foo

  $ cygpath --path --windows /cygdrive/c/foo
  c:\foo

In my script I had to use this workaround.

Masoud


-- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]