[PATCH] doc: clarify which ls color attributes don't apply to dirs

2024-08-03 Thread Pádraig Brady
* src/dircolors.hin: Clarify that SETUID, SETGID, CAPABILITY, and EXEC coloring, only apply to regular files. --- src/dircolors.hin | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/dircolors.hin b/src/dircolors.hin index 58297e8bb..833609fb2 100644 --- a/src/dircolor

[PATCH] doc: reference 'dircolors invocation' from ls --color info

2024-08-03 Thread Pádraig Brady
* doc/coreutils.texi: Reference how to configure colors, from the ls --color description. --- doc/coreutils.texi | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/coreutils.texi b/doc/coreutils.texi index a23977910..00e401cbd 100644 --- a/doc/coreutils.texi +++ b/doc/coreutils.texi @@ -8322,

[PATCH] tests: ensure utils support writing to a closed pipe

2024-08-03 Thread Pádraig Brady
* tests/misc/write-errors.sh: A closed pipe is a common scenario, and should not induce an error. The general case is discussed at: https://www.pixelbeat.org/programming/sigpipe_handling.html --- tests/misc/write-errors.sh | 5 + 1 file changed, 5 insertions(+) diff --git a/tests/misc/write-

[PATCH] tests: limits mem usage on potentially expensive test

2024-08-03 Thread Pádraig Brady
* tests/misc/write-errors.sh: Limit mem usage if possible, as some implementations may use unbounded memory for the tests cases used here. --- tests/misc/write-errors.sh | 16 +--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/tests/misc/write-errors.sh b/tests/misc/wr