aboutsummaryrefslogtreecommitdiffhomepage
path: root/conformance/conformance_nodejs.js
diff options
context:
space:
mode:
authorGravatar Josh Haberman <jhaberman@gmail.com>2017-03-16 15:19:09 -0700
committerGravatar Josh Haberman <jhaberman@gmail.com>2017-03-16 15:19:09 -0700
commit1b0db1cb83f09794632e8c24a1d0d1f0ca5b2365 (patch)
tree81872f6c1b9a7dd1d7d0c450c7bbe6c015cc5ffb /conformance/conformance_nodejs.js
parent95b4427d391c5e4040e5818ff5f0384873d99412 (diff)
Removed obsolete comments and added docs.
Diffstat (limited to 'conformance/conformance_nodejs.js')
-rwxr-xr-xconformance/conformance_nodejs.js3
1 files changed, 0 insertions, 3 deletions
diff --git a/conformance/conformance_nodejs.js b/conformance/conformance_nodejs.js
index 21f516bc..5ee37269 100755
--- a/conformance/conformance_nodejs.js
+++ b/conformance/conformance_nodejs.js
@@ -101,11 +101,9 @@ function onEof(totalRead) {
function readBuffer(bytes) {
var buf = new Buffer(bytes);
var totalRead = 0;
- //console.warn("Want to read: " + bytes);
while (totalRead < bytes) {
var read = 0;
try {
- //console.warn("Trying to read: " + (bytes - totalRead));
read = fs.readSync(process.stdin.fd, buf, totalRead, bytes - totalRead);
} catch (e) {
if (e.code == 'EOF') {
@@ -116,7 +114,6 @@ function readBuffer(bytes) {
}
}
- //console.warn("Read: " + read);
totalRead += read;
}