io_util_md.c needs a prototype for strlen() on linux

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P5
    • 1.4.2
    • Affects Version/s: 1.4.1
    • Component/s: core-libs
    • mantis
    • itanium
    • linux
    • Verified

      src/solaris/native/java/io/io_util_md.c needs to include <string.h> on linux
      to get a valid function prototype for strlen on ia64.
      strlen returns a 64 bit value, but the calling routine
      is expecting 32 bit.

      As it happens, this does not cause a problem in this case because
      the lower half of the 64 bit return value is interpreted correctly
      as a 32 bit value. But it is a compile warning that should be cleaned up.

            Assignee:
            Michael Mccloskey (Inactive)
            Reporter:
            Michael McMahon
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: