Commit c5a18e74 authored by Myles Borins's avatar Myles Borins Committed by Myles Borins
Browse files

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: default avatarTrevor Norris <trev.norris@gmail.com>

PR-URL: https://github.com/nodejs/node/pull/7950


Reviewed-By: default avatarJulien Gilli <jgilli@nodejs.org>
Reviewed-By: default avatarRod Vagg <rod@vagg.org>
Reviewed-By: default avatarMinwoo Jung <jmwsoft@gmail.com>
Reviewed-By: default avatarJames M Snell <jasnell@gmail.com>
parent 320f433d
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment