Skip to content

fs: cleanup fd lchown and lchownSync

Rodrigo Muino Tomonari requested to merge github/fork/jasnell/fs-fix-lchown into master

lchown and lchownSync were opening file descriptors without closing them. Looks like it has been that way for 7 years. Does anyone actually use these functions? :-)

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines
Affected core subsystem(s)

fs

Merge request reports

Loading