Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-19823

Couchdb-couch_set_view-19-compaction-retry test failure for s390x

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Minor
    • feature-backlog
    • 4.1.0
    • view-engine
    • None
    • s390x

    Description

      The "if (fscanf(stdin, "%c\n", (char *)&view_file_type) != 1)" gets wrong input character if we don't do this change. The C and C++ standards allows the character type char to be signed or unsigned, depending on the platform and compiler. For s390x, the type of char is unsigned. This variation causes getting junk characters for s390x. The code change will make the type consistent across all platforms. Please find attached file for the code diff.

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              harsha Harsha Havanur
              shahidhs.ibm Shahid Shaikh
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty