Skip to content

Conversation

@PengYinjie
Copy link

Updated freopen function in libc stdio to close the old file descriptor before reopening the file.

@github-actions github-actions bot added Area: OS Components OS Components issues Size: S The size of the change in this PR is small labels Nov 25, 2025
@jerpelea jerpelea changed the title freopen: close old file descriptor before reopening libs/libc/stdio:: close old file descriptor before reopening Nov 25, 2025
Copy link
Contributor

@jerpelea jerpelea left a comment

Choose a reason for hiding this comment

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

please update commit title to
libs/libc/stdio:: close old file descriptor before reopening

@jerpelea jerpelea changed the title libs/libc/stdio:: close old file descriptor before reopening libs/libc/stdio: close old file descriptor before reopening Nov 25, 2025
Updated freopen function in libc stdio to close the old file descriptor before reopening the file.

Signed-off-by: pengyinjie <[email protected]>
@PengYinjie
Copy link
Author

please update commit title to libs/libc/stdio:: close old file descriptor before reopening

done.

Copy link
Contributor

@linguini1 linguini1 left a comment

Choose a reason for hiding this comment

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

Please fill out your PR description according to the template. What was your testing method?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area: OS Components OS Components issues Size: S The size of the change in this PR is small

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants