Re: FIFO race condition on SunOS kernels

2019-01-01 Thread Vladimir Marek
Hi, > You'd think that establishing a pipe between two processes is a very basic > UNIX feature that should work reliably on all UNIX variants. One would think that _opening_ a file is a very basic UNIX feature ... :) > But the following script seems to break consistently on Solaris and variants

Re: FIFO race condition on SunOS kernels

2019-01-01 Thread Martijn Dekker
Op 01-01-19 om 23:47 schreef Vladimir Marek: [...] That said, I do use VirtualBox 5.1.22r115126 which is pretty old. I recently upgraded to VirtualBox 6.0 on Mac OS X 10.11 and the results are identical. Putting 0.5s delay anywhere in the loop makes the problem disappear. Yes, I'd noticed

Re: $RANDOM not Cryptographically secure pseudorandom number generator

2019-01-01 Thread Ole Tange
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 themselves > differ. Yes. Seeding w

Re: Unexpected delay in using arguments.

2019-01-01 Thread Bize Ma
Chet Ramey () wrote: > It's in CWRU/CWRU.chlog in the development distributions > I am sorry but I have been unable to find either the source code or the change log, either at the university site or by looking with google. However, I have made some tests. Yes, the deeper internal delay with argu

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

2019-01-01 Thread Eduardo Bustamante
On Tue, Jan 1, 2019 at 10:09 PM Eduardo Bustamante wrote: > > On Tue, Jan 1, 2019 at 9:42 PM Eduardo Bustamante wrote: > > > On Tue, Jan 1, 2019, 8:46 PM Peng Yu, wrote: > >> > >> I got the following errors when I try tests/ in the bash source code. > >> Is it because my sh is just bash? Since I