summaryrefslogtreecommitdiff
path: root/config
Commit message (Collapse)AuthorAgeFilesLines
* idx: break copying from glibcPaul Eggert2021-09-041-1/+1
| | | | * config/srclist.txt: Comment out idx.h, and bring back recent change.
* regex: also break glibc lib/regex.c link for nowPaul Eggert2021-08-271-1/+1
|
* config: Update after glibc changed.Bruno Haible2021-08-081-2/+0
| | | | * config/srclist.txt: Remove two files that glibc dropped on 2013-12-17.
* Port better to macOS MojavePaul Eggert2021-02-161-1/+1
| | | | | | | | | | | | | | Problem reported by Tom Shields in: https://lists.gnu.org/r/bug-gnulib/2021-02/msg00064.html * config/srclist.txt: Comment out dynarray_finalize.c. * lib/dynarray.h (__libc_dynarray_at_failure): Don’t include libc-config.h here, as that’s the includer’s responsibility. * lib/malloc/dynarray_at_failure.c: * lib/malloc/dynarray_emplace_enlarge.c: * lib/malloc/dynarray_finalize.c: * lib/malloc/dynarray_resize.c: * lib/malloc/dynarray_resize_clear.c: If _LIBC is not defined, include libc-config.h.
* Use https:// instead of git://.Simon Josefsson2021-01-101-1/+1
| | | | | | | | * build-aux/bootstrap (default_gnulib_url): Ditto. * config/srclistvars.sh: Ditto. * doc/gnulib-readme.texi (Git Checkout): Ditto. * doc/gnulib-tool.texi (VCS Issues): Ditto. * top/gitsub.sh: Update link.
* regexec: remove alloca usage in build_trtablePaul Eggert2021-01-081-1/+1
| | | | | | | | | | | | | | | | Prompted by this different change proposed by Adhemerval Zanella: https://sourceware.org/pipermail/libc-alpha/2021-January/121373.html * lib/regexec.c (build_trtable): Prevent inlining, so that it doesn’t bloat the caller’s stack. Use auto variables instead of alloca/malloc. After these changes, build_trtable’s total stack allocation is only 20 KiB on a 64-bit machine, and this is less than glibc’s 64 KiB cutoff so there’s little point to using alloca to shrink it. Although Gnulib traditionally has used a 4 KiB cutoff, going to 20 KiB here should not be a significant problem in practice; Gnulib-using packages concerned about overflow of tiny stacks can compile with something like gcc -fstack-clash-protection. * config/srclist.txt: Comment out regexec.c for now.
* dynarray: new modulePaul Eggert2021-01-081-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * config/srclist.txt: Mention the new files. * lib/cdefs.h (__attribute_maybe_unused__): New macro, like Gnulib’s _GL_ATTRIBUTE_MAYBE_UNUSED but with glibc naming conventions. * lib/libc-config.h: Use it instead of __glibc_likely. * lib/dynarray.h, modules/dynarray: New files. * lib/malloc/dynarray-skeleton.c, lib/malloc/dynarray.h: * lib/malloc/dynarray_at_failure.c: * lib/malloc/dynarray_emplace_enlarge.c: * lib/malloc/dynarray_finalize.c, lib/malloc/dynarray_resize.c: * lib/malloc/dynarray_resize_clear.c, modules/dynarray: New files, from glibc with the following changes needed for portability to compilers that are not recent-enough GCC. * lib/malloc/dynarray_at_failure.c: Include stdlib.h, for abort. (__libc_dynarray_at_failure) [!_LIBC]: Simply abort. * lib/malloc/dynarray_emplace_enlarge.c: * lib/malloc/dynarray_resize.c: Include intprops.h, and use INT_MULTIPLY_WRAPV instead of __builtin_mul_overflow. * lib/malloc/dynarray.h (__libc_dynarray_at_failure): Use _Noreturn instead of __attribute__ ((noreturn)). * lib/malloc/dynarray_resize_clear.c: Do not include stdlib.h; it’s not needed. (__libc_dynarray_resize_clear): Do not do arithmetic on void *. * lib/malloc/dynarray-skeleton.c (struct DYNARRAY_STRUCT): Do not use anonymous unions, as they are not in C99. All uses changed. Use __nonnull (X) instead of __attribute__ ((nonnull X)), and __attribute_maybe_unused__ instead of __attribute__ ((unused)).
* maint: note syncs to glibcPaul Eggert2021-01-051-2/+6
| | | | | | * config/srclist.txt: filename.h, idx.h, scratch_buffer.h and scratch_buffer_dupfree.c are now identical to glibc. Add commentary about some other syncs we’d like.
* maint: run 'make update-copyright'Paul Eggert2020-12-313-3/+3
|
* srclistvars.sh doc unusual repo urlsKarl Berry2020-12-301-2/+2
|
* canonicalize: simplify via scratch_buffer_dupfreePaul Eggert2020-12-281-1/+2
| | | | | | | | | | | * config/srclist.txt: Adjust accordingly. * lib/canonicalize-lgpl.c (realpath_stk): * lib/canonicalize.c (canonicalize_filename_mode_stk): Simplify by using scratch_buffer_dupfree. * lib/malloc/scratch_buffer.h (scratch_buffer_dupfree): New function. * lib/malloc/scratch_buffer_dupfree.c: New file. * modules/scratch_buffer (Files, Depends-on): Add malloc/scratch_buffer_dupfree.c.
* eloop-threshold: new modulePaul Eggert2020-12-241-0/+1
| | | | | * config/srclist.txt: Add a comment about it. * lib/eloop-threshold.h, modules/eloop-threshold: New files.
* regex: no longer match glibcPaul Eggert2020-09-251-1/+1
| | | | * config/srclist.txt: Comment out regex_internal.c for now.
* Revert autoupdate's revert.Bruno Haible2020-08-171-1/+1
| | | | * config/srclist.txt: Mark regcomp.c as needing sync with glibc.
* Revert autoupdate's revert.Bruno Haible2020-08-151-1/+1
| | | | * config/srclist.txt: Mark mktime.c as needing sync with glibc.
* Revert autoupdate's revert.Bruno Haible2020-08-121-1/+1
| | | | * config/srclist.txt: Mark regex.h as needing sync with glibc.
* Revert autoupdate's revert.Bruno Haible2020-08-101-1/+1
| | | | * config/srclist.txt: Mark intprops.h as needing sync with glibc.
* Silence warnings from clang 10 with -Wimplicit-fallthrough.Bruno Haible2020-08-091-1/+1
| | | | | | | | | | * lib/dfa.c (FALLTHROUGH): Use __attribute__ __fallthrough__ also on clang >= 10. * lib/fnmatch.c (FALLTHROUGH): Likewise. * lib/fts.c (FALLTHROUGH): Likewise. * tests/macros.h (FALLTHROUGH): Likewise. * lib/regex_internal.h (FALLTHROUGH): Likewise. * config/srclist.txt: Mark it as needing sync with glibc.
* Update srclist.txt as per recent glibc changesPaul Eggert2020-08-041-6/+5
| | | | | * config/srclist.txt: Uncomment lines to reflect recent merges from Gnulib to glibc.
* fsusage, regex, stat-size: remove Cray supportPaul Eggert2020-07-291-1/+1
| | | | | | | | | | As near as I can make out this is actually support for UNICOS/mp, last released 2005, and Cray hasn’t supported that for years. * config/srclist.txt: Comment out regex.h for now. * lib/fsusage.c (get_fs_usage): * lib/regex.h (re_comp, re_exec): * lib/stat-size.h (ST_NBLOCKSIZE): Don’t worry about _CRAY.
* libgmp: new modulePaul Eggert2020-07-062-0/+4
| | | | | | | | | | | | The idea is to let programs simply include <gmp.h>, and so long as they live within the mini-gmp subset they need not worry about whether the GMP libraries are installed. * MODULES.html.sh: Mention it. * config/srclist.txt: Mention files copied from GMP source. * config/srclistvars.sh (GMP): New var. * lib/mini-gmp-gnulib.c, m4/libgmp.m4, modules/libgmp: * modules/libgmp-tests, tests/test-libgmp.c: New files. * lib/mini-gmp.c, lib/mini-gmp.h: New files, copied from GMP.
* regex: simplify definition of BITSET_WORD_BITSPaul Eggert2020-01-211-2/+2
| | | | | | | | * config/srclist.txt: Remove regex.c, regex_internal.h temporarily. * lib/regex.c (__STDC_WANT_IEC_60559_BFP_EXT__): Define. * lib/regex_internal.h (BITSET_WORD_BITS): * modules/regex (Depends-on): Add limits-h. Simplify now that we can use ULONG_WIDTH.
* maint: Run 'make update-copyright'Paul Eggert2019-12-313-3/+3
|
* mktime: tweak division performancePaul Eggert2019-12-231-1/+1
| | | | | | * config/srclist.txt: Do not sync mktime.c for now. * lib/mktime.c (shr, ydhms_diff): Redo with neither ‘%’ nor conditional branches.
* gc: Mirror libgcrypt.m4 from libgcrypt.Bruno Haible2019-11-182-0/+3
| | | | | * config/srclistvars.sh (LIBGCRYPT): New variable. * config/srclist.txt: Use it to fetch m4/libgcrypt.m4.
* regex: now back in sync with glibcPaul Eggert2019-11-061-4/+4
| | | | | * config/srclist.txt: regcomp.c, regex_internal.c, regex_internal.h, regexec.c got merged into glibc and are now copies again.
* * config/srclist.txt: Remove posix/regex_internal.c for now.Paul Eggert2019-10-131-1/+1
|
* regex: simplify by assuming C99Paul Eggert2019-10-091-2/+2
| | | | | | | | | | * config/srclist.txt: Comment out regex_internal.h and regexec.c temporarily. * lib/regex_internal.h (lock_define, re_match_context_t): Simplify by assuming C99 macros and const. * lib/regexec.c (re_search_internal): Simplify by assuming C99 initializers. Remove unnecessary assignment, as mctx is now safely initialized earlier.
* regex: avoid copying of uninitialized storagePaul Eggert2019-10-091-1/+1
| | | | | | | * config/srclist.txt: Comment out regcomp.c temporarily. * lib/regcomp.c (build_charclass_op, create_tree) [! (GCC_LINT||lint)]: Initialize even when not checking for lint, as the behavior is arguably undefined otherwise and Coverity warns about it.
* scratch_buffer: sync from glibcPaul Eggert2019-09-071-0/+4
| | | | | | * config/srclist.txt: Add the scratch_buffer source code from glibc, since these should be in sync. Autoupdate.
* New strip-trailing-space option for srclist-updatePaul Eggert2019-08-212-5/+11
| | | | | | * config/srclist-update (fixfile): Support new option. * config/srclist.txt (texinfo.tex, maintain.texi, standards.texi): Use it.
* intprops: support unsigned *_WRAPV resultsPaul Eggert2019-08-141-1/+2
| | | | | | | | | | | | | | | | | | | | | Add support for unsigned, unsigned long, and unsigned long long results to INT_ADD_WRAPV, INT_SUBTRACT_WRAPV, and INT_MULTIPLY_WRAPV. Also, work around GCC bug 91450, and fix a bug with unsigned inputs reported by Eli Zaretskii in: https://lists.gnu.org/r/bug-gnulib/2019-08/msg00012.html * config/srclist.txt: Break the glibc connection for intprops.h temporarily, while more testing is done in Gnulib-using apps. * lib/intprops.h (INT_ADD_WRAPV, INT_SUBTRACT_WRAPV) (INT_MULTIPLY_WRAPV, _GL_INT_OP_WRAPV, _GL_INT_OP_WRAPV_LONGISH): Support unsigned results no narrower than unsigned int. Report overflow correctly if some arguments are unsigned. (_GL_BUILTIN_MUL_OVERFLOW): New macro, to work around GCC bug 91450. (_GL_INT_OP_CALC): Simplify now that the OVERFLOW argument does the right thing with narrow args. (_GL_INT_OP_CALC1): Remove. All callers removed. (_GL_INT_ADD_RANGE_OVERFLOW, _GL_INT_SUBTRACT_RANGE_OVERFLOW) (_GL_INT_MULTIPLY_RANGE_OVERFLOW): New macros. * tests/test-intprops.c: Check for bugs and test new behavior.
* sync texinfo.tex with file on ftp.gnu.orgKarl Berry2019-05-192-16/+14
|
* Sync lib/mktime-internal.h from glibcPaul Eggert2019-04-301-0/+1
| | | | | * config/srclist.txt: Add entry for lib/mktime-internal.h. * lib/mktime-internal.h: Autoupdate.
* maint: Run 'make update-copyright'Paul Eggert2019-01-013-3/+3
|
* no more sync of gettext source filesKarl Berry2018-11-232-19/+0
|
* maint: mktime.c now shared with glibcPaul Eggert2018-09-191-3/+3
| | | | | * config/srclist.txt: intprops.h, timegm.c and mktime.c are now the same in Gnulib and glibc.
* ieee754-h: new modulePaul Eggert2018-08-011-0/+1
| | | | | | | | | | | | It looks like Emacs can use this for some NaN processing. Emacs uses it only on double NaNs so it should be safe. * MODULES.html.sh (func_all_modules): Add ieee754-h. * config/srclist.txt: Mention ieee754.h in a comment. * doc/glibc-headers/ieee754.texi (ieee754.h): Gnulib now has a substitute that should work except for long double and for non-IEEE platforms. * lib/ieee754.in.h, m4/ieee754-h.m4, modules/ieee754-h: * modules/ieee754-h-tests, tests/test-ieee754-h.c: New files.
* regex: now in sync with glibcPaul Eggert2018-07-061-80/+6
| | | | | * config/srclist.txt: Gnulib and glibc regex code are synchronized again.
* gettext po infrastructure: Update from current gettext git.Bruno Haible2018-06-171-2/+3
| | | | | | | | Reported by Akim Demaille <akim@lrde.epita.fr>. * build-aux/po/Makefile.in.in: Update from current gettext git. * build-aux/po/remove-potcdate.sin: Likewise. * config/srclist.txt: Temporarily disable sync for these files.
* maint: Run 'make update-copyright'Paul Eggert2018-01-013-3/+3
|
* Simplify autoupdate of licensesPaul Eggert2017-10-011-1/+1
| | | | | * config/srclistvars.sh (GNUWWWLICENSES): Move to a more-typical place.
* all: Replace many more http URLs by https URLs. Update stale URLs.Bruno Haible2017-09-141-76/+76
| | | | | * users.txt: Remove mention of 'newts'. * lib/localename.c: Update comment about LANG_SOTHO.
* all: prefer https: URLsPaul Eggert2017-09-133-5/+5
|
* Rename module 'strftime' to 'nstrftime'.Bruno Haible2017-07-241-1/+1
| | | | | | | | | | | | | | * m4/nstrftime.m4: Renamed from m4/strftime.m4. * lib/nstrftime.c: Renamed from lib/strftime.c. * modules/nstrftime: Renamed from modules/strftime. (Files, Makefile.am): Update. * tests/test-nstrftime.c: Renamed from tests/test-strftime.c. Fix comment. * modules/nstrftime-tests: Renamed from modules/strftime-tests. (Files, Makefile.am): Update. * modules/strftime: New file, an obsolete indirection. * doc/posix-functions/strftime.texi: Update reference. * config/srclist.txt: Update info.
* iconv.m4 sync brokenKarl Berry2017-05-231-1/+2
|
* gettext from devKarl Berry2017-01-011-1/+1
|
* version-etc: new yearPaul Eggert2017-01-013-3/+3
| | | | | | | | | | * build-aux/gendocs.sh (version): * doc/gendocs_template: * doc/gendocs_template_min: * doc/gnulib.texi: * lib/version-etc.c (COPYRIGHT_YEAR): Update copyright dates by hand in templates and the like. * all files: Run 'make update-copyright'.
* srclist: sync with released gettextDaiki Ueno2016-11-241-11/+11
| | | | | * config/srclist.txt: Set "release" option to the files under $GETTEXT.
* srclist: add "release" optionDaiki Ueno2016-11-242-155/+184
| | | | | | | | * config/srclist.txt: Change the format so that the first column of each line points to the top-level directory of the source archive. * config/srclist-update: Accept "release" option that checks files from the most recently tagged revision in the source archive.