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

fix format string in command #1070

Closed
wants to merge 2 commits into from
Closed

fix format string in command #1070

wants to merge 2 commits into from

Conversation

FAYWORD
Copy link

@FAYWORD FAYWORD commented Jun 17, 2022

See #1069

Fix #1069

@FAYWORD
Copy link
Author

FAYWORD commented Aug 25, 2022

command DEBUG SLEEP fix? run the tests again

@michael-grunder
Copy link
Collaborator

If you rebase your PR off of the current master I can rerun the tests.

Copy link
Contributor

@bjosv bjosv left a comment

Choose a reason for hiding this comment

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

I think this change would require some new tests if the PR is progressed (like for %b and more variants of %s).

goto fmt_valid;
}

/* String conversion (without modifiers) */
Copy link
Contributor

Choose a reason for hiding this comment

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

One behavioral change of handling %s after flags/field/precision is that flags are now accepted for strings (like %+s), while before this was a format error.

@FAYWORD FAYWORD closed this by deleting the head repository Sep 14, 2022
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.

How use %c in format string on redisCommand?
3 participants