summaryrefslogtreecommitdiff
path: root/gnulib
Commit message (Collapse)AuthorAgeFilesLines
* build: update gnulib submodule to latestPaul Eggert2022-05-171-0/+0
|
* build: update gnulib submodule to latestPaul Eggert2022-05-021-0/+0
|
* build: update gnulib submodule to latestPaul Eggert2022-04-201-0/+0
|
* build: update gnulib submodule to latestPádraig Brady2022-04-071-0/+0
| | | | | | | | * gnulib: Update to latest * src/copy.c: Replace deprecated {l,}statat(), with fstatat(). * src/cp.c: Likewise. * src/install.c: Likewise. * src/remove.c: Likewise.
* build: ensure AT_NO_AUTOMOUNT is definedPádraig Brady2022-03-071-0/+0
| | | | | update gnulib submodule to latest, where this is the only change
* build: update gnulib submodule to latestPaul Eggert2022-02-241-0/+0
|
* build: update gnulib submodule to latestPaul Eggert2022-02-191-0/+0
|
* build: update gnulib submodule to latestPaul Eggert2022-02-121-0/+0
|
* build: update gnulib submodule to latestPaul Eggert2022-02-051-0/+0
|
* build: update gnulib submodule to latestPaul Eggert2022-02-041-0/+0
|
* build: update gnulib submodule to latestPádraig Brady2022-01-301-0/+0
| | | | | To provide argmatch_exact() that does not use abbreviated matching, to be used by cksum.
* build: update gnulib submodule to latestPádraig Brady2022-01-281-0/+0
| | | | To fix a syntax-check false failure
* build: update gnulib submodule to latestPaul Eggert2022-01-271-0/+0
|
* build: update gnulib submodule to latestPaul Eggert2022-01-141-0/+0
|
* build: update gnulib submodule to latestPaul Eggert2022-01-131-0/+0
|
* build: update gnulib submodule to latestPádraig Brady2022-01-021-0/+0
| | | | | | | | mainly to get updated copyright year * doc/fdl.texi: Sync from gnulib. * .gitignore: Add lib/unictype, as bitmap.h therein is depended on since gnulib commit f698ea71
* build: update gnulib submodule to latestPaul Eggert2021-12-311-0/+0
|
* build: update gnulib submodule to latestPaul Eggert2021-12-281-0/+0
|
* build: update gnulib submodule to latestPaul Eggert2021-12-161-0/+0
|
* build: update gnulib submodule to latestPaul Eggert2021-12-141-0/+0
| | | | * NEWS: Mention the bugfix.
* build: update gnulib submodule to latestPaul Eggert2021-12-101-0/+0
|
* build: update gnulib submodule to latestPaul Eggert2021-11-151-0/+0
|
* build: update gnulib submodule to latestPaul Eggert2021-11-151-0/+0
|
* build: update gnulib submodule to latestPaul Eggert2021-10-021-0/+0
|
* build: update gnulib submodule to latestPádraig Brady2021-09-201-0/+0
| | | | | * gnulib: Update to latest. Fixes "extern inline" and "rpl_free" issues.
* build: update gnulib submodule to latestPádraig Brady2021-09-091-0/+0
| | | | | | * gnulib: Update to latest. This fixes a gnulib test failure in base64, among other fixes. * cfg.mk: Disable sc_indent as auto indent is too invasive for now.
* basenc: prefer signed to unsigned integersPaul Eggert2021-08-271-0/+0
| | | | | | | | | | | | | | | | | | | | | | | This patch modifies basenc to prefer signed integers to unsigned, as signed are less error-prone. This patch also updates Gnulib to to latest, which updates Gnulib’s base32 and base64 modules to prefer signed to unsigned integers. * src/basenc.c: Include idx.h. (struct base2_decode_context): Use unsigned char, not unsigned for an octet that must fit in an unsigned char. (base_encode, struct base_decode_context) (base64_decode_ctx_wrapper, prepare_inbuf, base64url_encode) (base64url_decode_ctx_wrapper, base32_decode_ctx_wrapper) (base32hex_encode, base32hex_decode_ctx_wrapper, base16_encode) (base16_decode_ctx, z85_encode, Z85_HI_CTX_TO_32BIT_VAL) (z85_decoding, z85_decode_ctx, base2msbf_encode) (base2lsbf_encode, base2lsbf_decode_ctx, base2msbf_decode_ctx) (wrap_write, do_encode, do_decode, main): Prefer signed integers to unsigned. (main): Treat extremely large wrap columns as if they were infinite; that’s good enough. Since we’re now using xstrtoimax, this allows ‘-w -0’ (same as ‘-w 0’). * tests/misc/base64.pl (gen_tests): -w-0 is no longer an error.
* build: update gnulib submodule to latestPaul Eggert2021-08-221-0/+0
|
* build: update gnulib submodule to latestPaul Eggert2021-07-311-0/+0
|
* build: update gnulib submodule to latestPaul Eggert2021-07-261-0/+0
|
* build: update gnulib submodule to latestPaul Eggert2021-06-111-0/+0
| | | | | | | | | | | | | | | | | | | | Coreutils mistakenly did not list xstrndup as a module that it depends on directly. When the latest Gnulib removed the dirname module's dependency on xstrndup, this mistake caused coreutils to not build. Since all of Coreutils's uses of xstrndup know the string length, xmemdup0 is a better match for what's needed. Since the size args are typically signed or derived from subtracting pointers, the new Gnulib ximemdup0 function is a better match yet. So, use ximemdup0 instead of xstrndup. * src/cut.c, src/dircolors.c, src/expand-common.c, src/expand.c: * src/numfmt.c, src/set-fields.c, src/unexpand.c: Do not include xstrndup.h; no longer needed. * src/dircolors.c (parse_line): * src/expand-common.c (parse_tab_stops): * src/numfmt.c (parse_format_string): * src/set-fields.c (set_fields): Use ximemdup0 instead of xstrndup.
* build: update gnulib submodule to latestPádraig Brady2021-05-151-0/+0
| | | | | | Fixes a false test failure with MALLOC_CHECK_ set. * gnulib: Update to latest.
* build: update gnulib submodule to latestPádraig Brady2021-05-101-0/+0
| | | | | | | | Fixes a bits/long-double.h include build issue on some systems. * bootstrap: Sync new --version option from gnulib. * gnulib: Update to lastest. Reported by Carl Edquist
* build: update gnulib submodule to latestPaul Eggert2021-04-261-0/+0
| | | | | | | * src/csplit.c (load_buffer): * src/pinky.c (create_fullname): Use intprops-based checks rather than xalloc_oversized, since Gnulib xalloc.h no longer includes xalloc-oversized.h.
* build: update gnulib submodule to latestPaul Eggert2021-03-291-0/+0
|
* build: update gnulib submodule to latestPaul Eggert2021-03-211-0/+0
|
* maint: update all copyright year number rangesPádraig Brady2021-01-011-0/+0
| | | | | | | | | Run "make update-copyright" and then... * gnulib: Update to latest with copyright year adjusted. * tests/init.sh: Sync with gnulib to pick up copyright year. * bootstrap: Likewise. * tests/sample-test: Adjust to use the single most recent year.
* build: update gnulib submodule to latestPaul Eggert2020-12-241-0/+0
| | | | | * src/make-prime-list.c (free): Undef, since Gnulib's free-posix module now defines this to rpl_free on some platforms.
* build: update gnulib submodule to latestPaul Eggert2020-12-111-0/+0
|
* maint: remove no longer needed se_const helperPádraig Brady2020-11-231-0/+0
| | | | | | | | | | | | | | This was needed before libselinux-2.3 (May 2014), but modern releases have the correct const declarations. * src/chcon.c: Remove se_const() wrapper. * src/cp.c: Likewise. * src/install.c: Likewise. * src/mkdir.c: Likewise. * src/mkfifo.c: Likewise. * src/mknod.c: Likewise. * src/system.h: Likewise. * gnulib: update to pick up const correctness fixes in selinux stubs.
* build: update gnulib submodule to latestPaul Eggert2020-11-211-0/+0
|
* build: update gnulib submodule to latestPaul Eggert2020-11-211-0/+0
|
* build: update gnulib submodule to latestPaul Eggert2020-10-191-0/+0
| | | | | | * gl/lib/randperm.c, src/cp-hash.c, src/ls.c, src/sort.c, src/tail.c: Change all instaces of hash_delete to hash_remove to accommodate change to Gnulib API.
* build: update gnulib submodule to latestPaul Eggert2020-07-281-0/+0
| | | | | * src/local.mk (src_expr_LDADD, src_factor_LDADD): Adjust to Gnulib renaming of LIB_GMP to LIBGMP.
* build: update gnulib submodule to latestPaul Eggert2020-07-241-0/+0
| | | | * bootstrap.conf (gnulib_modules): Add hash-triple.
* build: update gnulib submodule to latestPaul Eggert2020-07-071-0/+0
|
* maint: use getentropy and new tempname modulesPaul Eggert2020-05-311-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Update gnulib submodule to latest and use its new features. Gnulib’s new getentropy module means coreutils can now assume getentropy instead of approximating it, badly in some cases. Gnulib’s improvements to the tempname module mean coreutils no longer needs to maintain private patches. * bootstrap.conf (gnulib_modules): Remove gettimeofday. * gl/lib/randread.c (NAME_OF_NONCE_DEVICE): Remove. (get_nonce): Return success indicator. Remove bytes_bound arg. All callers changed. Rewrite by using getentropy instead of reading the nonce device and falling back on gettimeofday. Fail if getentropy fails. (randread_new): Return NULL (setting errno) if get_nonce fails. All callers changed. * gl/lib/tempname.c.diff, gl/lib/tempname.h.diff: * gl/modules/tempname.diff: Remove. * gl/modules/randread (Depends-on): Depend on getentropy, not gettimeofday. * src/ptx.c (swallow_file_in_memory): * src/shuf.c (read_input): Adjust to read_file changes in Gnulib. * src/shred.c (main): * src/shuf.c (main): * src/sort.c (random_md5_state_init): Diagnose the new form of randread_new failures: randread_new can fail now when !random_source, meaning getentropy failed.
* build: update gnulib submodule to latestPaul Eggert2020-05-201-0/+0
|
* build: update gnulib to latest - to avoid du(1) crash on XFSBernhard Voelker2020-04-221-0/+0
| | | | | | | | | | | | | | Pull in a fix for FTS to avoid a crash when traversing a heavily changed XFS file system: > fts: remove NOSTAT_LEAF_OPTIMIZATION * NEWS (Bug fixes): Mention the fix. * gnulib: Update to latest. * bootstrap: Sync from gnulib/build-aux/bootstrap. Discussed at: <https://lists.gnu.org/r/bug-gnulib/2020-04/msg00068.html>
* build: update gnulib submodule to latestPaul Eggert2020-03-281-0/+0
| | | | | * src/selinux.c: Do not include dosname.h; not needed, since system.h does that for us via dirname.h.