Compare commits

...

2 Commits

Author SHA1 Message Date
Paul Eggert
23e696b0b2 maint: spelling fixes 2026-01-16 13:22:28 -08:00
Paul Eggert
676c3bb397 build: update gnulib submodule to latest 2026-01-16 13:06:45 -08:00
7 changed files with 10 additions and 10 deletions

2
gnulib

@ -1 +1 @@
Subproject commit 7606f1f29c58281b19cde8e14a0fea2ff638d2a5
Subproject commit 73e6357e410c70a12ebedac4fc9d48f97e2c0ad4

View File

@ -406,7 +406,7 @@ if ($help_text =~ s/^($PAT_USAGE):( +(\S+))(.*)((?:\n(?: {6}\1| *($PAT_USAGE_CON
my $sect = _('DESCRIPTION');
$_ = "$help_text\n\n$version_text";
# Normalise paragraph breaks.
# Normalize paragraph breaks.
s/^\n+//;
s/\n*$/\n/;
s/\n\n+/\n\n/g;
@ -607,7 +607,7 @@ while (length)
)
/$1 . convert_option $2/xmge;
# Italicise filenames: /a/b, $VAR/c/d, ~/e/f
# Italicize filenames: /a/b, $VAR/c/d, ~/e/f
s!
(^|[ (]) # space/punctuation before
(
@ -797,7 +797,7 @@ sub get_option_value
}
# Convert option dashes to \- to stop nroff from hyphenating 'em, and
# embolden. Option arguments get italicised.
# embolden. Option arguments get italicized.
sub convert_option
{
local $_ = '\fB' . shift;

View File

@ -508,7 +508,7 @@ infer_scantype (int fd, struct stat const *sb, off_t pos,
/* we prefer to return PLAIN_SCANTYPE here so that copy offload
continues to be used. Falling through to ZERO_SCANTYPE would be
less performant in the compressed file case. */
less efficient in the compressed file case. */
return PLAIN_SCANTYPE;
}
}

View File

@ -599,7 +599,7 @@ main (int argc, char **argv)
else if (monitored_pid == 0) /* child */
{
#if HAVE_PRCTL
/* Add protection if the parent dies without signalling child. */
/* Add protection if the parent dies without signaling child. */
prctl (PR_SET_PDEATHSIG, term_signal);
#endif
/* If we're already reparented to init, don't proceed. */

View File

@ -27,7 +27,7 @@ for loc in "$LOCALE_FR_UTF8" 'en_US.UTF-8'; do
case $(LC_ALL="$loc" locale date_fmt) in
*%[Ilr]*) compare_time='1:00' ;;
*%[HkRT]*) compare_time='13:00' ;;
*) skip_ 'unrecognised locale hour format';;
*) skip_ 'unrecognized locale hour format';;
esac
case $(LC_ALL="$loc" date -d '2025-10-11T13:00') in
@ -47,7 +47,7 @@ for loc in "$LOCALE_FR_UTF8" 'en_US.UTF-8'; do
*%[IHRT]*) compare_time='01:00' ;;
*%_[IH]*) compare_time=' 1:00' ;;
*%[lk]*) compare_time=' 1:00' ;;
*) skip_ 'unrecognised locale hour format';;
*) skip_ 'unrecognized locale hour format';;
esac
case $(LC_ALL="$loc" date -d '2025-10-11T01:00') in

View File

@ -74,7 +74,7 @@ while read writer; do
# Check /dev/full diagnosed.
# Note we usually give a specific diagnostic (ENOSPC),
# but that's not guarantted in the generic close_stream() handling.
# but that's not guaranteed in the generic close_stream() handling.
# For e.g. with _IOLBF etc, stdio will discard pending data at each line,
# thus only giving a generic error upon ferror() in close_stream().
rm -f full.err || framework_failure_

View File

@ -66,7 +66,7 @@ my @Tests =
['delim-bs2', q!-d'\'!, {IN=>{'123\b\b\b.....@'=>''}}, {EXIT => 1},
{ERR => $msg . q!\\! . "\n"} ],
# \0 allows cycling thtough an empty delimiter (while "-d ''" does not)
# \0 allows cycling through an empty delimiter (while "-d ''" does not)
['delim-empty-1', q{-s -d '\0,'}, {IN=>"1\n2\n3\n"}, {OUT=>"12,3\n"}],
# POSIX escapes