summaryrefslogtreecommitdiff
path: root/contrib/isn/isn.c
diff options
context:
space:
mode:
authorJeff Davis2025-06-11 22:03:52 +0000
committerJeff Davis2025-06-11 22:10:12 +0000
commite1458f2f1b56cfe07b3e8fc99b223ea8c852d7ce (patch)
treef7a40b7f864716aaeb2cfd46b8dbaeb100ee3a09 /contrib/isn/isn.c
parentb774ad49336764aef063b9dbc1e7b7eb11c36e11 (diff)
Revert a few small patches that were intended for version 19.
- 4c787a24e7e220a60022e47c1776f22f72902899 - 78bd364ee39ca70a8f9cb8719282389866a08e14 - 7a6880fadc177873d5663961ec3a02d67e34dcbe - 8898082a5d3e94eef073f0e08124137e096e78ef Suggested-by: Robert Haas <robertmhaas@gmail.com> Discussion: https://postgr.es/m/CA+TgmoZ=J=PVNZUNKaxULu+KUVSt3Y-aJ1DZ9Y3Co6mu0z62jA@mail.gmail.com Discussion: https://postgr.es/m/60e8c6d0a6c08e67f15dbbe9e53df0119c710065.camel@j-davis.com
Diffstat (limited to 'contrib/isn/isn.c')
-rw-r--r--contrib/isn/isn.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/isn/isn.c b/contrib/isn/isn.c
index 1880c91844e..038c8ed4db7 100644
--- a/contrib/isn/isn.c
+++ b/contrib/isn/isn.c
@@ -726,7 +726,7 @@ string2ean(const char *str, struct Node *escontext, ean13 *result,
if (type != INVALID)
goto eaninvalid;
type = ISSN;
- *aux1++ = pg_ascii_toupper((unsigned char) *aux2);
+ *aux1++ = toupper((unsigned char) *aux2);
length++;
}
else if (length == 9 && (digit || *aux2 == 'X' || *aux2 == 'x') && last)
@@ -736,7 +736,7 @@ string2ean(const char *str, struct Node *escontext, ean13 *result,
goto eaninvalid;
if (type == INVALID)
type = ISBN; /* ISMN must start with 'M' */
- *aux1++ = pg_ascii_toupper((unsigned char) *aux2);
+ *aux1++ = toupper((unsigned char) *aux2);
length++;
}
else if (length == 11 && digit && last)