Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: broken random variable
- X-seq: zsh-workers 44856
- From: Mikael Magnusson <mikachu@xxxxxxxxx>
- To: ". ." <apatiskogen@xxxxxxxxxx>
- Subject: Re: broken random variable
- Date: Sat, 19 Oct 2019 16:31:50 +0200
- Cc: zsh-workers@xxxxxxx
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=TOstQtqTUv0ar+XrUnne7oczc2ngH1+B0Pv2vpjEhX0=; b=IBti3LFI6+oFSnFej0jo07EzcHGxvUFNjT6Jgs7jSnPLSjLYlbZypOhXHtckMMrKOf gvt6gjrp2xjv+vxhpbvtrtTQKDpVRwb9C9ZMvXF7Bkj/I7nrFu4Bmdp5Sz3p2IQJXLsN zG8cqLPcfYiCUKpBajWtDjCl9Me+R920gXKXU99OkjtvY1KGIPLro1ipDK4KN+3vgtef QH2n/Ew7pZGyR0ZbNKgEGcyc2WQs824LAI3VvE186h+sXdgTzJ+XMu3rO9AfFk2kXf1C 2k6nQSDHLOjKr7LODrhTGVDrpJVzw6JBIDnH58OWDKoW465JgeA5U/0wldcFSQFVWMwA EixA==
- In-reply-to: <8724321571463531@myt3-a2a42ac8caa6.qloud-c.yandex.net>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- List-unsubscribe: <mailto:zsh-workers-unsubscribe@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <8724321571463531@myt3-a2a42ac8caa6.qloud-c.yandex.net>
On 10/19/19, . . <apatiskogen@xxxxxxxxxx> wrote:
> Hello, zsh-workers
>
> PS: I would recommend using "arc4random" on OpenBSD if that is at all
> possible.
OpenBSD actually incorrectly does this by default for rand() and we
had to go to some lengths to disable that misfeature. If you use old
versions of zsh[1] on new versions of OpenBSD, it will incorrectly
behave as you expect.
[1] http://www.zsh.org/mla/workers/2016/msg01503.html
--
Mikael Magnusson
Messages sorted by:
Reverse Date,
Date,
Thread,
Author