Re: FIFO race condition on SunOS kernels

2019-01-02 Thread Clark Wang
On Wed, Jan 2, 2019 at 8:38 PM Vladimir Marek wrote: > > > > Thanks, that's good to have confirmed! It was hoping as much -- it would > > have been hard to believe that something this basic is broken on Solaris > in > > general. > > Heh :) I am heavy shell scripter/user and I have found multiple

Re: Unset builtin not respecting single quotes / doing its own dereferencing

2019-01-02 Thread Chet Ramey
On 1/2/19 5:55 AM, bitbuc...@mailbox.org wrote: >Bash Version: 4.4 >Patch Level: 19 >Release Status: release >Description: >When unsetting elements of an associative array, unset does not respect >the quoting rules, and does its own dereferencing. The behaviour >

Re: [Help-bash] How to run tests/?

2019-01-02 Thread Peng Yu
> Have you tried 'make test'? No, I didn't. I didn't know it was a target. I just followed the README in that directory. -- Regards, Peng

Unset builtin not respecting single quotes / doing its own dereferencing

2019-01-02 Thread bitbucket
Configuration Information [Automatically generated, do not change]: Machine: x86_64 OS: linux-gnu Compiler: gcc Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64' -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='x86_64-pc-linux-gnu' -DCONF_VENDOR='pc'

Re: $RANDOM not Cryptographically secure pseudorandom number generator

2019-01-02 Thread Luuk
On 2-1-2019 02:29, Ole Tange wrote: On Mon, Dec 31, 2018 at 8:12 PM Chet Ramey wrote: : Thanks for the patch. I'll take a look after I release bash-5.0. One question: can you reproduce the same random sequence by using the same seed? That's for backwards compatibility, even if the sequences

Re: FIFO race condition on SunOS kernels

2019-01-02 Thread Vladimir Marek
Hi, I gave it second look. I think it could be a flaw in your script after all. = a.sh = tmpdir=/var/tmp/FIFOs$$ trap "exec rm -rf $tmpdir" EXIT INT TERM PIPE mkdir "$tmpdir" || exit i=0; while test "$((i+=1))" -le 100; do