Re: hash -d 0/1 and other hash stuff

2023-09-13 Thread Chet Ramey
On 9/12/23 8:28 AM, Mike Jonkmans wrote: On Mon, Sep 11, 2023 at 03:25:01PM -0400, Chet Ramey wrote: On 9/6/23 10:55 AM, Mike Jonkmans wrote: The following 'hash -d' statements have different exit statuses. bash --noprofile --norc -c \ 'hash -d ls; echo $?' ## 0

Re: riscv32, qemu-user: semi-functional, what goes wrong?

2023-09-13 Thread Chet Ramey
On 9/12/23 4:17 PM, Andreas K. Huettel wrote: * Something seems wrong in the signal handling (?): --- our package manager (bash/python combo, there bash) hangs reproducibly at one point. --- when I run a console program and try to background it with ctl-z, it hangs (maybe only the first ti

Re: [PATCH] fix [[ -t X ]] segfault

2023-09-13 Thread Chet Ramey
On 9/8/23 12:36 PM, Grisha Levit wrote: Since the change that made `test -t FD' report an error for non-numeric values of FD: $ [[ -t X ]] bash: [[: X: integer expected Segmentation fault Thanks for the report and patch. Chet -- ``The lyf so short, the craft so long to lerne.'' - Chaucer

Re: riscv32, qemu-user: semi-functional, what goes wrong?

2023-09-13 Thread Chet Ramey
On 9/12/23 4:46 PM, Andreas K. Huettel wrote: Am Dienstag, 12. September 2023, 21:55:13 CEST schrieb Chet Ramey: run-posixexp 309d308 < ./posixexp.tests: line 98: syntax error: unexpected end of file Did you remake y.tab.c? And if so, what version of bison did you use? Not deliberately, bu