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

abi_fix to be verified #313

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

pbg-intel
Copy link
Contributor

to verify ddi table abi compatibility issue

@bmyates
Copy link
Contributor

bmyates commented Oct 14, 2024

there is already a fix for this issue posted here #312

objects = sorted(objects, key=lambda obj: (float(obj.get('version',"1.0"))*10000) + int(obj.get('ordinal',"100")))
exp_objects = sorted(exp_objects, key=lambda obj: (float(obj.get('version',"1.0"))*10000) + int(obj.get('ordinal',"100")))
objects = sorted(objects, key=lambda obj: (float(obj.get('version',"1.0").translate({ord('.'):None}))*10000) + int(obj.get('ordinal',"100")))
exp_objects = sorted(exp_objects, key=lambda obj: (float(obj.get('version',"1.0").translate({ord('.'):None}))*10000) + int(obj.get('ordinal',"100")))
Copy link
Contributor

@bmyates bmyates Oct 14, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

would this translate 2.0 -> 20 which would be less than 1.10 -> 110 but greater than 1.1 -> 11

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If at all possible, I highly recommend avoiding anything to do with the Ordinal, it is a mess waiting to happen...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants