Uploaded image for project: 'Buildr (Retired)'
  1. Buildr (Retired)
  2. BUILDR-54

File.normalize_path broken on Mac OS X

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 1.3
    • 1.3
    • Core features
    • None
    • Mac OS X

    Description

      The File.normalize_path function introduced in rev 634463 is broken on Mac. The code:

      Config::CONFIG["host_os"] =~ /win/i
      

      is not sufficient to detect Windows, because on Mac OS X:

      $ ruby -rrbconfig -e 'puts Config::CONFIG["host_os"]'
      darwin9.0
      $ jruby -rrbconfig -e 'puts Config::CONFIG["host_os"]'
      darwin
      

      Attached is a patch to fix.

      Attachments

        1. common-mswin.patch
          0.5 kB
          Nick Sieger

        Activity

          People

            vic Victor Hugo Borja
            nicksieger Nick Sieger
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: