diff options
| author | Paul Eggert | 2025-11-04 09:14:54 -0800 |
|---|---|---|
| committer | Paul Eggert | 2025-11-04 13:32:58 -0800 |
| commit | 59fbaca6b9b48c217c60fc5ab21240ba104059e8 (patch) | |
| tree | 32b81d61d969b243df62ab60a3c472a34d200976 /lib/string.c | |
| parent | 327c16ce14897ad4f1e5f9759b9773f97549eae1 (diff) | |
| download | emacs-59fbaca6b9b48c217c60fc5ab21240ba104059e8.tar.gz emacs-59fbaca6b9b48c217c60fc5ab21240ba104059e8.zip | |
Update from Gnulib by running admin/merge-gnulib
* admin/merge-gnulib (GNULIB_MODULES): Add stringeq.
With current Gnulib it is already present as in indirect dependency;
listing it here because Emacs now depends on it directly.
* lib-src/ebrowse.c, lib-src/etags.c:
(streq): Remove, as Gnulib defines this now.
* lib/fseterr.c, lib/fseterr.h, lib/issymlink.c, lib/issymlink.h:
* lib/issymlinkat.c, lib/stdio-consolesafe.c, lib/string.c:
* m4/fseterr.m4, m4/gettext_h.m4, m4/stringeq.m4:
New files from Gnulib.
* src/conf_post.h (tzfree) [__ANDROID_API__ >= 35]: Remove.
Diffstat (limited to 'lib/string.c')
| -rw-r--r-- | lib/string.c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/lib/string.c b/lib/string.c new file mode 100644 index 00000000000..cce2eac9c06 --- /dev/null +++ b/lib/string.c | |||
| @@ -0,0 +1,20 @@ | |||
| 1 | /* streq and memeq functions. | ||
| 2 | Copyright (C) 2025 Free Software Foundation, Inc. | ||
| 3 | |||
| 4 | This file is free software: you can redistribute it and/or modify | ||
| 5 | it under the terms of the GNU Lesser General Public License as | ||
| 6 | published by the Free Software Foundation; either version 2.1 of the | ||
| 7 | License, or (at your option) any later version. | ||
| 8 | |||
| 9 | This file is distributed in the hope that it will be useful, | ||
| 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 12 | GNU Lesser General Public License for more details. | ||
| 13 | |||
| 14 | You should have received a copy of the GNU Lesser General Public License | ||
| 15 | along with this program. If not, see <https://www.gnu.org/licenses/>. */ | ||
| 16 | |||
| 17 | #include <config.h> | ||
| 18 | |||
| 19 | #define _GL_STRING_INLINE _GL_EXTERN_INLINE | ||
| 20 | #include <string.h> | ||