diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2016-10-18 14:20:47 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2016-11-04 09:26:26 +0200 |
commit | b2cde46e0540126fe8a4dc94a2b9722663aa45c5 (patch) | |
tree | 332f54041cb2d049e51b38bac03a27aad718c38b | |
parent | f0c0f7a469c18dea61fab888d3f5f2f70b3c1c45 (diff) |
Cosmetic changes
-rw-r--r-- | build2/test/script/script | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/build2/test/script/script b/build2/test/script/script index 1127fb3..9fb2a28 100644 --- a/build2/test/script/script +++ b/build2/test/script/script @@ -48,23 +48,24 @@ namespace build2 struct command_exit { - // C/C++ don't apply constraints to program exit code values other than - // being of int type. + // C/C++ don't apply constraints on program exit code other than it + // being of type int. // // POSIX specifies that only the least significant 8 bits shall be // available from wait() and waitpid(); the full value shall be - // available from waitid() (read more at - // http://pubs.opengroup.org/onlinepubs/9699919799/functions/_Exit.html). - // While Linux man page for waitid() doesn't mention any deviations - // from the standard the FreeBSD implementation (as of version 11.0) - // only returns 8 bits like the other wait*() calls. + // available from waitid() (read more at _Exit, _exit Open Group + // spec). + // + // While the Linux man page for waitid() doesn't mention any + // deviations from the standard, the FreeBSD implementation (as of + // version 11.0) only returns 8 bits like the other wait*() calls. // // Windows supports 32-bit exit codes. // - // Note that in shells some exit values can have a special meaning so - // using them can be a source of confusion, For bash values in the - // [126, 255] range are such a special ones (read more at - // http://tldp.org/LDP/abs/html/exitcodes.html). + // Note that in shells some exit values can have special meaning so + // using them can be a source of confusion. For bash values in the + // [126, 255] range are such a special ones (see Appendix E, "Exit + // Codes With Special Meanings" in the Advanced Bash-Scripting Guide). // exit_comparison comparison = exit_comparison::eq; uint8_t status = 0; |