summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* maint.mk: Split long argument listsRoman Bolshakov2019-01-022-49/+92
| | | | | | | | | | | | | | | | | | | $(VC_LIST_EXCEPT) is usually expanded into arguments for a command. When a project contains too many, some operating systems can't pass all the arguments because they hit the limit of arguments. FreeBSD and macOS are known to have the exec limit of 256k memory used by arguments. More on the issue: http://lists.gnu.org/archive/html/bug-gnulib/2015-08/msg00019.html https://www.redhat.com/archives/libvir-list/2015-August/msg00758.html xargs without flags can be used to limit number of arguments, coupled with use of the shell's built-in echo which is not subject to the exec limits. Signed-off-by: Roman Bolshakov <r.bolshakov@yadro.com> Message-Id: <20181213153453.38123-2-r.bolshakov@yadro.com> Signed-off-by: Eric Blake <eblake@redhat.com>
* autoupdatePaul Eggert2018-12-319-9/+9
|
* maint: Run 'make update-copyright'Paul Eggert2019-01-013852-3862/+3857
|
* autoupdatePaul Eggert2018-12-313-18/+6
|
* autoupdateKarl Berry2018-12-311-2/+2
|
* autoupdateKarl Berry2018-12-291-65/+6
|
* * lib/mknodat.c: Remove incorrect comments.Paul Eggert2018-12-271-2/+2
|
* mkfifo: bring back HAVE_MKFIFO macroPaul Eggert2018-12-272-1/+10
| | | | | | * m4/mkfifo.m4 (gl_FUNC_MKFIFO): #define HAVE_MKFIFO as needed. Problem reported by Andrew Janke in: https://lists.gnu.org/r/bug-gnulib/2018-12/msg00147.html
* autoupdatePaul Eggert2018-12-274-30/+8
|
* autoupdateKarl Berry2018-12-211-9/+14
|
* Assume Autoconf >= 2.63.Bruno Haible2018-12-212-3/+7
| | | | | * modules/stdarg (configure.ac-early): Remove comment about Autoconf versions < 2.60.
* memcmp: Mention the clang bug.Bruno Haible2018-12-213-0/+12
| | | | | * tests/test-memcmp.c: Add comment about a known test failure. * doc/posix-functions/memcmp.texi: Mention the clang bug.
* revert v0.1-2213-gae4b73e28 and part of v0.1-2281-g95cd86dd7Jim Meyering2018-12-202-8/+49
| | | | | | | | | | | | | | | v0.1-2213-gae4b73e28 caused a regression in grep-3.2 (no match): echo '123-x'|LC_ALL=C grep -E '.\bx' The goal is to revert the first, but reverting it requires to restore the function deleted in the second. I ran this to restore the deleted function: git show v0.1-2281-g95cd86dd7 lib/dfa.c \ | perl -0777 -pe 's/^@@[^\n]*dfaan.*//ms' \ | patch -R -p1 * lib/dfa.c (charclass_context): Restore deleted function. Reverting the primary commit removes this change: dfa: Simplify a building state * lib/dfa.c (build_state): Simplify a building state.
* version-etc: allow zero authorsPaul Eggert2018-12-202-3/+9
| | | | | | * lib/version-etc.c (version_etc_arn): If no authors are given, omit authorship info instead of dumping core. No need to include stdlib.h now.
* lchown tests: Be more permissive regarding errno values.Bruno Haible2018-12-204-1/+12
| | | | | | | | | Reported by Ivan Zakharyaschev <imz@altlinux.org>. * tests/test-lchown.h (test_lchown): Recognize EOPNOTSUPP as an alternative to ENOSYS. * modules/lchown-tests (Depends-on): Add 'errno'. * modules/fchownat-tests (Depends-on): Likewise.
* duplocale: Avoid test failure on AIX 7.Bruno Haible2018-12-183-7/+18
| | | | | | | | * modules/duplocale-tests (Files): Add m4/intl-thread-locale.m4. (configure.ac): Invoke gt_FUNC_USELOCALE. * tests/test-duplocale.c: Test HAVE_WORKING_USELOCALE instead of HAVE_USELOCALE. Assume that nl_langinfo_l only works when uselocale works.
* localename: Fix test failure on AIX 7.Bruno Haible2018-12-187-55/+128
| | | | | | | | | | | | | | | Reported by Assaf Gordon in <https://lists.gnu.org/archive/html/sed-devel/2018-12/msg00019.html>. * m4/intl-thread-locale.m4 (gt_FUNC_USELOCALE): New macro. (gt_INTL_THREAD_LOCALE_NAME): Invoke it. Test gt_cv_func_uselocale_works instead of ac_cv_func_uselocale. * lib/localename.c: Test HAVE_WORKING_USELOCALE instead of HAVE_USELOCALE. * lib/localename-table.h: Likewise. * lib/localename-table.c: Likewise. * tests/test-localename.c: Likewise. * doc/posix-functions/uselocale.texi: Mention the AIX problem.
* localename: Update comments regarding Cygwin.Bruno Haible2018-12-186-5/+14
| | | | | | | | * lib/localename.c: Update comment. * doc/posix-functions/uselocale.texi: Update platforms list. * doc/posix-functions/newlocale.texi: Likewise. * doc/posix-functions/duplocale.texi: Likewise. * doc/posix-functions/freelocale.texi: Likewise.
* c-stack: Fix for Linux/sparc.Bruno Haible2018-12-162-113/+132
| | | | | * m4/c-stack.m4 (AC_SYS_XSI_STACK_OVERFLOW_HEURISTIC): Set ac_cv_sys_xsi_stack_overflow_heuristic to 'no' on Linux/sparc.
* localename: Avoid test failure on some glibc systems.Bruno Haible2018-12-162-2/+39
| | | | | | * tests/test-localename.c (test_locale_name, test_locale_name_posix): Unset environment variables that might disturb the first setlocale call, and verify that this setlocale call succeeds.
* autoupdatePaul Eggert2018-12-161-0/+3
|
* random: Fix build error on native Windows (regression from 2018-06-21).Assaf Gordon2018-12-162-1/+16
| | | | | | * lib/random.c (__srandom, __initstate, __setstate, __random, __srandom_r, __initstate_r, __setstate_r, __random_r) [!_LIBC]: Redirect to the symbols without '__' prefix.
* autoupdateBruno Haible2018-12-161-3/+3
|
* obstack, libc-config: Support HP-UX cc in C99 mode.Bruno Haible2018-12-164-3/+11
| | | | | | | * lib/obstack.h (__FLEXIBLE_ARRAY_MEMBER): Treat HP-UX cc as a pre-C99 compiler, even when in C99 mode. * lib/cdefs.h (__flexarr): Likewise. * lib/gettext.h (_LIBGETTEXT_HAVE_VARIABLE_SIZE_ARRAYS): Update comment.
* localename: Fix test failure on OpenBSD >= 6.2.Bruno Haible2018-12-168-21/+105
| | | | | | | | | | | | | | * m4/intl-thread-locale.m4 (gt_INTL_THREAD_LOCALE_NAME): Test for fake locale system. Define HAVE_FAKE_LOCALES in this case. * lib/localename.c (HAVE_GOOD_USELOCALE): New macro. Use it instead of HAVE_USELOCALE. * tests/test-localename.c (HAVE_GOOD_USELOCALE): New macro. Use it instead of HAVE_NEWLOCALE && HAVE_USELOCALE. * doc/posix-functions/uselocale.texi: Mention OpenBSD problem. Update platforms list. * doc/posix-functions/newlocale.texi: Likewise. * doc/posix-functions/duplocale.texi: Update platforms list. * doc/posix-functions/freelocale.texi: Likewise.
* duplocale tests: Re-enable the test on platforms without <monetary.h>.Bruno Haible2018-12-162-2/+18
| | | | | * tests/test-duplocale.c: Use more fine-grained #ifs to re-enable most of the test, on platforms without <monetary.h>.
* localename: Update comments.Bruno Haible2018-12-162-1/+7
| | | | * lib/localename.c (HAVE_USELOCALE): Update list of platforms.
* regex: fix indentationJim Meyering2018-12-152-4/+9
| | | | * m4/regex.m4 (gl_REGEX): Indent with spaces, not TABs.
* openat-safer tests: Avoid test failure on NetBSD 8. Part 2.Bruno Haible2018-12-161-0/+2
|
* openat-safer tests: Avoid test failure on NetBSD 8.Bruno Haible2018-12-162-0/+8
| | | | | * tests/test-openat-safer.c (main): Execute a Linux specific test only on Linux.
* regex: work around a bug in glibc-2.27 and priorJim Meyering2018-12-153-1/+30
| | | | | | * m4/regex.m4 (gl_REGEX): Reject any system regexp that gets a failed assertion for /0|()0|\1|0/. * tests/test-regex.c (main): Add the same test here.
* localename: Fix use of uninitialized shell variable.Bruno Haible2018-12-152-2/+10
| | | | | | * m4/intl-thread-locale.m4 (gt_INTL_THREAD_LOCALE_NAME): Initialize gt_cv_locale_solaris114 always before use. Remove assignment without effect.
* dfa tests: Avoid test failure on Alpine Linux.Bruno Haible2018-12-152-1/+11
| | | | | * tests/dfa-match.sh (timeout_10): Accommodate the BusyBox 'timeout' command found on Alpine Linux.
* dfa: avoid new warnings from gccJim Meyering2018-12-152-29/+16
| | | | | | | These would prevent building with -Werror and a Dec snapshot of gcc. * lib/dfa.c (dfaanalyze): Avoid shadowing warnings for "pos". Rename each inner instance to "p". (charclass_context): Remove unused static function.
* mkdir-p: improve diagnostic for FUSE mountsPaul Eggert2018-12-142-5/+24
| | | | | | | Problem reported by Niklas Hambüchen in: https://lists.gnu.org/r/bug-gnulib/2018-12/msg00074.html * lib/mkdir-p.c (make_dir_parents): In diagnostic, prefer stat errno to mkdir errno if the stat errno is likely more interesting.
* hash-map: Add tests.Bruno Haible2018-12-143-0/+212
| | | | | * tests/test-hash_map.c: New file. * modules/hash-map-tests: New file.
* linkedhash-map: Add tests.Bruno Haible2018-12-143-0/+212
| | | | | * tests/test-linkedhash_map.c: New file. * modules/linkedhash-map-tests: New file.
* array-map: Add tests.Bruno Haible2018-12-143-0/+237
| | | | | * tests/test-array_map.c: New file. * modules/array-map-tests: New file.
* xmap: New module.Bruno Haible2018-12-144-0/+125
| | | | | | * lib/gl_xmap.h: New file. * lib/gl_xmap.c: New file. * modules/xmap: New file.
* hash-map: New module.Bruno Haible2018-12-144-0/+404
| | | | | | * lib/gl_hash_map.h: New file. * lib/gl_hash_map.c: New file. * modules/hash-map: New file.
* linkedhash-map: New module.Bruno Haible2018-12-146-2/+407
| | | | | | | | * lib/gl_linkedhash_map.h: New file. * lib/gl_linkedhash_map.c: New file. * lib/gl_anyhash1.h: Update comments. * lib/gl_anyhash2.h: Likewise. * modules/linkedhash-map: New file.
* array-map: New module.Bruno Haible2018-12-144-0/+362
| | | | | | * lib/gl_array_map.h: New file. * lib/gl_array_map.c: New file. * modules/array-map: New file.
* map: New module.Bruno Haible2018-12-145-0/+423
| | | | | | | | * lib/gl_map.h: New file. * lib/gl_map.c: New file. * lib/gl_omap.h (gl_mapkey_dispose_fn, gl_mapvalue_dispose_fn): Avoid conflict with gl_map.h. * modules/map: New file.
* select tests: Avoid test failure on Cygwin.Bruno Haible2018-12-132-3/+15
| | | | * tests/test-select.h (test_bad_fd): Use an fd < FD_SETSIZE.
* localtime-buffer: Avoid endless recursion in localtime and gmtime.Bruno Haible2018-12-132-0/+7
| | | | * lib/localtime-buffer.c: Undefine localtime and gmtime before use.
* localeconv tests: Avoid test failure on Cygwin.Bruno Haible2018-12-132-2/+8
| | | | | * tests/test-localeconv.c (main): On Cygwin, skip the 'grouping' and 'mon_grouping' tests.
* omap: Don't dispose the old value when the function returns it.Bruno Haible2018-12-125-25/+43
| | | | | | | | | * lib/gl_array_omap.c (gl_array_remove_at): Don't invoke the vdispose_fn here. * lib/gl_avltree_omap.c (NODE_PAYLOAD_DISPOSE): Likewise. * lib/gl_rbtree_omap.c (NODE_PAYLOAD_DISPOSE): Likewise. * lib/gl_omap.h (gl_omap_nx_put, gl_omap_remove): Invoke the vdispose_fn here.
* array-omap, avltree-omap, rbtree-omap: Tweak style.Bruno Haible2018-12-123-5/+10
| | | | | | * lib/gl_anytree_omap.h (gl_tree_nx_getput): Return 1 or 0, not true or false. * lib/gl_array_omap.c (gl_array_nx_getput): Likewise.
* rbtree-omap: Add tests.Bruno Haible2018-12-113-0/+154
| | | | | * tests/test-rbtree_omap.c: New file. * modules/rbtree-omap-tests: New file.
* avltree-omap: Add tests.Bruno Haible2018-12-113-0/+154
| | | | | * tests/test-avltree_omap.c: New file. * modules/avltree-omap-tests: New file.