bug#39364: [PATCH] rmdir: fix clobbered errno

2020-02-02 Thread Jim Meyering
On Sun, Feb 2, 2020 at 5:11 AM Bernhard Voelker wrote: > On 2020-02-02 07:32, Jim Meyering wrote: > > FTR, here's a minimal test addition that exercises the bug. Succeeds > > on 6.10, fails on 6.11: > > Minor tweak for the test ... > > -rmdir --ignore-fail-on-non-empty x/y && fail=1 > +returns_ 1

[PATCH] build: update to latest gnulib

2020-02-02 Thread Pádraig Brady
Pick up recent build fixes to avoid sysctl.h inclusion on glibc systems, and to restrict the max file size supported by read-file to PTRDIFF_MAX. --- gnulib | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnulib b/gnulib index 7d0693789..bf718ebcb 16 --- a/gnulib +++

Re: [rfc] nosig: new program to compliment nohup

2020-02-02 Thread Pádraig Brady
On 02/02/2020 16:48, Mike Frysinger wrote: i had need of a nohup-like program, but for a different signal. i ended up writing a util called "nosig" that allows full control over signal settings before execing another program: https://vapier.github.io/nosig/

[rfc] nosig: new program to compliment nohup

2020-02-02 Thread Mike Frysinger
i had need of a nohup-like program, but for a different signal. i ended up writing a util called "nosig" that allows full control over signal settings before execing another program: https://vapier.github.io/nosig/ https://vapier.github.io/nosig/man.html i figure expanding nohup won't work

[PATCH] build: avoid vector performance warnings in randperm

2020-02-02 Thread Pádraig Brady
* configure.ac: Add -Wno-vector-operation-performance to suppress the following gcc-9.2 error in gl/lib/randperm.c: error: vector operation will be expanded piecewise --- configure.ac | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configure.ac b/configure.ac index 54af03281..4eab50f1d

[PATCH] build: avoid including sysctl.h on glibc

2020-02-02 Thread Pádraig Brady
* src/uname.c: Avoid unneeded header with GLIBC, which has been deprecated since glibc-2.30. * src/uptime.c: Likewise. --- src/uname.c | 2 +- src/uptime.c | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/uname.c b/src/uname.c index 63758c244..4065bf29e 100644 ---