Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

fs: close file if fstat() fails in readFile() #7698

Closed
wants to merge 1 commit into from
Closed

fs: close file if fstat() fails in readFile() #7698

wants to merge 1 commit into from

Conversation

cjihrig
Copy link

@cjihrig cjihrig commented May 28, 2014

Currently, if fstat() fails in readFile(), the callback is invoked without closing the file. This commit closes the file before calling back.

Closes #7697
@piscisaureus

Currently, if fstat() fails in readFile(), the callback
is invoked without closing the file. This commit closes
the file before calling back.

Closes #7697
@cjihrig
Copy link
Author

cjihrig commented May 29, 2014

@piscisaureus it looks like this landed. Is this OK to close?

@piscisaureus
Copy link

Fixed in c7b0203, 72cc66e and b93a51e

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants