Re: bash loses control of jobs inside a command substitution

2019-11-22 Thread Chet Ramey
On 11/20/19 9:54 AM, Robert Elz wrote: Date:Tue, 19 Nov 2019 16:51:12 -0300 From:Luiz Angelo Daros de Luca Message-ID: | And two related features requests: 1) It seems that pids args are ignored | by wait when '-n' is specified. However, it would be a nic

Re: 5.0.11 is missing #ifdefs on CLOEXEC

2019-11-22 Thread Chet Ramey
On 11/22/19 10:04 AM, H.Merijn Brand wrote: HP-UX 11.23/ia64 using GNU gcc-4.6.1 does not know about O_CLOEXEC Thanks for the report. There's a better patch in the devel branch. Chet -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - H

5.0.11 is missing #ifdefs on CLOEXEC

2019-11-22 Thread H.Merijn Brand
HP-UX 11.23/ia64 using GNU gcc-4.6.1 does not know about O_CLOEXEC --8<--- --- examples/loadables/fdflags.c.org2019-11-22 16:03:07 + +++ examples/loadables/fdflags.c2019-11-22 16:00:54 + @@ -113,8 +113,10 @@ getflags(int fd, int p) return -1; } +#ifdef O_CLOEXEC

Re: Fwd: Don't set $?=130 when discarding the current command line (not run yet) with CTRL-C?

2019-11-22 Thread Clark Wang
On Fri, Nov 22, 2019 at 12:02 AM Chet Ramey wrote: > > This behavior dates from at least 2009 and was added at user request so > they could tell exactly that: whether or not entering the last command had > been interrupted by a signal. > Curious why people care about this? -clark