Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The current implementation of syscall_close lacks proper error handling, potentially returning 0 even when an error occurs. This fix introduces a check for fclose errors and updates the return value to -1 in case of an error.
- Loading branch information