]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
build: update gnulib submodule to latest
authorPaul Eggert <eggert@cs.ucla.edu>
Sat, 4 Jun 2022 00:32:18 +0000 (17:32 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Sat, 4 Jun 2022 02:45:47 +0000 (19:45 -0700)
* bootstrap: Copy from latest Gnulib.
* tests/misc/ls-misc.pl (v_files): Adjust to new Gnulib behavior.

NEWS
bootstrap
doc/sort-version.texi
gnulib
tests/misc/ls-misc.pl

diff --git a/NEWS b/NEWS
index 8c3eb9b258ab38eb81df1021f0ed7faeb1008d22..dd37e1525249e5a29041c13ab8738a81f0335d20 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -13,6 +13,12 @@ GNU coreutils NEWS                                    -*- outline -*-
   long been documented to be platform-dependent.
   [bug introduced 1999-05-02 and only partly fixed in coreutils-8.14]
 
+** Changes in behavior
+
+  'ls -v' and 'sort -V' go back to sorting ".0" before ".A",
+  reverting to the behavior in coreutils-9.0 and earlier.
+  This behavior is now documented.
+
 ** New Features
 
   factor now accepts the --exponents (-h) option to print factors
index 9c14d24f5e8b845d134672833fd9007d86d6e356..1f375eef2fd515a6c2cc07210ddf23a5b32c12e9 100755 (executable)
--- a/bootstrap
+++ b/bootstrap
@@ -1,6 +1,6 @@
 #! /bin/sh
 # Print a version string.
-scriptversion=2022-03-21.01; # UTC
+scriptversion=2022-06-04.00; # UTC
 
 # Bootstrap this package from checked-out sources.
 
@@ -487,7 +487,7 @@ fi
 
 # Die if there is no AC_CONFIG_AUX_DIR($build_aux) line in configure.ac.
 found_aux_dir=no
-grep '^[        ]*AC_CONFIG_AUX_DIR(\['"$build_aux"'\])' configure.ac \
+grep '^[        ]*AC_CONFIG_AUX_DIR(\['"$build_aux"'])' configure.ac \
     >/dev/null && found_aux_dir=yes
 grep '^[        ]*AC_CONFIG_AUX_DIR('"$build_aux"')' configure.ac \
     >/dev/null && found_aux_dir=yes
index aa7b0f9d5e335902f2977058842a07bfdbce56a0..175559f7a2b0dc9f6083b53fbbf9c0fd0e27229c 100644 (file)
@@ -587,6 +587,8 @@ ASCII letter or tilde, followed by zero or more ASCII letters, digits,
 or tildes; all repeated zero or more times, and ending at string end.
 This is equivalent to matching the extended regular expression
 @code{(\.[A-Za-z~][A-Za-z0-9~]*)*$} in the C locale.
+The longest such match is used, except that a suffix is not
+allowed to match an entire nonempty string.
 
 @item
 The suffixes are temporarily removed, and the strings are compared
diff --git a/gnulib b/gnulib
index 9cde39f881204e422d4bdad67ab12877d6a8172d..762bd0aa660b0c1c02597e0d2e5c5fbf9bab1b91 160000 (submodule)
--- a/gnulib
+++ b/gnulib
@@ -1 +1 @@
-Subproject commit 9cde39f881204e422d4bdad67ab12877d6a8172d
+Subproject commit 762bd0aa660b0c1c02597e0d2e5c5fbf9bab1b91
index a2ac60b239d0ba82cff690539d82b849f617d28f..2f4a7c174869ea41c6dcf54520dc2a8611f1c34e 100755 (executable)
@@ -114,11 +114,10 @@ sub make_j_d ()
 }
 
 my @v_files = (
-    '.A', '.Z', '.a', '.z', '.zz~', '.zz', '.zz.~1~',
-    '.0', '.9', '.zz.0',
+    '.0', '.9',
+    '.A', '.Z', '.a', '.z', '.zz~', '.zz', '.zz.~1~', '.zz.0',
      '0',  '9',
-     'A',  'Z',  'a',  'z',  'zz~',  'zz',  'zz.~1~',
-     'zz.0');
+     'A',  'Z',  'a',  'z',  'zz~',  'zz',  'zz.~1~',  'zz.0');
 my $exe_in_subdir = {PRE => sub { make_j_d (); push_ls_colors('ex=01;32') }};
 my $remove_j = {POST => sub {unlink 'j/d' or die "j/d: $!\n";
                              rmdir 'j' or die "j: $!\n";