Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8167546

enhance os::file_name_strncmp() on Mac OSX

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Duplicate
    • Icon: P3 P3
    • 12
    • 9
    • hotspot
    • x86_64
    • os_x

      The implementation of os::file_name_strncmp() for Mac OS X in os_bsd.inline.hpp does a strcmp(). However, depending on the file system and setting on Mac OS X, it could be case-insensitive. The implementation should take that into account and call the appropriate function.

      The following link has some info on the OS X file system:
      http://apple.stackexchange.com/questions/8016/hfs-case-sensitive-or-case-insensitive-which-type-to-use-for-the-primary-dri

        1. log_for_gerard_from_Calvin.txt
          12 kB
          Gerard Ziemski
        2. main.cpp
          0.6 kB
          Gerard Ziemski
        3. my.list
          0.0 kB
          Calvin Cheung

            gziemski Gerard Ziemski
            ccheung Calvin Cheung
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: