Skip to content

Build error on OS400 - chkstrings unexpected last string values #11132

@jonrumsey

Description

@jonrumsey

I did this

Build 8.1.0 on OS400 encountering a build error;
STRING_LASTZEROTERMINATED(77) is not expected value(76).…STRING_LAST(79) is not expected value(77).…curl_easy_setopt_ccsid() in packages/OS400/ccsidcurl.c may need updating if new strings are provided as input via the curl API.…ERROR: CHKSTRINGS failed!

STRING_AWS_SIGV4 was recategorized in lib/urldata.h from a binary string to a null terminated character string under commit 3f0b81c. Whilst curl_easy_setop_ccsid() already handles CURLOPT_AWS_SIGV4, the compensating change to chkstrings.c was not made.

I expected the following

Clean build.

curl/libcurl version

8.1.0

operating system

OS400 V7R4M0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions