summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorPo Lu <luangruo@yahoo.com>2023-07-10 08:21:59 +0800
committerPo Lu <luangruo@yahoo.com>2023-07-10 08:21:59 +0800
commit8dd34ad8d80b0bd07cf59add94bfb6a6e52098b2 (patch)
treef08a3a5d9ba5ec5c3c3e47911809eaee21d63327 /lib
parented5ade097e5b675167f9c7e4916a4beec62d118a (diff)
parentb76878cfab1eb681d759ac3b57832baca4df7ef2 (diff)
downloademacs-8dd34ad8d80b0bd07cf59add94bfb6a6e52098b2.tar.gz
Merge remote-tracking branch 'origin/master' into feature/android
Diffstat (limited to 'lib')
-rw-r--r--lib/limits.in.h2
-rw-r--r--lib/regcomp.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/limits.in.h b/lib/limits.in.h
index 1d479c3d192..e2e173eb2de 100644
--- a/lib/limits.in.h
+++ b/lib/limits.in.h
@@ -136,7 +136,7 @@
/* Macro specified by POSIX. */
-/* The maximal size_t value. Although it might not be of ssize_t type
+/* The maximum ssize_t value. Although it might not be of ssize_t type
as it should be, it's too much trouble to fix this minor detail. */
#ifndef SSIZE_MAX
# ifdef _WIN64
diff --git a/lib/regcomp.c b/lib/regcomp.c
index 89478396855..1f6a131107b 100644
--- a/lib/regcomp.c
+++ b/lib/regcomp.c
@@ -905,7 +905,7 @@ init_word_char (re_dfa_t *dfa)
bitset_word_t bits3 = 0x07fffffe;
if (BITSET_WORD_BITS == 64)
{
- /* Pacify gcc -Woverflow on 32-bit platformns. */
+ /* Pacify gcc -Woverflow on 32-bit platforms. */
dfa->word_char[0] = bits1 << 31 << 1 | bits0;
dfa->word_char[1] = bits3 << 31 << 1 | bits2;
i = 2;