]> err.no Git - varnish/commit
Add a debug CLI command to seed random(3).
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Mon, 10 Nov 2008 09:29:52 +0000 (09:29 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Mon, 10 Nov 2008 09:29:52 +0000 (09:29 +0000)
commitad065fdb38f06b8154230d97e600602f71aea17a
tree516c9c15b1d9583ed556e71545e468aa30454250
parent6902c1a9a357167a571d222492c0f31b74ce2817
Add a debug CLI command to seed random(3).

This is a lot less useful than it could have been, as the Open Group
only mandates that:

Like rand(), random() shall produce by default a sequence
of numbers that can be duplicated by calling srandom() with
1 as the seed.

But crucially leaves out *which* sequence of numbers.

git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@3366 d4fa192b-c00b-0410-8231-f00ffab90ce4
varnish-cache/bin/varnishd/cache_center.c