-
Notifications
You must be signed in to change notification settings - Fork 392
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
Z: Prioritize buffer size over buffer pointer in atoe_vsnprintf to better match std vsnprintf #7158
Conversation
c4bd439
to
da0fb03
Compare
@ehsankianifar Can you fix the line ending errors reported in https://dev.azure.com/eclipse-omr/omr/_build/results?buildId=8104&view=logs&j=011e1ec8-6569-5e69-4f06-baf193d1351e&t=b8cbf579-6a08-5e02-2788-e25b5bd52b1b? |
38790e3
to
5f48768
Compare
There is a test that fails on openj9, therefore we need to update the test as well. here is the openj9 pr: eclipse-openj9/openj9#18362 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I need to give this change another look to make sure that we are not making assumptions which are incorrect.
5ac8ae4
to
9de5c62
Compare
3cb6426
to
7c4eed3
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ehsankianifar Instead of reviewing the change, I left a comment to make this API adhere to SPEC. I think we should get away without allocating temp buffer.
9e442c5
to
c5dacca
Compare
4a1f95c
to
277973e
Compare
@ehsankianifar Can you rebase your branch and push it ? |
Sure, I am am working on it. |
67dda67
to
965862e
Compare
af40633
to
adb3eed
Compare
c91c427
to
a066081
Compare
a066081
to
633d1e2
Compare
Std vsnprintf accepts null buffer and returns an estimate Our implementation does not support that Updated the atoe_vsnprintf implementation Signed-off-by: ehsan kiani far <ehsan.kianifar@gmail.com>
633d1e2
to
5454992
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Merging this needs to be coordinated with merging eclipse-openj9/openj9#18362, else z/OS builds will be broken.
Jenkins build zos,zlinux |
Thanks a lot @keithc-ca for a thorough review. |
Yes, that's what we need/want. |
build pipelines with all sanity tests: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've taken a quick look, and I think things look good, but I'm relying on the much more thorough reviews undertaken by others. Thanks!
This pull request has been thoroughly reviewed and tested. Merging. |
Std vsnprintf accepts null buffer and returns an estimate Our implementation does not support that
Updated the atoe_vsnprintf implementation
Signed-off-by: ehsan kiani far ehsan.kianifar@gmail.com