Revert "fs: validate args of truncate functions in js"
This reverts commit c86c1eea . original commit message: This patch 1. moves the basic validation of arguments to `truncate` family of functions to the JavaScript layer from the C++ layer. 2. makes sure that the File Descriptors are validated strictly. PR-URL: #2498 Reviewed-By:Trevor Norris <trev.norris@gmail.com> PR-URL: https://github.com/nodejs/node/pull/7950 Reviewed-By:
Julien Gilli <jgilli@nodejs.org> Reviewed-By:
Rod Vagg <rod@vagg.org> Reviewed-By:
Minwoo Jung <jmwsoft@gmail.com> Reviewed-By:
James M Snell <jasnell@gmail.com>
parent
320f433d
Please register or sign in to comment