From c5f90db88ef7c9b9055d81266a124699ac47971d Mon Sep 17 00:00:00 2001 From: John Denker Date: Mon, 23 Jul 2012 14:43:34 -0700 Subject: minor polishing --- tools/hi-q.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'tools/hi-q.c') diff --git a/tools/hi-q.c b/tools/hi-q.c index 3d654c5..d267d2c 100644 --- a/tools/hi-q.c +++ b/tools/hi-q.c @@ -301,7 +301,7 @@ void block_fd(const LI todo){ int rslt = fstat(fd, &statbuf); if (rslt) { if (0) { - cerr << "definitely needed to block_fd unit " << fd << " : "; + cerr << "**** definitely needed to block_fd unit " << fd << " : "; perror(0); } if (blocker < 0) { @@ -330,7 +330,7 @@ string basename(const string path){ } void attach(const int pipe_end, const int fd, const int kidno){ - cerr << "attaching current pipe_end " << pipe_end + if (0) cerr << "attaching current pipe_end " << pipe_end << " to " << fd << " for " << kidno << endl; if (pipe_end != fd) { @@ -480,7 +480,7 @@ bar } current_read = next_read; - cerr << "top of loop: " + if (verbose) cerr << "top of loop: " << " cr.MSG: " << current_read[MSG] << " cr.ENV: " << current_read[ENV] << " w.MSG: " << current_write[MSG] @@ -512,7 +512,7 @@ bar perror(0); exeunt(ex_syserr); } - if (1) cerr << "new pipe" + if (0) cerr << "new pipe" << " reading: " << datapipe[rEnd] << " writing: " << datapipe[wEnd] << endl; -- cgit v1.2.3