coreutils: update to 9.4

patches were copied from CygWin.
This commit is contained in:
مهدي شينون (Mehdi Chinoune)
2023-09-19 19:36:52 +01:00
parent 225c968276
commit ddf66eac75
32 changed files with 1184 additions and 1143 deletions

View File

@@ -0,0 +1,12 @@
--- origsrc/src/chroot.c 2016-11-06 16:15:29.000000000 -0600
+++ src/src/chroot.c 2017-02-03 13:32:48.741217700 -0600
@@ -171,7 +171,8 @@ static bool
is_root (const char* dir)
{
char *resolved = canonicalize_file_name (dir);
- bool is_res_root = resolved && STREQ ("/", resolved);
+ bool is_res_root = resolved && (STREQ ("/", resolved)
+ || STREQ ( "//", resolved));
free (resolved);
return is_res_root;
}