From 0166562075d2dd98eb92d5677d5e72cc550a354b Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 10 Dec 2014 12:58:02 +0200 Subject: Add comments --- odb/odb.cxx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/odb/odb.cxx b/odb/odb.cxx index 7ecc0e2..1cf6b0e 100644 --- a/odb/odb.cxx +++ b/odb/odb.cxx @@ -84,16 +84,16 @@ struct process_info HANDLE id; #endif - int out_fd; - int in_efd; - int in_ofd; + int out_fd; // Write to this fd to send to the new process' stdin. + int in_efd; // Read from this fd to receive from the new process' stderr. + int in_ofd; // Read from this fd to receive from the new process' stdout. }; struct process_failure {}; // Start another process using the specified command line. Connect the -// newly created process' stdin to out_fd. Also if connect_out is true, -// connect the created process' stdout and stderr to in_fd. Issue +// newly created process' stdin to out_fd. Also if connect_* are true, +// connect the created process' stdout and stderr to in_*fd. Issue // diagnostics and throw process_failure if anything goes wrong. The // name argument is the name of the current process for diagnostics. // -- cgit v1.1