Skip to content
This repository was archived by the owner on Mar 9, 2026. It is now read-only.

fix: only read from stdin if there is data to read#457

Draft
aymanbagabas wants to merge 1 commit intomainfrom
fix-stdin-size
Draft

fix: only read from stdin if there is data to read#457
aymanbagabas wants to merge 1 commit intomainfrom
fix-stdin-size

Conversation

@aymanbagabas
Copy link
Copy Markdown
Member

Always check if there is data to read from stdin before reading from it. Otherwise, the program will hang and wait for input or EOT.

Always check if there is data to read from stdin before reading from it.
Otherwise, the program will hang and wait for input or EOT.
@aymanbagabas aymanbagabas marked this pull request as draft March 7, 2025 17:14
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants