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 <[email protected]>
---
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,title
 
   <!-- pgsql-docs: added xmlns:xlink, autoidx.xsl doesn't include xlink in
        exclude-result-prefixes. Without our customization that just leads to a
-       single xmlns:xlink in this div, but because we emit it it otherwise
+       single xmlns:xlink in this div, but because we emit it, it otherwise
        gets pushed down to the elements output by autoidx.xsl -->
   <div class="index" xmlns:xlink="http://www.w3.org/1999/xlink";>
     <p class="indexdiv-quicklinks">
diff --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


Reply via email to