From a51867dc63f7a6839411754f5d66800a27706b3e Mon Sep 17 00:00:00 2001 From: Nigel Tao Date: Wed, 19 May 2021 21:34:09 +1000 Subject: [PATCH] Fix "forseen" typo --- example/cbor-to-json/cbor-to-json.cc | 2 +- example/convert-to-nia/convert-to-nia.c | 2 +- example/json-to-cbor/json-to-cbor.cc | 2 +- example/jsonfindptrs/jsonfindptrs.cc | 2 +- example/jsonptr/jsonptr.cc | 2 +- example/zcat/zcat.c | 2 +- script/print-json-token-debug-format.c | 2 +- script/process-json-numbers.c | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/example/cbor-to-json/cbor-to-json.cc b/example/cbor-to-json/cbor-to-json.cc index f29444b0..7baa1779 100644 --- a/example/cbor-to-json/cbor-to-json.cc +++ b/example/cbor-to-json/cbor-to-json.cc @@ -767,7 +767,7 @@ compute_exit_code(std::string status_msg) { } fputs(status_msg.c_str(), stderr); fputc('\n', stderr); - // Return an exit code of 1 for regular (forseen) errors, e.g. badly + // Return an exit code of 1 for regular (foreseen) errors, e.g. badly // formatted or unsupported input. // // Return an exit code of 2 for internal (exceptional) errors, e.g. defensive diff --git a/example/convert-to-nia/convert-to-nia.c b/example/convert-to-nia/convert-to-nia.c index aa1342de..fe349aff 100644 --- a/example/convert-to-nia/convert-to-nia.c +++ b/example/convert-to-nia/convert-to-nia.c @@ -605,7 +605,7 @@ compute_exit_code(const char* status_msg) { } ignore_return_value(write(STDERR_FD, status_msg, n)); ignore_return_value(write(STDERR_FD, "\n", 1)); - // Return an exit code of 1 for regular (forseen) errors, e.g. badly + // Return an exit code of 1 for regular (foreseen) errors, e.g. badly // formatted or unsupported input. // // Return an exit code of 2 for internal (exceptional) errors, e.g. defensive diff --git a/example/json-to-cbor/json-to-cbor.cc b/example/json-to-cbor/json-to-cbor.cc index 391190a3..03cd11b8 100644 --- a/example/json-to-cbor/json-to-cbor.cc +++ b/example/json-to-cbor/json-to-cbor.cc @@ -362,7 +362,7 @@ compute_exit_code(std::string status_msg) { } fputs(status_msg.c_str(), stderr); fputc('\n', stderr); - // Return an exit code of 1 for regular (forseen) errors, e.g. badly + // Return an exit code of 1 for regular (foreseen) errors, e.g. badly // formatted or unsupported input. // // Return an exit code of 2 for internal (exceptional) errors, e.g. defensive diff --git a/example/jsonfindptrs/jsonfindptrs.cc b/example/jsonfindptrs/jsonfindptrs.cc index 28edc239..a7bd75ec 100644 --- a/example/jsonfindptrs/jsonfindptrs.cc +++ b/example/jsonfindptrs/jsonfindptrs.cc @@ -571,7 +571,7 @@ compute_exit_code(std::string status_msg) { return 0; } std::cerr << status_msg << '\n'; - // Return an exit code of 1 for regular (forseen) errors, e.g. badly + // Return an exit code of 1 for regular (foreseen) errors, e.g. badly // formatted or unsupported input. // // Return an exit code of 2 for internal (exceptional) errors, e.g. defensive diff --git a/example/jsonptr/jsonptr.cc b/example/jsonptr/jsonptr.cc index 6e3251ff..64e55ba9 100644 --- a/example/jsonptr/jsonptr.cc +++ b/example/jsonptr/jsonptr.cc @@ -1446,7 +1446,7 @@ compute_exit_code(const char* status_msg) { const int stderr_fd = 2; ignore_return_value(write(stderr_fd, status_msg, n)); ignore_return_value(write(stderr_fd, "\n", 1)); - // Return an exit code of 1 for regular (forseen) errors, e.g. badly + // Return an exit code of 1 for regular (foreseen) errors, e.g. badly // formatted or unsupported input. // // Return an exit code of 2 for internal (exceptional) errors, e.g. defensive diff --git a/example/zcat/zcat.c b/example/zcat/zcat.c index 7ff327da..746b08fc 100644 --- a/example/zcat/zcat.c +++ b/example/zcat/zcat.c @@ -224,7 +224,7 @@ compute_exit_code(const char* status_msg) { const int stderr_fd = 2; ignore_return_value(write(stderr_fd, status_msg, n)); ignore_return_value(write(stderr_fd, "\n", 1)); - // Return an exit code of 1 for regular (forseen) errors, e.g. badly + // Return an exit code of 1 for regular (foreseen) errors, e.g. badly // formatted or unsupported input. // // Return an exit code of 2 for internal (exceptional) errors, e.g. defensive diff --git a/script/print-json-token-debug-format.c b/script/print-json-token-debug-format.c index 14af8178..ea3d330f 100644 --- a/script/print-json-token-debug-format.c +++ b/script/print-json-token-debug-format.c @@ -416,7 +416,7 @@ compute_exit_code(const char* status_msg) { n = strnlen(status_msg, 2047); } fprintf(stderr, "%s\n", status_msg); - // Return an exit code of 1 for regular (forseen) errors, e.g. badly + // Return an exit code of 1 for regular (foreseen) errors, e.g. badly // formatted or unsupported input. // // Return an exit code of 2 for internal (exceptional) errors, e.g. defensive diff --git a/script/process-json-numbers.c b/script/process-json-numbers.c index e44a6dcc..26f699c0 100644 --- a/script/process-json-numbers.c +++ b/script/process-json-numbers.c @@ -304,7 +304,7 @@ compute_exit_code(const char* status_msg) { n = strnlen(status_msg, 2047); } fprintf(stderr, "%s\n", status_msg); - // Return an exit code of 1 for regular (forseen) errors, e.g. badly + // Return an exit code of 1 for regular (foreseen) errors, e.g. badly // formatted or unsupported input. // // Return an exit code of 2 for internal (exceptional) errors, e.g. defensive