|
b95da5f7
|
2025-09-16T23:09:25
|
|
stringeq: diagnose for streq instead of STREQ
* top/maint.mk (sc_prohibit_strcmp): In diagnostic, suggest streq
instead of STREQ/STRNEQ.
|
|
915d8d2e
|
2025-09-13T00:48:22
|
|
gitsub.sh: Revert last change.
* top/gitsub.sh: Revert 2025-09-06 change.
|
|
4234562e
|
2025-09-09T19:26:12
|
|
maintainer-makefile: relax coverage requirements
Adjust so that `make coverage` completes for coreutils.
There is no coverage for lib/parse-datetime.y
but everything else is fine.
* top/maint.mk (COVERAGE_CCOPTS): Since we're overriding CFLAGS,
add -Wno-error to relax warning requirements. Projects usually default
to -O2, and changing from that can very well induce new warnings.
(build-coverage, gen-coverage): Keep going on non-fatal errors.
|
|
3d041f83
|
2025-09-07T16:34:43
|
|
maint: allow false/true in C macros
* top/maint.mk (sc_Wundef_boolean): Allow false and true in C
macro definiens. C23 requires support for false and true, and the
‘bool’ module makes it easy to support this in older compilers.
|
|
153f0b70
|
2025-09-08T01:20:01
|
|
bootstrap: Improve efficiency of "git clone".
* top/bootstrap-funclib.sh (default_gnulib_url): Use read-only mirror of
git.savannah.gnu.org.
* build-aux/bootstrap: Regenerated.
|
|
e287b2aa
|
2025-09-06T16:43:04
|
|
gitsub.sh: Support URL redirections also for subcheckouts.
* top/gitsub.sh (func_expand): New function.
(func_pull): Invoke it, and show a message about redirection.
|
|
25eaa5a6
|
2025-07-19T18:08:57
|
|
readme-release: Remove link to Hydra autobuilder.
* top/README-release: Remove link to Hydra autobuilder since the recipes
have not been updated in years.
|
|
9a1a6385
|
2025-06-09T19:50:35
|
|
Silence 'time-stamp' warnings with bleeding-edge Emacs.
* build-aux/announce-gen: Use "%Y" instead of "%:y" for the
'time-stamp-format' local variable.
* build-aux/do-release-commit-and-tag: Likewise.
* build-aux/gendocs.sh: Likewise.
* build-aux/git-version-gen: Likewise.
* build-aux/gitlog-to-changelog: Likewise.
* build-aux/gnu-web-doc-update: Likewise.
* build-aux/gnupload: Likewise.
* build-aux/move-if-change: Likewise.
* build-aux/prefix-gnulib-mk: Likewise.
* build-aux/update-copyright: Likewise.
* build-aux/useless-if-before-free: Likewise.
* build-aux/vc-list-files: Likewise.
* top/bootstrap: Likewise.
* top/bootstrap-funclib.sh: Likewise.
* build-aux/bootstrap: Regenerate.
|
|
a7785e69
|
2025-04-30T12:28:42
|
|
Rename module hashcode-string to hashcode-string2.
* lib/hashcode-string2.h: Renamed from lib/hashcode-string.h.
* lib/hashcode-string2.c: Renamed from lib/hashcode-string.c.
* modules/hashcode-string2: Renamed from modules/hashcode-string.
* MODULES.html.sh: Update.
* top/maint.mk: Update.
* lib/hash-pjw.h: Update.
* modules/hash-pjw: Update.
* lib/hashcode-named-file.c: Update.
* modules/hashcode-named-file (Depends-on): Update.
* tests/test-hash.c: Update.
* modules/hash-tests (Depends-on): Update.
|
|
261415b0
|
2025-04-30T00:15:40
|
|
Rename module hash-pjw to hashcode-string.
* lib/hashcode-string.h: Renamed from lib/hash-pjw.h.
* lib/hashcode-string.c: Renamed from lib/hash-pjw.c.
* lib/hash-pjw.h: New file.
* modules/hashcode-string: Renamed from modules/hash-pjw.
* modules/hash-pjw: New file.
* MODULES.html.sh: Update.
* top/maint.mk: Update.
* lib/hash-triple-simple.c: Update.
* modules/hash-triple-simple (Depends-on): Update.
* tests/test-hash.c: Update.
* modules/hash-tests (Depends-on): Update.
|
|
ba4e57ee
|
2025-04-07T08:56:09
|
|
maintainer-makefile: Avoid submodule-checks fail without submodules.
* top/maint.mk (no-submodule-changes): Condition on .gitmodules.
(public-submodule-commit): Likewise.
|
|
43bf2e8b
|
2025-04-04T11:49:13
|
|
maintainer-makefile: Work with modern LCOV versions.
* top/maint.mk (gen-coverage): Don't pass --highlight to genhtml.
|
|
54fc57c2
|
2025-03-27T20:01:28
|
|
bootstrap: Improve "make dist" tarball reproducability.
* top/bootstrap-funclib.sh (autogen): Don't pass unnecessary -I's when
invoking autoreconf. The order of M4 include directories is reflected
in Makefile.in content. Our GNUmakefile _version rule invoke
autoreconf without any extra -I, and this difference in how autoreconf
is invoked results in different tarballs for "make dist" vs "make
release" which is undesirable.
|
|
fe06b2be
|
2025-03-27T19:45:30
|
|
maintainer-makefile: Check spelling using 'codespell'.
* top/maint.mk (sc_codespell): Add.
|
|
e319c0fe
|
2025-02-16T13:43:40
|
|
bootstrap: Fix recognition of --depth option with recent git releases.
Reported by Benno Schulenberg <bensberg@telfort.nl> in
<https://lists.gnu.org/archive/html/bug-gnulib/2025-02/msg00106.html>.
* top/bootstrap-funclib.sh (prepare_GNULIB_SRCDIR): Assume that
'git clone' and 'git fetch' support the --depth option.
* build-aux/bootstrap: Regenerated.
|
|
1ec9cc83
|
2025-02-04T02:00:19
|
|
bootstrap: Remove undesired output.
* top/bootstrap-funclib.sh (prepare_GNULIB_SRCDIR): Silence the initial
branch hint.
* build-aux/bootstrap: Regenerated.
|
|
553ab924
|
2025-01-31T16:24:26
|
|
announce-gen: add comments
* top/maint.mk: Add comments re recent change.
|
|
c89cd2fb
|
2025-02-01T00:58:45
|
|
announce-gen: Allow 'make release' to work any day.
* top/maint.mk (today): Use regexp rather than current time.
|
|
2efde69c
|
2025-01-26T04:29:59
|
|
bootstrap: Remove obsolete code.
Reported by Basil L. Contovounesios <basil@contovou.net> in
<https://lists.gnu.org/archive/html/bug-gnulib/2025-01/msg00221.html>.
* top/bootstrap-funclib.sh (package): Don't look at gl_INIT_PACKAGE
invocations.
* build-aux/bootstrap: Regenerated.
|
|
b7f27f44
|
2025-01-23T21:39:35
|
|
bootstrap: Make it work with module 'package-version'.
Reported by Basil L. Contovounesios <basil@contovou.net> in
<https://lists.gnu.org/archive/html/bug-gnulib/2025-01/msg00195.html>.
* top/bootstrap-funclib.sh (normalize_package_name): New variable.
(extract_package_name): Don't normalize the package name here.
(package): Also look at the first argument of a gl_INIT_PACKAGE
invocation.
* build-aux/bootstrap: Regenerated.
|
|
7e2fe1fb
|
2025-01-22T21:31:52
|
|
doc: Document the workflows of the .tarball-version and .version files.
* doc/package-version.texi: New file.
* doc/gnulib.texi (Build Infrastructure Modules): Include it.
* build-aux/git-version-gen: Fix comments: Fix description of
.tarball-version. Recommend to invoke git-version-gen at configure time,
not at autoconf time. Remove description of .version. Rename Makefile
target 'tarball-version' to 'dist-tarball-version'.
* top/GNUmakefile: Improve comments.
|
|
f536baac
|
2025-01-09T09:37:41
|
|
bootstrap: Support a tag name as GNULIB_REVISION.
* top/bootstrap-funclib.sh (prepare_GNULIB_SRCDIR): If $GNULIB_REVISION
is a tag name, make sure to add that tag.
* build-aux/bootstrap: Regenerated.
|
|
e7d6a9e0
|
2025-01-02T09:28:48
|
|
maintainer-makefile: Improve gnulib-version handling.
* top/maint.mk (gnulib-version): Prefix commit id with human
readable leading ChangeLog date, suggested by Bruno Haible.
(announcement): Handle multi-word gnulib-version.
|
|
7b089321
|
2025-01-01T09:24:36
|
|
maint: run 'make update-copyright'
|
|
552c0b06
|
2024-12-28T19:46:30
|
|
maintainer-makefile: Improve gnulib-version derivation.
* top/maint.mk (gnulib-version): Use git only when possible,
falling back to GNULIB_REVISION or ChangeLog date otherwise. Use
consistent full identifier.
|
|
563046ab
|
2024-12-10T09:52:37
|
|
maintainer-makefile: Pass on $(announce_gen_args) to announce-gen.
* top/maint.mk (announce_gen_args): New variable, for cfg.mk use.
(announcement): Use it.
|
|
7eb21c68
|
2024-11-25T16:37:31
|
|
bootstrap: avoid sc_prohibit_undesirable_word_seq failure
* top/bootstrap-funclib.sh: s/can not/cannot/
|
|
59bf378a
|
2024-11-13T01:25:26
|
|
bootstrap: Tweak GNULIB_REFDIR related changes.
* top/bootstrap-funclib.sh (prepare_GNULIB_SRCDIR): Improve if/else
structure and comments. When cloning GNULIB_REFDIR and no submodule
'gnulib' is configured, switch to the default branch.
* top/bootstrap (usage): Update documentation.
* build-aux/bootstrap: Regenerated.
|
|
fd902a8e
|
2024-11-12T13:13:47
|
|
bootstrap: avoid "cd"
* top/bootstrap-funclib.sh: Avoid "cd". This saves a few
subprocesses and is more likely to yield diagnostics that make
sense to the user.
* build-aux/bootstrap: Regenerate.
|
|
b855d810
|
2024-11-12T13:00:10
|
|
bootstrap: go back to old non-submodule semantics
* top/bootstrap-funclib.sh (prepare_GNULIB_SRCDIR):
When cloning GNULIB_REFDIR and no submodule 'gnulib' is configured,
set the origin’s URL to $gnulib_url and fetch from remote,
so that GNULIB_REFDIR is merely an accelerant rather than
having different semantics.
* build-aux/bootstrap: Regenerate.
|
|
935bbcb2
|
2024-11-12T09:28:55
|
|
bootstrap: tune Octave bootstrap --gnulib-refdir
* top/bootstrap-funclib.sh (prepare_GNULIB_SRCDIR):
Use GNULIB_REFDIR also when a submodule 'gnulib' is not configured.
This greatly speeds up bootstrapping Octave when using
‘./bootstrap --gnulib-refdir=...’.
* build-aux/bootstrap: Regenerate.
|
|
086c5c1c
|
2024-09-03T20:40:51
|
|
syntax-check: Catch all FSF postal addresses.
* top/maint.mk (sc_franklin_street): Rename to sc_fsf_postal,
improve regexp.
|
|
0a6cc3f2
|
2024-09-02T12:46:38
|
|
syntax-check: Catch obsolete Franklin Street usages.
* top/maint.mk (sc_franklin_street): New function.
|
|
662fd337
|
2024-08-19T13:46:02
|
|
mntent: New module.
* lib/mntent.in.h: New file.
* m4/mntent_h.m4: New file.
* modules/mntent: New file.
* doc/glibc-headers/mntent.texi: Mention the new module.
* top/maint.mk (gl_prefer_angle_bracket_headers_): Add mntent.h.
* doc/gnulib-tool.texi (Style of #include statements): Add mntent.h to
the list.
|
|
e934b66f
|
2024-08-16T22:07:19
|
|
gitsub.sh: For a submodule, merge from the right remote branch.
Reported by Marc Nieper-Wißkirchen <marc.nieper+gnu@gmail.com> at
<https://lists.gnu.org/archive/html/bug-gnulib/2024-08/msg00101.html>.
* top/gitsub.sh (func_upgrade): For a submodule, use 'git branch' to
determine the branch to merge from, instead of assuming that it is
always the 'master' branch.
|
|
6e8d090d
|
2024-07-27T12:16:37
|
|
maintainer-makefile: Fix yesterdays #include <...> change.
* top/maint.mk (gl_prefer_angle_bracket_headers_): Remove files that
don't include #include_next. Sort using the C locale.
|
|
a46019c4
|
2024-07-26T21:30:56
|
|
maintainer-makefile: Update list of headers to use #include <...>.
* top/maint.mk (gl_prefer_angle_bracket_headers_): Add missing headers
from lib/*.in.h. Re-sort list.
|
|
f3967bd9
|
2024-07-21T14:02:58
|
|
bootstrap: Avoid failure when gnulib-tool removed gettext.m4.
* top/bootstrap-funclib.sh (autogen): When gnulib-tool has removed
gettext.m4 but the package needs gettext.m4, repeat the autopoint and
gnulib-tool invocations.
* build-aux/bootstrap: Regenerated.
|
|
71dd87c3
|
2024-07-04T04:04:11
|
|
Make time-stamp after-save-hooks buffer-local.
* build-aux/announce-gen: Pass optional arguments to 'add-hook'.
* build-aux/bootstrap: Likewise.
* build-aux/do-release-commit-and-tag: Likewise.
* build-aux/gendocs.sh: Likewise.
* build-aux/git-version-gen: Likewise.
* build-aux/gitlog-to-changelog: Likewise.
* build-aux/gnu-web-doc-update: Likewise.
* build-aux/gnupload: Likewise.
* build-aux/move-if-change: Likewise.
* build-aux/prefix-gnulib-mk: Likewise.
* build-aux/update-copyright: Likewise.
* build-aux/useless-if-before-free: Likewise.
* build-aux/vc-list-files: Likewise.
* top/bootstrap: Likewise.
* top/bootstrap-funclib.sh: Likewise.
|
|
24651c48
|
2024-07-03T23:07:16
|
|
maintainer-makefile: derive VERSION from RELEASE only from command line
* top/maint.mk (VERSION, RELEASE_TYPE): Do not let an environment-
specified RELEASE influence the VERSION and RELEASE_TYPE variables.
Reported by Simon Josefsson in
https://lists.gnu.org/archive/html/bug-gnulib/2024-07/msg00021.html
|
|
bd2252fb
|
2024-06-30T01:57:51
|
|
bootstrap-funclib.sh: Restore readability.
* top/bootstrap-funclib.sh (prepare_GNULIB_SRCDIR): Add a line break
instead of removing spaces.
* build-aux/bootstrap: Regenerated.
|
|
490c8802
|
2024-06-29T15:08:19
|
|
bootstrap-funclib.sh: shrink or split too-long lines
* top/bootstrap-funclib.sh: The generated bootstrap file had lines
lines that triggered a syntax-check failure. Sure, I could have
exempted this file, but it was easy to comply. Besides, this also
fixed a quoting bug in the event that ${GNULIB_URL:-$default_gnulib_url}
had a value requiring double quotes.
* build-aux/bootstrap: Regenerate.
|
|
8991f4f3
|
2024-06-11T10:16:37
|
|
maint: avoid duplicate tight-scope work
* top/maint.mk (_gl_tight_scope): Sort $(SOURCES), to remove
duplicates and thereby avoid unnecessary work. Found when testing
this on GNU diffutils.
|
|
ad617310
|
2024-05-27T21:35:43
|
|
maint.mk: Update system header list for #include syntax checks.
* top/maint.mk (gl_prefer_angle_bracket_headers_): Add byteswap.h,
endian.h, and stdbit.h.
|
|
0c52a761
|
2024-05-12T17:07:30
|
|
maintainer-makefile: Silence announce-gen error with GNULIB_REVISION.
* top/maint.mk (gnulib-version): Silence git describe on failure.
|
|
aacceb6e
|
2024-05-06T15:01:10
|
|
maintainer-makefile: Prohibit BSD4.3/SysV u_char etc types.
* top/maint.mk (sc_unsigned_char, sc_unsigned_short)
(sc_unsigned_int, sc_unsigned_long): Add.
|
|
6213c5bd
|
2024-05-03T08:44:03
|
|
maint.mk: Don't fail on ~/.indent.pro, reported by Collin Funk.
* top/maint.mk (indent_args): Use --ignore-profile.
|
|
92d80242
|
2024-04-28T11:29:27
|
|
bootstrap: Support checking out a recent GNULIB_REVISION, part 2.
Reported by Markus Mützel <markus.muetzel@gmx.de> in
<https://lists.gnu.org/archive/html/bug-gnulib/2024-04/msg00507.html>.
* top/bootstrap-funclib.sh (prepare_GNULIB_SRCDIR): If using a submodule
and the 'git checkout' command fails, fetch the newer commits and then
retry it.
* build-aux/bootstrap: Regenerated.
|
|
d81a4871
|
2024-04-27T19:08:06
|
|
bootstrap: Support checking out a recent GNULIB_REVISION.
Reported by Markus Mützel <markus.muetzel@gmx.de> in
<https://lists.gnu.org/archive/html/bug-gnulib/2024-04/msg00462.html>.
* top/bootstrap-funclib.sh (prepare_GNULIB_SRCDIR): If the
'git checkout' command fails, fetch the newer commits and then retry it.
* build-aux/bootstrap: Regenerated.
|
|
d84255c1
|
2024-04-14T01:38:42
|
|
bootstrap: Implement phase 1 as documented in the --help output.
Reported by Simon Josefsson as bug #1 in
<https://lists.gnu.org/archive/html/bug-gnulib/2024-04/msg00152.html>.
* top/bootstrap: Correct indentation.
* top/bootstrap-funclib.sh (prepare_GNULIB_SRCDIR): Implement as
documented:
If GNULIB_SRCDIR and GNULIB_REVISION are set and there is a 'gnulib'
submodule, checkout the revision GNULIB_REVISION.
If GNULIB_SRCDIR and GNULIB_REVISION are set and --no-git is specified,
don't checkout the revision GNULIB_REVISION.
|
|
ac8c4111
|
2024-04-14T00:08:50
|
|
bootstrap: Simplify git submodule initialization.
* top/bootstrap-funclib.sh (prepare_GNULIB_SRCDIR): Err out if git is
older than version 1.6.4. Remove fallback code for older versions.
* build-aux/bootstrap: Regenerated.
|
|
98b5e4a9
|
2024-04-13T17:23:48
|
|
bootstrap: Fix --help messages.
Reported by Simon Josefsson in
<https://lists.gnu.org/archive/html/bug-gnulib/2024-04/msg00162.html>.
* top/bootstrap (usage): Fix the description of GNULIB_SRCDIR. Document
GNULIB_REFDIR. Use full-sentences style. Tweak wording.
* top/bootstrap-funclib.sh (autopull_usage): Clarify the phase. Don't
mention nonexistent options --gnulib-srcdir and --gnulib-refdir. Use
full-sentences style.
(autogen_usage): Clarify the phase. Use full-sentences style.
* build-aux/bootstrap: Regenerated.
|
|
723dfe5e
|
2024-02-20T12:16:40
|
|
maint.mk: Fix include header typo.
top/maint.mk: Change arpa_inet.h to arpa/inet.h.
|
|
219052be
|
2024-02-18T20:23:28
|
|
maint.mk: improve new syntax-check rule
* top/maint.mk (sc_prefer_angle_bracket_headers): Rename from
sc_verify_absolute_include_headers. Simplify to run a single
invocation of grep, rather than usually many. Derive a regular
expression matching the selected headers, and warn about any
offending matches via what is usually a single grep invocation.
|
|
76ce0307
|
2024-02-18T21:34:01
|
|
maint.mk: Add more comments.
* top/maint.mk: Reference the Gnulib documentation where suitable.
|
|
2ebc4624
|
2024-02-18T12:02:33
|
|
maint.mk: Add syntax-check rule to check for #include syntax.
* top/maint.mk (sc_verify_absolute_include_headers): New rule
to check for #includes that might cause
-Winclude-next-absolute-path warnings.
|
|
5b92dd0a
|
2024-01-01T10:31:48
|
|
maint: run 'make update-copyright'
|
|
d1892fd7
|
2023-12-10T14:46:58
|
|
bootstrap: fix option propagation with --bootstrap-sync
* top/bootstrap: Ensure options are propagated through
upgrade_bootstrap().
* top/bootstrap-funclib.sh: Likewise.
* build-aux/bootstrap: Auto generated with `make build-aux/bootstrap`.
Fixes https://bugs.gnu.org/67731
|
|
2b63182e
|
2023-09-24T18:13:50
|
|
maintainer-makefile: Fix syntax-check rules wrt README.
* top/maint.mk (sc_readme_link_install): Change the value of the
variable in_vc_files to contain a pattern for the README file.
(sc_readme_link_copying): Likewise.
Previously, the above rules always passed, because the generated
list of files was empty. Bug introduced when adding the rules
in commit 53b4bf3018.
|
|
0771cac8
|
2023-09-03T18:14:53
|
|
same-inode, stat-size: support pointers too
Add functions and macros so that we can test pointers to struct
stat as well as plain struct stat. This lets coreutils deal with
structs that are only partly initialized, without relying on
undefined behavior.
* NEWS: Mention this.
* doc/posix-headers/sys_stat.texi, doc/stat-size.texi:
Mention this and modernize.
* lib/at-func2.c (at_func2):
* lib/fts.c (same_fd):
* lib/rename.c (rpl_rename) [RENAME_HARD_LINK_BUG]:
* lib/same-inode.c: New file.
* lib/same.c (same_nameat):
* lib/term-style-control.c (activate_term_style_controller):
Prefer psame_inode (a, b) to SAME_INODE (*a, *b).
* lib/hash-triple-simple.c (triple_compare_ino_str):
* lib/hash-triple.c (triple_compare):
Prefer PSAME_INODE (a, b) to SAME_INODE (*a, *b).
psame_inode is not suitable since the args are not struct stat *.
* lib/same-inode.h: Check that config.h is included first.
(SAME_INODE_INLINE, PSAME_INODE): New macros.
(SAME_INODE): Reimplement in terms of PSAME_INODE.
(psame_inode): New function.
* lib/stat-size.h (STP_BLKSIZE, STP_NBLOCKS): New macros.
(ST_BLKSIZE, ST_NBLOCKS): Use them.
* lib/term-style-control.c (log_signal_handler_called):
Always define as a function, to pacify -Wunused*.
* modules/canonicalize-lgpl-tests (Files): Add m4/musl.m4.
(Depends-on): Call gl_MUSL_LIBC.
* modules/same-inode (Files): Add same-inode.c.
(Depends-on): Add extern-inline, stdbool.
(lib_SOURCES): New macro.
* tests/test-binary-io.c, tests/test-canonicalize-lgpl.c:
* tests/test-canonicalize.c, tests/test-cloexec.c:
* tests/test-dup-safer.c, tests/test-dup2.c, tests/test-error.c:
* tests/test-fcntl.c, tests/test-fdopendir.c, tests/test-fgetc.c:
* tests/test-fputc.c, tests/test-fread.c, tests/test-fstat.c:
* tests/test-fstatat.c, tests/test-ftruncate.c:
* tests/test-fwrite.c, tests/test-getcwd.c:
* tests/test-getdtablesize.c, tests/test-isblank.c:
* tests/test-linkat.c, tests/test-lock.c, tests/test-lstat.h:
* tests/test-malloc-gnu.c, tests/test-openat.c:
* tests/test-pthread-thread.c, tests/test-pthread_sigmask1.c:
* tests/test-pthread_sigmask2.c, tests/test-ptsname.c:
* tests/test-ptsname_r.c, tests/test-raise.c:
* tests/test-realloc-gnu.c, tests/test-rwlock1.c:
* tests/test-sigprocmask.c, tests/test-snprintf.c:
* tests/test-stat.h, tests/test-term-style-control-hello.c:
* tests/test-term-style-control-yes.c, tests/test-thread_create.c:
* tests/test-unlinkat.c, tests/test-vasnprintf.c:
* tests/test-xalloc-die.c:
Adjust to these changes, and fix some warnings elicited by
-Wall -Wextra that I ran into while testing.
* top/maint.mk (sc_prohibit_stat_st_blocks): Mention STP_NBLOCKS.
|
|
32ac0e00
|
2023-08-29T23:34:34
|
|
bootstrap: Try to prevent the user from setting GNULIB_URL to a wrong value.
* top/bootstrap-funclib.sh: Explain GNULIB_URL better.
* top/bootstrap: Likewise.
* build-aux/bootstrap: Likewise.
|
|
fbdc9a07
|
2023-08-29T13:06:41
|
|
maint: don’t say “clonable” either
The spelling is controversial, and the word adds little of use here.
|
|
dd3ba5c1
|
2023-08-28T12:21:23
|
|
spelling fix: cloneable -> clonable
* build-aux/bootstrap, top/bootstrap, top/bootstrap-funclib.sh:
Spell it “clonable”, the more common English way, instead of
“cloneable”, the Java way. Found while doing spelling check
of Coreutils.
|
|
4692a8d8
|
2023-07-01T11:17:55
|
|
Also fix top/bootstrap long lines
|
|
6e249393
|
2023-07-01T11:00:16
|
|
Fix long bootstrap lines
* top/bootstrap-funclib.sh: Reformat to fit into 80 columns,
for coreutils ‘make syntax-check’.
|
|
96ad66ea
|
2023-07-01T01:38:07
|
|
maint.mk: Modernize stddef.h checks for C23
* top/maint.mk (_stddef_syms_re): Modernize for C23.
|
|
6e12aae8
|
2023-06-28T18:49:31
|
|
fix space-tabs in top/maint.mk
* top/maint.mk: Omit space before tab.
|
|
1bbfe272
|
2023-06-09T10:15:30
|
|
maint.mk: sc_prohibit_xalloc_without_use: also match alloc_die
* top/maint.mk (sc_prohibit_xalloc_without_use):
Adjust in-comment command's regexp so it also finds alloc_die,
whose declaration has a prefix of "_Noreturn" .
Also delete some now-obsolete commentary.
(_xa1): Regenerate the regexp using that command.
Reported by Pádraig Brady in
<https://lists.gnu.org/r/bug-gnulib/2023-06/msg00062.html>.
|
|
295cc7fb
|
2023-06-08T14:53:51
|
|
Spelling fixes
Most of these were reported by Josh Soref <jsoref@gmail.com> in:
https://lists.gnu.org/r/bug-gnulib/2023-06/msg00057.html
except that some are omitted because the original is OK (e.g.,
"obsolescent"), and some are omitted because they are upstream
files and I've fixed them upstream or have filed bug reports,
and I made a few nearby corrections to grammar.
|
|
1496e1fb
|
2023-06-06T20:49:22
|
|
maint.mk: regenerate regex to reflect new functions in xalloc.h
* top/maint.mk (sc_prohibit_xalloc_without_use) [_xa1]:
Regenerate using the command listed in the comment.
|
|
d084ae09
|
2023-06-06T14:23:39
|
|
Put "/" at end of .gitignore directory names
* build-aux/bootstrap: Regenerate.
* top/bootstrap-funclib.sh (symlink_to_dir, autogen):
Put slashes after .gitignore entries that name directories.
|
|
53b4bf30
|
2023-06-06T19:35:35
|
|
maintainer-makefile: Enforce the GNU Coding Standards in the README.
* top/maint.mk (sc_readme_link_install): New rule.
(sc_readme_link_copying): Likewise.
|
|
0e272413
|
2023-03-09T09:58:35
|
|
bootstrap: correct last change
* top/bootstrap-funclib.sh (autogen) [AUTORECONFFLAGS]: Do always
apply the --no-recursive option.
* build-aux/bootstrap: Regenerate.
Spotted by Bruno Haible.
|
|
074cf4b3
|
2023-03-09T08:41:07
|
|
bootstrap: remove code that accommodated RHEL5's old autoreconf
* top/bootstrap-funclib.sh (autogen) [AUTORECONFFLAGS]: RHEL5 has not
been supported since 2017. It included (and this code worked around)
a version of autoreconf that was so old it did not accept the
--no-recursive option. Drop that workaround.
* build-aux/bootstrap: Regenerate.
|
|
219e21c7
|
2023-01-30T02:45:23
|
|
maintainer-makefile: Determine gnulib's location on disk correctly.
* top/maint.mk (gnulib_dir): Give priority to $(GNULIB_SRCDIR) over
$(srcdir)/gnulib.
|
|
5defd965
|
2023-01-06T11:20:05
|
|
bootstrap: suppress stray message from --pull
* build-aux/bootstrap: Regenerate.
* top/bootstrap-funclib.sh (autopull): Suggest running autogen.sh
only if it exists (i.e., the package is using autopull.sh/autogen.sh).
Suggest the same name for autogen.sh that is used in the test.
|
|
32a72f45
|
2023-01-01T01:14:21
|
|
maint: run 'make update-copyright'
|
|
7924f0e7
|
2022-12-27T08:15:38
|
|
Add --pull, --gen options to build-aux/bootstrap
This supports a single bootstrap script with --pull and --gen
options, as an alternative to separate autogen.sh and autopull.sh
and bootstrap-funclib.sh auxiliary files.
* top/bootstrap: With --version, also output library version.
Support update of package that has only the bootstrap script,
and not the other three files.
|
|
816b0d5d
|
2022-12-27T08:15:38
|
|
Support packages with just 'bootstrap'
* top/bootstrap: With --version, also output library version.
Support update of package that has only the bootstrap script,
and not the other three files.
* top/bootstrap-funclib.sh (scriptlibversion): Rename
from scriptversion. All uses changed. This way we
can distinguish script from script library versions.
(upgrade_bootstrap): If the package currently has only
the bootstrap script, just update that.
|
|
8319b192
|
2022-12-27T08:15:37
|
|
Bootstrap with functions, not scripts
* top/bootstrap: Use autopull and autogen functions, not
shell scripts. This lets build-aux/bootstrap become a
standalone script. It does not change the behavior of
top/bootstrap, except for minor rewording of disagnostics.
|
|
064ce98a
|
2022-12-27T08:15:37
|
|
Make autopull a shell function too
This does not change behavior. It is helpful for future changes.
* top/autopull.sh: Call autopull to do the actual work.
(usage, download_po_files, update_po_files):
Move to top/bootstrap-funclib.sh.
* top/bootstrap-funclib.sh (autopull_usage): Rename from ‘usage’.
(autopull): New function, containing the top level of the
old top/autopull.sh.
|
|
41ea82c8
|
2022-12-27T08:15:37
|
|
Make autogen a shell function too
This does not change behavior. It is helpful for future changes.
* top/autogen.sh: Call autogen to do the actual work.
(usage, version_controlled_file, gitignore_entries, insert_if_absent):
(insert_vc_ignore, symlink_to_dir): Move to top/bootstrap-funclib.sh.
* top/bootstrap-funclib.sh (autogen_usage): Rename from ‘usage’.
(autogen): New function, containing the top level of the
old top/autogen.sh.
|
|
19d5a873
|
2022-12-27T08:15:37
|
|
Move scriptversion= lines up in scripts
By default they need to be in the first 8 lines to be updated.
|
|
835b3ea8
|
2022-11-26T15:25:44
|
|
In 'trap' commands, prefer symbolic to numeric signal names.
Reported by Mike Fulton <fultonm@ca.ibm.com> in
<https://lists.gnu.org/archive/html/bug-gnulib/2022-11/msg00130.html>.
* gnulib-tool: Use symbolic signal names.
* posix-modules: Likewise.
* MODULES.html.sh: Likewise.
* build-aux/bootstrap (prepare_GNULIB_SRCDIR): Likewise.
* build-aux/csharpcomp.sh.in: Likewise.
* build-aux/gnu-web-doc-update: Likewise.
* top/autogen.sh: Likewise.
* top/bootstrap-funclib.sh: Likewise.
* top/gitsub.sh: Likewise.
* lib/t-idcache: Likewise.
* tests/havelib/rpath-1: Likewise.
* tests/havelib/rpath-2_a: Likewise.
* tests/havelib/rpath-2_b: Likewise.
* tests/havelib/rpath-3_a: Likewise.
* tests/havelib/rpath-3_b: Likewise.
* tests/init.sh: Likewise.
* tests/test-binary-io.sh: Likewise.
* tests/test-c-stack.sh: Likewise.
* tests/test-c-stack2.sh: Likewise.
* tests/test-dprintf-posix.sh: Likewise.
* tests/test-fpending.sh: Likewise.
* tests/test-fprintf-posix.sh: Likewise.
* tests/test-lseek.sh: Likewise.
* tests/test-printf-posix.sh: Likewise.
* tests/test-select-in.sh: Likewise.
* tests/test-select-out.sh: Likewise.
* tests/test-sigpipe.sh: Likewise.
* tests/test-tsearch.sh: Likewise.
* tests/test-update-copyright.sh: Likewise.
* tests/test-vdprintf-posix.sh: Likewise.
* tests/test-vfprintf-posix.sh: Likewise.
* tests/test-vprintf-posix.sh: Likewise.
* tests/test-xprintf-posix.sh: Likewise.
* tests/uniwidth/test-uc_width2.sh: Likewise.
|
|
757160cc
|
2022-11-01T09:09:02
|
|
maintainer-makefile: Fix last sc_indent commit.
* top/maint.mk (sc_indent): Don't use grep -q.
Suggested by Bruno Haible.
|
|
4555e788
|
2022-11-01T09:06:56
|
|
maintainer-makefile: Add syntax-check rule for unportable 'grep -q'.
* top/maint.mk (sc_unportable_grep_q): Add.
|
|
4ad0eedf
|
2022-10-31T09:42:42
|
|
maintainer-makefile: Fix Apple Xcode 'make syntax-check'.
* top/maint.mk (sc_indent): Don't use non-GNU indent.
|
|
f346337d
|
2022-09-11T16:45:27
|
|
maint: avoid unportable ERE \}
* top/maint.mk (sc_copyright_check):
Avoid unportable use of \} in ERE.
|
|
d0ed95b9
|
2022-09-11T16:26:28
|
|
verify: improve maint check
* top/maint.mk (sc_prohibit_verify_without_use):
Adjust re to match verify.h.
|
|
4b17a1ae
|
2022-09-06T14:32:05
|
|
gnumakefile: Improve tarball reproducibility.
* top/GNUmakefile (TAR_OPTIONS): Add --sort=name. Suggested by
Tzvetelin Katchov <katchov@gnu.org>.
* DEPENDENCIES: Mention tar 1.28 dependency.
|
|
dec71942
|
2022-08-16T17:26:56
|
|
maintainer-makefile: Check for incorrect DISTCHECK_CONFIGURE_FLAGS usage.
* top/maint.mk (sc_makefile_DISTCHECK_CONFIGURE_FLAGS): Add.
|
|
c31c05e0
|
2022-07-31T01:07:08
|
|
doc: Update regarding bootstrap split.
Reported by Paul Smith <psmith@gnu.org>.
* doc/gnulib-tool.texi (gettextize and autopoint): Mention autogen.sh
instead of bootstrap.
(VCS Issues): Describe three alternative approaches.
* doc/gnulib.texi (Developer tools): Mention also autopull.sh and
autogen.sh.
* top/bootstrap (usage): Fix copy&paste mistake.
|
|
f00af4ba
|
2022-07-25T10:21:42
|
|
bootstrap: Make the automatic sync more resilient.
Reported by Paul Eggert in
<https://lists.gnu.org/archive/html/bug-gnulib/2022-07/msg00060.html>.
* top/bootstrap (bootstrap_sync): Set to true when bootstrap-funclib.sh
is not present.
* top/gen-bootstrap.sed: Insert a couple of comment lines.
* build-aux/bootstrap: Regenerated using "make build-aux/bootstrap".
|
|
012d9a08
|
2022-07-25T00:53:48
|
|
Fix comment.
Reported by Paul Eggert in
<https://lists.gnu.org/archive/html/bug-gnulib/2022-07/msg00058.html>.
* top/bootstrap-funclib.sh: Fix comment about canonical location.
* top/autopull.sh: Likewise.
* top/autogen.sh: Likewise.
* top/bootstrap: Likewise.
|
|
096abe49
|
2022-07-24T16:24:37
|
|
Split bootstrap into autopull.sh and autogen.sh.
* top/bootstrap-funclib.sh: New file, based on build-aux/bootstrap.
* top/autopull.sh: New file, based on build-aux/bootstrap.
* top/autogen.sh: New file, based on build-aux/bootstrap.
* top/bootstrap: New file, based on build-aux/bootstrap.
* top/gen-bootstrap.sed: New file.
* Makefile (build-aux/bootstrap): New rule.
(regen): Depend on it.
* build-aux/bootstrap: Regenerated using "make build-aux/bootstrap".
|
|
fc555c0a
|
2022-06-23T08:12:44
|
|
maint.mk: fix syntax-check for unnecessary hash.h header use
* top/maint.mk (_hash_re): Correct the regexp. It had two problems:
- lacked the "hash_" prefix, so would match non-uses
- failed to detect uses of the hash_x?initialize functions
The former led to an excess/unneeded use of hash.h in coreutils' cut.c.
The latter would have led to a FP "not needed" report for copy.c.
|
|
762bd0aa
|
2022-06-03T17:52:19
|
|
regex-quote: \] -> ] in EREs and BREs
* build-aux/bootstrap:
* build-aux/bootstrap.conf (gettext_external):
* check-AC_LIBOBJ:
* lib/regex-quote.c (bre_special, ere_special):
* gnulib-tool (func_modules_transitive_closure)
(func_emit_autoconf_snippet, func_import, func_create_testdir):
* tests/test-regex-quote.c (test_bre, test_ere):
* top/maint.mk (longopt_re, gpg_key_ID):
Don’t use \] in BREs and EREs, as POSIX says the interpretation is
undefined.
|
|
2ca890b5
|
2022-03-14T11:14:50
|
|
maintainer-makefile: Improve GnuPG announce-gen options.
* top/maint.mk (gpg_key_emil): New variable.
(gpg_keyring_url): New variable.
(announcement): Pass them as --gpg-key-email and
--gpg-keyring-url.
|
|
a3e1e74e
|
2022-01-28T14:54:00
|
|
maintainer-makefile: fix sc_error_message_uppercase false failure
* top/maint.mk (sc_error_message_uppercase): Don't trigger for
any of the PRI... defines. Note we add an extra constraint
here that PRI always follows a double quote, but that's
almost always the case, or can be easily made so by prepending
"" for example.
|
|
87e6634b
|
2022-01-04T00:16:50
|
|
license: fix GPLv3 texts to use a comma instead of semicolon.
See: https://www.gnu.org/licenses/gpl-3.0.html#howto
Run:
$ git grep -l 'Foundation; either version 3' \
| xargs sed -i '/Foundation; either version 3/ s/n; e/n, e/'
* All files using GPLv3: Adjust via the above command.
|