aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorPaul Eggert2023-07-09 13:05:01 -0700
committerPaul Eggert2023-07-09 13:45:13 -0700
commitc3cfada3c075991d7a38fafbdcf5daba06794d7a (patch)
tree651fdeb7a99e6d26936bf119abc37c1f45f260b3 /lib
parent9c282faf26eb517532508d466270b7b97d436c70 (diff)
downloademacs-c3cfada3c075991d7a38fafbdcf5daba06794d7a.tar.gz
emacs-c3cfada3c075991d7a38fafbdcf5daba06794d7a.zip
Update from Gnulib by running admin/merge-gnulib
Diffstat (limited to 'lib')
-rw-r--r--lib/gnulib.mk.in4
-rw-r--r--lib/limits.in.h2
-rw-r--r--lib/regcomp.c2
3 files changed, 6 insertions, 2 deletions
diff --git a/lib/gnulib.mk.in b/lib/gnulib.mk.in
index a25bee25aae..0812dc80135 100644
--- a/lib/gnulib.mk.in
+++ b/lib/gnulib.mk.in
@@ -901,6 +901,10 @@ KRB4LIB = @KRB4LIB@
901KRB5LIB = @KRB5LIB@ 901KRB5LIB = @KRB5LIB@
902LCMS2_CFLAGS = @LCMS2_CFLAGS@ 902LCMS2_CFLAGS = @LCMS2_CFLAGS@
903LCMS2_LIBS = @LCMS2_LIBS@ 903LCMS2_LIBS = @LCMS2_LIBS@
904LC_COLLATE_IMPLEMENTED = @LC_COLLATE_IMPLEMENTED@
905LC_MONETARY_IMPLEMENTED = @LC_MONETARY_IMPLEMENTED@
906LC_NUMERIC_IMPLEMENTED = @LC_NUMERIC_IMPLEMENTED@
907LC_TIME_IMPLEMENTED = @LC_TIME_IMPLEMENTED@
904LDFLAGS = @LDFLAGS@ 908LDFLAGS = @LDFLAGS@
905LD_SWITCH_SYSTEM = @LD_SWITCH_SYSTEM@ 909LD_SWITCH_SYSTEM = @LD_SWITCH_SYSTEM@
906LD_SWITCH_SYSTEM_TEMACS = @LD_SWITCH_SYSTEM_TEMACS@ 910LD_SWITCH_SYSTEM_TEMACS = @LD_SWITCH_SYSTEM_TEMACS@
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 @@
136 136
137/* Macro specified by POSIX. */ 137/* Macro specified by POSIX. */
138 138
139/* The maximal size_t value. Although it might not be of ssize_t type 139/* The maximum ssize_t value. Although it might not be of ssize_t type
140 as it should be, it's too much trouble to fix this minor detail. */ 140 as it should be, it's too much trouble to fix this minor detail. */
141#ifndef SSIZE_MAX 141#ifndef SSIZE_MAX
142# ifdef _WIN64 142# 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)
905 bitset_word_t bits3 = 0x07fffffe; 905 bitset_word_t bits3 = 0x07fffffe;
906 if (BITSET_WORD_BITS == 64) 906 if (BITSET_WORD_BITS == 64)
907 { 907 {
908 /* Pacify gcc -Woverflow on 32-bit platformns. */ 908 /* Pacify gcc -Woverflow on 32-bit platforms. */
909 dfa->word_char[0] = bits1 << 31 << 1 | bits0; 909 dfa->word_char[0] = bits1 << 31 << 1 | bits0;
910 dfa->word_char[1] = bits3 << 31 << 1 | bits2; 910 dfa->word_char[1] = bits3 << 31 << 1 | bits2;
911 i = 2; 911 i = 2;