job000014

david_abrahams (David Abrahams)
David Abrahams created this job , modified by Shawn Hladky
Open
Jam reverses slash direction on Windows

See: http://maillist.perforce.com/pipermail/jamming/2002-February/001567.html

    My copy of Jam has the following behavior on Windows:

    C:\>jam -f-
    x = foo/bar ;
    ECHO $(x:G=) ;
    ^Z
    foo\bar
       ^---------------slash direction reversed!
  • Details
  • Comments -
Status
Open
Project
jam
Severity
C
Reported By
David Abrahams
Reported Date
Modified By
Shawn Hladky
Modified Date
Dev Notes
(seiwald)

Whenever you apply a "file modifier" (PGRDBSM) in a variable
expansion, jam assumes it is a file name, tearing it apart and
putting it back together.  When tearing apart file names on NT,
it accepts both \ and /, but when building them it only uses \.
The :G (grist) modifier is considered a file modifier.

Someday jam will have its own (UNIX) syntax for all file paths,
having them turned to local paths only at binding.  Someday.