From 5b2b72ed08f514444f05e7b42556ae096879f2e8 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Thu, 12 Jul 2018 19:54:23 +0300 Subject: Move STDIN, STDOUT, and STDERR to lower case --- bpkg/fetch.cxx | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'bpkg/fetch.cxx') diff --git a/bpkg/fetch.cxx b/bpkg/fetch.cxx index ad903cc..f764cce 100644 --- a/bpkg/fetch.cxx +++ b/bpkg/fetch.cxx @@ -23,7 +23,7 @@ namespace bpkg { tracer trace ("check_wget"); - // wget --version prints the version to STDOUT and exits with 0 + // wget --version prints the version to stdout and exits with 0 // status. The first line starts with "GNU Wget X.Y[.Z]. // const char* args[] = {prog.string ().c_str (), "--version", nullptr}; @@ -35,7 +35,7 @@ namespace bpkg if (verb >= 3) print_process (args); - process pr (pp, args, 0, -1); // Redirect STDOUT to a pipe. + process pr (pp, args, 0, -1); // Redirect stdout to a pipe. string l; @@ -105,7 +105,7 @@ namespace bpkg }; // Map verbosity level. If we are running quiet or at level 1 - // and the output is STDOUT, then run wget quiet. If at level + // and the output is stdout, then run wget quiet. If at level // 1 and the output is a file, then show the progress bar. At // level 2 and 3 run it at the default level (so we will print // the command line and it will display the progress, error @@ -181,7 +181,7 @@ namespace bpkg static bool check_curl (const path& prog) { - // curl --version prints the version to STDOUT and exits with 0 + // curl --version prints the version to stdout and exits with 0 // status. The first line starts with "curl X.Y.Z" // const char* args[] = {prog.string ().c_str (), "--version", nullptr}; @@ -193,7 +193,7 @@ namespace bpkg if (verb >= 3) print_process (args); - process pr (pp, args, 0, -1); // Redirect STDOUT to a pipe. + process pr (pp, args, 0, -1); // Redirect stdout to a pipe. try { @@ -238,7 +238,7 @@ namespace bpkg }; // Map verbosity level. If we are running quiet or at level 1 - // and the output is STDOUT, then run curl quiet. If at level + // and the output is stdout, then run curl quiet. If at level // 1 and the output is a file, then show the progress bar. At // level 2 and 3 run it at the default level (so we will print // the command line and it will display its elaborate progress). @@ -270,7 +270,7 @@ namespace bpkg for (const string& o: ops) args.push_back (o.c_str ()); - // Output. By default curl writes to STDOUT. + // Output. By default curl writes to stdout. // if (fo) { @@ -319,7 +319,7 @@ namespace bpkg if (verb >= 3) print_process (args); - process pr (pp, args, 0, -1, 1); // Redirect STDOUT and STDERR to a pipe. + process pr (pp, args, 0, -1, 1); // Redirect stdout and stderr to a pipe. try { -- cgit v1.1