Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some work on the OS/400 port #11547

Closed
wants to merge 6 commits into from
Closed

Some work on the OS/400 port #11547

wants to merge 6 commits into from

Conversation

monnerat
Copy link
Contributor

The most important commit of this bunch implements the curl cli tool in the ILE environment.
This is an important step towards supporting the tests on OS/400.

There is also a libtests compilation error fix.

The OS/400 build parameters are now customized in a separate file.

Rest is minor fixes and specific doc update.

Compiles and runs (tested manually!).

@github-actions github-actions bot added the tests label Jul 30, 2023
@monnerat monnerat force-pushed the os400-cli branch 2 times, most recently from d245aae to 939f33d Compare August 2, 2023 08:06
@monnerat monnerat force-pushed the os400-cli branch 2 times, most recently from 2d19142 to 6b4b82e Compare August 13, 2023 08:49
@bagder
Copy link
Member

bagder commented Aug 17, 2023

Oops, #11650 made this merge conflict

@monnerat
Copy link
Contributor Author

Oops, #11650 made this merge conflict

Yes, I was expecting it. Fixed now, together with some adaptations to latest commits.

@monnerat monnerat force-pushed the os400-cli branch 2 times, most recently from 44aee43 to dff2dbb Compare August 29, 2023 11:15
This is provided as a QADRT (ascii) program, a link to it in the IFS and
a minimal CL command.
They can then easily be overriden in a script named "config400.override"
that is not part of the distribution.
OS400 uses BSD 4.3 setsockopt() prototype by default: this does not
define parameter as const, resulting in an error if actual parameter is
const.
Remove the const keyword from the actual parameter cast: this works in
all conditions, even if the formal parameter uses it.
Also fix a non-compliant main prototype in disabled.c.
@monnerat
Copy link
Contributor Author

@bagder: are you planning to pull this before release? There is an OS400 build fix (followup to commit cfe85ca) in it. I would prefer not to backport it.
There are no new feature in this PR: only fixes and cli tool building on OS400. It should not affect other builds. Servers/libtests compilation is NOT performed by makefile.sh.

@bagder
Copy link
Member

bagder commented Aug 30, 2023

@monnerat it is very helpful if you request a review from me or otherwise mention in a comment that the PR is ready for merge when it is, as it is hard for me to keep track. Then I could perhaps act a little sooner on PRs.

I'll get to this one asap!

@monnerat
Copy link
Contributor Author

I'll get to this one asap!

Thanks!

@bagder bagder closed this in 6f8d9cc Aug 30, 2023
bagder pushed a commit that referenced this pull request Aug 30, 2023
They can then easily be overriden in a script named "config400.override"
that is not part of the distribution.

Closes #11547
bagder pushed a commit that referenced this pull request Aug 30, 2023
bagder pushed a commit that referenced this pull request Aug 30, 2023
OS400 uses BSD 4.3 setsockopt() prototype by default: this does not
define parameter as const, resulting in an error if actual parameter is
const. Remove the const keyword from the actual parameter cast: this
works in all conditions, even if the formal parameter uses it.

Closes #11547
bagder pushed a commit that referenced this pull request Aug 30, 2023
Also fix a non-compliant main prototype in disabled.c.

Closes #11547
bagder pushed a commit that referenced this pull request Aug 30, 2023
@bagder
Copy link
Member

bagder commented Aug 30, 2023

Thanks!

@monnerat monnerat deleted the os400-cli branch August 30, 2023 09:46
ptitSeb pushed a commit to wasix-org/curl that referenced this pull request Sep 25, 2023
This is provided as a QADRT (ascii) program, a link to it in the IFS and
a minimal CL command.

Closes curl#11547
ptitSeb pushed a commit to wasix-org/curl that referenced this pull request Sep 25, 2023
They can then easily be overriden in a script named "config400.override"
that is not part of the distribution.

Closes curl#11547
ptitSeb pushed a commit to wasix-org/curl that referenced this pull request Sep 25, 2023
ptitSeb pushed a commit to wasix-org/curl that referenced this pull request Sep 25, 2023
OS400 uses BSD 4.3 setsockopt() prototype by default: this does not
define parameter as const, resulting in an error if actual parameter is
const. Remove the const keyword from the actual parameter cast: this
works in all conditions, even if the formal parameter uses it.

Closes curl#11547
ptitSeb pushed a commit to wasix-org/curl that referenced this pull request Sep 25, 2023
Also fix a non-compliant main prototype in disabled.c.

Closes curl#11547
ptitSeb pushed a commit to wasix-org/curl that referenced this pull request Sep 25, 2023
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.

None yet

2 participants