Skip to content

fs.open/fs.openSync in node v0.10.x can not propagate ENFILE errors #7199

Description

@rmg
  • Version: v0.10.x
  • Platform: posix
  • Subsystem: fs, deps

As described in libuv/libuv#899, libuv v0.10.x does not translate/propagate ENFILE errors, so node reports it as an UNKNOWN error code. Note that EMFILE occurs far more commonly, and this likely affects more tests (trying to trigger EMFILE/ENFILE to test errr handling) than actual applications.

I don't expect this issue to be fixed. This is mainly for people to find in search results.

Metadata

Metadata

Assignees

No one assigned

    Labels

    fsIssues and PRs related to file-system APIs and the fs module.libuvIssues and PRs related to the libuv dependency or the uv binding.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions