Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e8f9fe4

Browse files
committed
Fix typos in comments.
Backpatch to all supported versions, where applicable, to make backpatching of future fixes go more smoothly. Josh Soref Discussion: https://www.postgresql.org/message-id/CACZqfqCf+5qRztLPgmmosr-B0Ye4srWzzw_mo4c_8_B_mtjmJQ@mail.gmail.com
1 parent b87e168 commit e8f9fe4

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

75 files changed

+103
-103
lines changed

configure

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7188,7 +7188,7 @@ test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
71887188
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
71897189

71907190
# When Autoconf chooses install-sh as install program it tries to generate
7191-
# a relative path to it in each makefile where it subsitutes it. This clashes
7191+
# a relative path to it in each makefile where it substitutes it. This clashes
71927192
# with our Makefile.global concept. This workaround helps.
71937193
case $INSTALL in
71947194
*install-sh*) install_bin='';;
@@ -7332,7 +7332,7 @@ fi
73327332
$as_echo "$MKDIR_P" >&6; }
73337333

73347334
# When Autoconf chooses install-sh as mkdir -p program it tries to generate
7335-
# a relative path to it in each makefile where it subsitutes it. This clashes
7335+
# a relative path to it in each makefile where it substitutes it. This clashes
73367336
# with our Makefile.global concept. This workaround helps.
73377337
case $MKDIR_P in
73387338
*install-sh*) MKDIR_P='\${SHELL} \${top_srcdir}/config/install-sh -c -d';;

configure.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -822,7 +822,7 @@ fi
822822

823823
AC_PROG_INSTALL
824824
# When Autoconf chooses install-sh as install program it tries to generate
825-
# a relative path to it in each makefile where it subsitutes it. This clashes
825+
# a relative path to it in each makefile where it substitutes it. This clashes
826826
# with our Makefile.global concept. This workaround helps.
827827
case $INSTALL in
828828
*install-sh*) install_bin='';;
@@ -835,7 +835,7 @@ AC_PROG_LN_S
835835
AC_PROG_AWK
836836
AC_PROG_MKDIR_P
837837
# When Autoconf chooses install-sh as mkdir -p program it tries to generate
838-
# a relative path to it in each makefile where it subsitutes it. This clashes
838+
# a relative path to it in each makefile where it substitutes it. This clashes
839839
# with our Makefile.global concept. This workaround helps.
840840
case $MKDIR_P in
841841
*install-sh*) MKDIR_P='\${SHELL} \${top_srcdir}/config/install-sh -c -d';;

contrib/cube/expected/cube.out

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -912,7 +912,7 @@ SELECT cube_dim('(0,0,0)'::cube);
912912
3
913913
(1 row)
914914

915-
-- Test of cube_ll_coord function (retrieves LL coodinate values)
915+
-- Test of cube_ll_coord function (retrieves LL coordinate values)
916916
--
917917
SELECT cube_ll_coord('(-1,1),(2,-2)'::cube, 1);
918918
cube_ll_coord
@@ -932,7 +932,7 @@ SELECT cube_ll_coord('(-1,1),(2,-2)'::cube, 3);
932932
0
933933
(1 row)
934934

935-
-- Test of cube_ur_coord function (retrieves UR coodinate values)
935+
-- Test of cube_ur_coord function (retrieves UR coordinate values)
936936
--
937937
SELECT cube_ur_coord('(-1,1),(2,-2)'::cube, 1);
938938
cube_ur_coord

contrib/cube/expected/cube_1.out

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -912,7 +912,7 @@ SELECT cube_dim('(0,0,0)'::cube);
912912
3
913913
(1 row)
914914

915-
-- Test of cube_ll_coord function (retrieves LL coodinate values)
915+
-- Test of cube_ll_coord function (retrieves LL coordinate values)
916916
--
917917
SELECT cube_ll_coord('(-1,1),(2,-2)'::cube, 1);
918918
cube_ll_coord
@@ -932,7 +932,7 @@ SELECT cube_ll_coord('(-1,1),(2,-2)'::cube, 3);
932932
0
933933
(1 row)
934934

935-
-- Test of cube_ur_coord function (retrieves UR coodinate values)
935+
-- Test of cube_ur_coord function (retrieves UR coordinate values)
936936
--
937937
SELECT cube_ur_coord('(-1,1),(2,-2)'::cube, 1);
938938
cube_ur_coord

contrib/cube/expected/cube_2.out

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -912,7 +912,7 @@ SELECT cube_dim('(0,0,0)'::cube);
912912
3
913913
(1 row)
914914

915-
-- Test of cube_ll_coord function (retrieves LL coodinate values)
915+
-- Test of cube_ll_coord function (retrieves LL coordinate values)
916916
--
917917
SELECT cube_ll_coord('(-1,1),(2,-2)'::cube, 1);
918918
cube_ll_coord
@@ -932,7 +932,7 @@ SELECT cube_ll_coord('(-1,1),(2,-2)'::cube, 3);
932932
0
933933
(1 row)
934934

935-
-- Test of cube_ur_coord function (retrieves UR coodinate values)
935+
-- Test of cube_ur_coord function (retrieves UR coordinate values)
936936
--
937937
SELECT cube_ur_coord('(-1,1),(2,-2)'::cube, 1);
938938
cube_ur_coord

contrib/cube/expected/cube_3.out

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -912,7 +912,7 @@ SELECT cube_dim('(0,0,0)'::cube);
912912
3
913913
(1 row)
914914

915-
-- Test of cube_ll_coord function (retrieves LL coodinate values)
915+
-- Test of cube_ll_coord function (retrieves LL coordinate values)
916916
--
917917
SELECT cube_ll_coord('(-1,1),(2,-2)'::cube, 1);
918918
cube_ll_coord
@@ -932,7 +932,7 @@ SELECT cube_ll_coord('(-1,1),(2,-2)'::cube, 3);
932932
0
933933
(1 row)
934934

935-
-- Test of cube_ur_coord function (retrieves UR coodinate values)
935+
-- Test of cube_ur_coord function (retrieves UR coordinate values)
936936
--
937937
SELECT cube_ur_coord('(-1,1),(2,-2)'::cube, 1);
938938
cube_ur_coord

contrib/cube/sql/cube.sql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -224,13 +224,13 @@ SELECT cube_dim('(0)'::cube);
224224
SELECT cube_dim('(0,0)'::cube);
225225
SELECT cube_dim('(0,0,0)'::cube);
226226

227-
-- Test of cube_ll_coord function (retrieves LL coodinate values)
227+
-- Test of cube_ll_coord function (retrieves LL coordinate values)
228228
--
229229
SELECT cube_ll_coord('(-1,1),(2,-2)'::cube, 1);
230230
SELECT cube_ll_coord('(-1,1),(2,-2)'::cube, 2);
231231
SELECT cube_ll_coord('(-1,1),(2,-2)'::cube, 3);
232232

233-
-- Test of cube_ur_coord function (retrieves UR coodinate values)
233+
-- Test of cube_ur_coord function (retrieves UR coordinate values)
234234
--
235235
SELECT cube_ur_coord('(-1,1),(2,-2)'::cube, 1);
236236
SELECT cube_ur_coord('(-1,1),(2,-2)'::cube, 2);

contrib/earthdistance/earthdistance--1.0.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ CREATE FUNCTION earth() RETURNS float8
1111
LANGUAGE SQL IMMUTABLE
1212
AS 'SELECT ''6378168''::float8';
1313

14-
-- Astromers may want to change the earth function so that distances will be
14+
-- Astronomers may want to change the earth function so that distances will be
1515
-- returned in degrees. To do this comment out the above definition and
1616
-- uncomment the one below. Note that doing this will break the regression
1717
-- tests.

contrib/isn/ISSN.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
* Product 9 + 21 + 7 + 3 + 1 + 12 + 4 + 24 + 7 + 15 + 0 + 0 = 103
2424
* 103 / 10 = 10 remainder 3
2525
* Check digit 10 - 3 = 7
26-
* => 977-1144875-00-7 ?? <- suplemental number (number of the week, month, etc.)
26+
* => 977-1144875-00-7 ?? <- supplemental number (number of the week, month, etc.)
2727
* ^^ 00 for non-daily publications (01=Monday, 02=Tuesday, ...)
2828
*
2929
* The hyphenation is always in after the four digits of the ISSN code.

contrib/isn/isn.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ dehyphenate(char *bufO, char *bufI)
160160
* into bufO using the given hyphenation range TABLE.
161161
* Assumes the input string to be used is of only digits.
162162
*
163-
* Returns the number of characters acctually hyphenated.
163+
* Returns the number of characters actually hyphenated.
164164
*/
165165
static unsigned
166166
hyphenate(char *bufO, char *bufI, const char *(*TABLE)[2], const unsigned TABLE_index[10][2])
@@ -748,7 +748,7 @@ string2ean(const char *str, bool errorOK, ean13 *result,
748748
}
749749
else if (*aux2 == '!' && *(aux2 + 1) == '\0')
750750
{
751-
/* the invalid check digit sufix was found, set it */
751+
/* the invalid check digit suffix was found, set it */
752752
if (!magic)
753753
valid = false;
754754
magic = true;

0 commit comments

Comments
 (0)