C string terminator checks should use '\0' instead of 0

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Won't Fix
    • Priority: P5
    • 7
    • Affects Version/s: 6
    • Component/s: hotspot
    • None
    • generic
    • generic

      Hotspot C/C++ string manipulation code should use '\0' instead of 0 when checking for termination values. '\0' is the official character string terminator and is also of type char, where 0 is not.

            Assignee:
            Ivan Krylov (Inactive)
            Reporter:
            Steve Bohne (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: