maint: ensure that new "make syntax-check"-run sc_codespell passes

* cfg.mk (codespell_ignore_words_list): Ignore false-positives.
(exclude_file_name_regexp--sc_codespell): Skip some file names.
* doc/coreutils.texi (mktemp invocation): Use "alphanumeric" which is
consistent with the rest of the documentation.
* src/expand-common.c: Fix typo.
* src/ls.c: Likewise.
* tests/split/l-chunk-root.sh: Likewise.
This commit is contained in:
Collin Funk
2025-04-04 12:35:15 -07:00
committed by Pádraig Brady
parent 026d0d7c40
commit 43873a660d
5 changed files with 10 additions and 4 deletions

6
cfg.mk
View File

@@ -955,3 +955,9 @@ _gl_TS_unmarked_extern_vars = ptr_MD5_.*
# Other tight_scope settings
_gl_TS_dir = .
_gl_TS_obj_files = src/*.$(OBJEXT)
# Settings for running codespell.
csiwl_1 = debbugs,clen,te,bu,shs,linke,fo,souch,inout,outin
csiwl_2 = kno,ois,afile,whats,hda,indx,ot,nam
codespell_ignore_words_list = $(csiwl_1),$(csiwl_2)
exclude_file_name_regexp--sc_codespell = \
^(THANKS\.in|tests/pr/.*(F|tn?|l(o|m|i)|bl))$$

View File

@@ -14803,7 +14803,7 @@ and print its name. If given, @var{template} must include at least
three consecutive @samp{X}s in the last component. If omitted, the template
@samp{tmp.XXXXXXXXXX} is used, and option @option{--tmpdir} is
implied. The final run of @samp{X}s in the @var{template} will be replaced
by alpha-numeric characters; thus, on a case-sensitive file system,
by alphanumeric characters; thus, on a case-sensitive file system,
and with a @var{template} including a run of @var{n} instances of @samp{X},
there are @samp{62**@var{n}} potential file names.

View File

@@ -273,7 +273,7 @@ finalize_tab_stops (void)
/* Return number of first tab stop after COLUMN. TAB_INDEX specifies
amny multiple tab-sizes. Set *LAST_TAB depending on whether we are
many multiple tab-sizes. Set *LAST_TAB depending on whether we are
returning COLUMN + 1 merely because we're past the last tab.
If the number would overflow, diagnose this and exit. */
extern colno

View File

@@ -3538,7 +3538,7 @@ gobble_file (char const *name, enum filetype type, ino_t inode,
/* Let the user know via '?' if errno is EACCES, which can
happen with Linux kernel 6.12 on an NFS file system.
That's better than a longwinded diagnostic.
That's better than a long-winded diagnostic.
Similarly, ignore ENOENT which may happen on some versions
of cygwin when processing dangling symlinks for example.

View File

@@ -1,5 +1,5 @@
#!/bin/sh
# test splitting into newline delineated chunks from infinite imput
# test splitting into newline delineated chunks from infinite input
# Copyright (C) 2023-2025 Free Software Foundation, Inc.