Skip to content

Conversation

Integral-Tech
Copy link
Contributor

In cat_nonblock.c, function call of close() is missing, which could lead to resource leak. Besides, using EXIT_FAILURE macro defined in stdlib.h provides better readability.

In cat_nonblock.c, function call of close() is missing, which could
lead to resource leak. Besides, using EXIT_FAILURE macro defined in
stdlib.h provides better readability.
@jserv jserv merged commit 885da47 into sysprog21:master Nov 12, 2024
1 check passed
@jserv
Copy link
Contributor

jserv commented Nov 12, 2024

Thank @Integral-Tech for contributing!

@Integral-Tech Integral-Tech deleted the fix-cat-nonblock branch November 12, 2024 06:24
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.

2 participants