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 printf infinite loop #8

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

alx-sima
Copy link

@alx-sima alx-sima commented Jan 11, 2024

Fix printf infinite loop (#5818) while there are more parameters than format arguments.

Still WiP:

  • print stdout before stderr
  • add test

@sudhackar
Copy link

The current change would also break this.

$ printf %c a b c d e
abcde

@alx-sima
Copy link
Author

@sudhackar this should be fixed now. Passing all the tests.

@alexandruradovici
Copy link

alexandruradovici commented Jan 15, 2024

Please rebase it, make sure to run cargo fmt on your code, send this to upstream and place a link to it here.

@alexandruradovici alexandruradovici marked this pull request as ready for review January 15, 2024 09:34
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