[PATCH v1] Fix doubled-word typos and punctuation in code comments
[PATCH v1] Fix doubled-word typos and punctuation in code comments
Fix three instances of doubled words in code comments: - src/backend/utils/adt/pg_dependencies.c: "there there" -> "there" - src/port/pqsignal.c: "it it needs to take single" -> "it needs to take a single" - doc/src/sgml/stylesheet-html-common.xsl: "emit it it otherwise" -> "emit it, it otherwise" (add missing comma between clauses) Signed-off-by: Zakariyah Ali --- Reviewer notes: prepared against master and intended for application. No tests were run because this is a comment-only change with no platform-specific behavior. doc/src/sgml/stylesheet-html-common.xsl | 2 +- src/backend/utils/adt/pg_dependencies.c | 2 +- src/port/pqsignal.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/src/sgml/stylesheet-html-common.xsl b/doc/src/sgml/stylesheet-html-common.xsl index 9dcf96c02e5..f94fb9e1ccc 100644 --- a/doc/src/sgml/stylesheet-html-common.xsl +++ b/doc/src/sgml/stylesheet-html-common.xsl @@ -137,7 +137,7 @@ set toc,titlediff --git a/src/backend/utils/adt/pg_dependencies.c b/src/backend/utils/adt/pg_dependencies.c index 7441004909f..58384cd1c25 100644 --- a/src/backend/utils/adt/pg_dependencies.c +++ b/src/backend/utils/adt/pg_dependencies.c @@ -210,7 +210,7 @@ dependencies_object_end(void *state) /* * Assign attribute numbers to the attributes array, comparing each one - * against the dependency attribute to ensure that there there are no + * against the dependency attribute to ensure that there are no * matches. */ for (int i = 0; i < natts; i++) diff --git a/src/port/pqsignal.c b/src/port/pqsignal.c index a8a1cd2074c..7e4714032be 100644 --- a/src/port/pqsignal.c +++ b/src/port/pqsignal.c @@ -205,7 +205,7 @@ pqsignal(int signo, pqsigfunc func) /* * Forward to Windows native signal system, we need to send this though - * wrapper handler as it it needs to take single argument only. + * wrapper handler as it needs to take a single argument only. */ if (is_ign) wrapper_func_ptr = SIG_IGN; -- 2.43.0