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. hello.jar
          0.7 kB
        2. log_for_gerard_from_Calvin.txt
          12 kB
        3. main.cpp
          0.6 kB
        4. my.list
          0.0 kB
        5. test.zip
          662 kB

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

              Created:
              Updated:
              Resolved: