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: use vec instead of arr to avoid size check and add logging in unlink #489

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ShyunnY
Copy link

@ShyunnY ShyunnY commented Dec 11, 2024

What was done:

  • use Vec instead of &mut [u8] to avoid complex memory expansion when the size is insufficient
  • make unistd::unlink errors match different logs

…link

Signed-off-by: shyunny <shyunny@outlook.com>
@Noah-Kennedy Noah-Kennedy self-requested a review December 13, 2024 17:27
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.

1 participant