Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-8475

Apply correct type casting for isblank() to avoid failures on NetBSD

    • Type: Icon: Build Failure Build Failure
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • WT10.0.1, 5.2.0
    • Affects Version/s: None
    • Component/s: None
    • None

      NetBSD's libc is intentionally rigged up so that calling <ctype.h> functions with an argument of type char, which is in general undefined behavior. (These functions are defined by the standard to accept values between 0 and UCHAR_MAX, or EOF.) This caused a failed build in the changes for WT-8389.

      Fix is straightforward, pull request coming in a moment.

            Assignee:
            Unassigned Unassigned
            Reporter:
            dholland+wt@sauclovia.org David Holland
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: