Skip to content

Commit 9538938

Browse files
committed
Fix thinko in comment.
1 parent a64f208 commit 9538938

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/port/pgstrcasecmp.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
*
1717
* Portions Copyright (c) 1996-2006, PostgreSQL Global Development Group
1818
*
19-
* $PostgreSQL: pgsql/src/port/pgstrcasecmp.c,v 1.7 2006/03/05 15:59:10 momjian Exp $
19+
* $PostgreSQL: pgsql/src/port/pgstrcasecmp.c,v 1.8 2006/10/07 21:48:43 tgl Exp $
2020
*
2121
*-------------------------------------------------------------------------
2222
*/
@@ -94,7 +94,7 @@ pg_strncasecmp(const char *s1, const char *s2, size_t n)
9494
* Fold a character to upper case.
9595
*
9696
* Unlike some versions of toupper(), this is safe to apply to characters
97-
* that aren't upper case letters. Note however that the whole thing is
97+
* that aren't lower case letters. Note however that the whole thing is
9898
* a bit bogus for multibyte character sets.
9999
*/
100100
unsigned char
@@ -111,7 +111,7 @@ pg_toupper(unsigned char ch)
111111
* Fold a character to lower case.
112112
*
113113
* Unlike some versions of tolower(), this is safe to apply to characters
114-
* that aren't lower case letters. Note however that the whole thing is
114+
* that aren't upper case letters. Note however that the whole thing is
115115
* a bit bogus for multibyte character sets.
116116
*/
117117
unsigned char

0 commit comments

Comments
 (0)