string + character does the wrong thing.

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 0.9
    • Affects Version/s: 1.0
    • Component/s: core-libs
    • None
    • 0.9internal
    • sparc
    • solaris_2.5
    • Not verified

        If you try to concatenate a string and a character, you get the string + the integer value of the character. For example,

             char slash = '/';
             "/usr/home" + slash

        yields
             /usr/home47

        You should get
             /usr/home/

              Assignee:
              Frank Yellin (Inactive)
              Reporter:
              J. Duke
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: