2010-04-22 19:34:06 +00:00
|
|
|
$OpenBSD: patch-glib_grand_c,v 1.2 2010/04/22 19:34:06 ajacoutot Exp $
|
|
|
|
--- glib/grand.c.orig Wed Mar 17 21:55:34 2010
|
|
|
|
+++ glib/grand.c Sun Mar 28 07:51:43 2010
|
|
|
|
@@ -223,7 +223,7 @@ g_rand_new (void)
|
2007-09-13 10:51:13 +00:00
|
|
|
do
|
|
|
|
{
|
|
|
|
errno = 0;
|
|
|
|
- dev_urandom = fopen("/dev/urandom", "rb");
|
|
|
|
+ dev_urandom = fopen("/dev/arandom", "rb");
|
|
|
|
}
|
|
|
|
while G_UNLIKELY (errno == EINTR);
|
|
|
|
|