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

1 Correct option handling #2

Merged
merged 1 commit into from
Jan 30, 2019
Merged

1 Correct option handling #2

merged 1 commit into from
Jan 30, 2019

Conversation

jlevon
Copy link
Collaborator

@jlevon jlevon commented Jan 29, 2019

I tested this with the --succeed option on a full illumos build.

@rmustacc
Copy link

Looks reasonable.

@jlevon jlevon merged commit 372cbc6 into illumos:illumos Jan 30, 2019
jlevon pushed a commit that referenced this pull request Jan 7, 2020
There were a bunch of missing parts from the floating point support.

#1) It wasn't recording floating point parameters correctly in the DB
    because sval_to_numstr() wasn't updated.
#2) It wasn't parsing the floating points from the DB correctly because
    parse_val() wasn't updated.
#3) It wasn't reading floating point expressions EXPR_FVALUE in
    smatch_math.c or displaying them correctly in smatch_helper.c
#4) Casting from a float to an int was broken.  I deleted cast_rl_fp()
    because that was redundant.

Reported-by: John Levon <[email protected]>
Signed-off-by: Dan Carpenter <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants