Skip to content

Fix build errors when using GSKit#8454

Closed
kadler wants to merge 3 commits into
curl:masterfrom
kadler:gskit-fixes
Closed

Fix build errors when using GSKit#8454
kadler wants to merge 3 commits into
curl:masterfrom
kadler:gskit-fixes

Conversation

@kadler

@kadler kadler commented Feb 15, 2022

Copy link
Copy Markdown
Contributor

Various changes in master have caused the GSKit build to break, which is used by the IBM i ILE (OS400) build.

2f0bb86 replaced sterror with Curl_strerror, but the strerror buffer
shadows the set_buffer "buffer" parameter. To keep consistency with the
other functions that use Curl_strerror, rename the parameter.

In addition, strerror.h is needed for the definition of STRERROR_LEN.
In c30bf22, Curl_ssl_getsock was factored out in to a member of
struct Curl_ssl but the gskit initialization was not updated to reflect
this new member.
As mentioned in 32766cb, gskit was the last user of Curl_select which is
now gone. Convert to using Curl_poll to allow build to work on IBM i.
@kadler

kadler commented Feb 15, 2022

Copy link
Copy Markdown
Contributor Author

@NattyNarwhal can you look at these changes compare with the fixes you made?

@bagder bagder added the TLS label Feb 15, 2022
@NattyNarwhal

Copy link
Copy Markdown
Contributor

I didn't have any changes other than what I made PRs for last; haven't looked at ILE curl in a while.

@kadler

kadler commented Feb 15, 2022

Copy link
Copy Markdown
Contributor Author

Ah, ok. I misunderstood and thought you meant you had changes outstanding.

@bagder

bagder commented Feb 16, 2022

Copy link
Copy Markdown
Member

Thanks!

@bagder bagder closed this in 9234547 Feb 16, 2022
bagder pushed a commit that referenced this pull request Feb 16, 2022
In c30bf22, Curl_ssl_getsock was factored out in to a member of
struct Curl_ssl but the gskit initialization was not updated to reflect
this new member.

Closes #8454
bagder pushed a commit that referenced this pull request Feb 16, 2022
As mentioned in 32766cb, gskit was the last user of Curl_select which is
now gone. Convert to using Curl_poll to allow build to work on IBM i.

Closes #8454
@kadler kadler deleted the gskit-fixes branch February 17, 2022 16:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

3 participants