aboutsummaryrefslogtreecommitdiffhomepage
path: root/conformance/conformance_nodejs.js
diff options
context:
space:
mode:
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;
}