aboutsummaryrefslogtreecommitdiff
path: root/bpkg/checksum.cxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2018-07-12 19:54:23 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2018-07-12 19:55:09 +0300
commit5b2b72ed08f514444f05e7b42556ae096879f2e8 (patch)
tree61d90245d1ffd1784773f69631ed61d763a4e47c /bpkg/checksum.cxx
parentfa9017f87197565b970d22d2d51241fdfa55c916 (diff)
Move STDIN, STDOUT, and STDERR to lower case
Diffstat (limited to 'bpkg/checksum.cxx')
-rw-r--r--bpkg/checksum.cxx18
1 files changed, 9 insertions, 9 deletions
diff --git a/bpkg/checksum.cxx b/bpkg/checksum.cxx
index 7f4afa8..ba55205 100644
--- a/bpkg/checksum.cxx
+++ b/bpkg/checksum.cxx
@@ -24,7 +24,7 @@ namespace bpkg
check_sha256 (const path& prog)
{
// This one doesn't have --version or --help. Running it without any
- // arguments causes it to calculate the sum of STDIN. But we can ask
+ // arguments causes it to calculate the sum of stdin. But we can ask
// it to calculate a sum of an empty string.
//
const char* args[] = {prog.string ().c_str (), "-q", "-s", "", nullptr};
@@ -36,7 +36,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
{
@@ -83,7 +83,7 @@ namespace bpkg
if (verb >= 3)
print_process (args);
- // Pipe STDOUT. Process exceptions must be handled by the caller.
+ // Pipe stdout. Process exceptions must be handled by the caller.
//
return process (pp, args.data (), 0, -1);
}
@@ -93,7 +93,7 @@ namespace bpkg
static bool
check_sha256sum (const path& prog)
{
- // sha256sum --version prints the version to STDOUT and exits with 0
+ // sha256sum --version prints the version to stdout and exits with 0
// status. The first line starts with "sha256sum (GNU coreutils) 8.21".
//
const char* args[] = {prog.string ().c_str (), "--version", nullptr};
@@ -105,7 +105,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
{
@@ -160,7 +160,7 @@ namespace bpkg
if (verb >= 3)
print_process (args);
- // Pipe STDOUT. Process exceptions must be handled by the caller.
+ // Pipe stdout. Process exceptions must be handled by the caller.
//
return process (pp, args.data (), 0, -1);
}
@@ -170,7 +170,7 @@ namespace bpkg
static bool
check_shasum (const path& prog)
{
- // shasum --version prints just the version to STDOUT and exits with 0
+ // shasum --version prints just the version to stdout and exits with 0
// status. The output looks like "5.84".
//
const char* args[] = {prog.string ().c_str (), "--version", nullptr};
@@ -182,7 +182,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
{
@@ -226,7 +226,7 @@ namespace bpkg
if (verb >= 3)
print_process (args);
- // Pipe STDOUT. Process exceptions must be handled by the caller.
+ // Pipe stdout. Process exceptions must be handled by the caller.
//
return process (pp, args.data (), 0, -1);
}