-
-
Notifications
You must be signed in to change notification settings - Fork 6.5k
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
Some work on the OS/400 port #11547
Conversation
d245aae
to
939f33d
Compare
2d19142
to
6b4b82e
Compare
Oops, #11650 made this merge conflict |
Yes, I was expecting it. Fixed now, together with some adaptations to latest commits. |
44aee43
to
dff2dbb
Compare
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.
@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. |
@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! |
Thanks! |
They can then easily be overriden in a script named "config400.override" that is not part of the distribution. Closes #11547
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
Also fix a non-compliant main prototype in disabled.c. Closes #11547
Thanks! |
This is provided as a QADRT (ascii) program, a link to it in the IFS and a minimal CL command. Closes curl#11547
They can then easily be overriden in a script named "config400.override" that is not part of the distribution. Closes curl#11547
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
Also fix a non-compliant main prototype in disabled.c. Closes curl#11547
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!).