mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-10 11:14:05 +02:00
Fixed bug. Thanks to Marko Kreen <marko@l-t.ee> for reporting that.
2000-04-07 Sebastian Wilhelmi <wilhelmi@ira.uka.de> * grand.c (g_rand_new): Fixed bug. Thanks to Marko Kreen <marko@l-t.ee> for reporting that.
This commit is contained in:
committed by
Sebastian Wilhelmi
parent
7bc57ad22a
commit
028a71701c
@@ -1,3 +1,8 @@
|
|||||||
|
2000-04-07 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
||||||
|
|
||||||
|
* grand.c (g_rand_new): Fixed bug. Thanks to Marko Kreen
|
||||||
|
<marko@l-t.ee> for reporting that.
|
||||||
|
|
||||||
2000-03-26 Tor Lillqvist <tml@iki.fi>
|
2000-03-26 Tor Lillqvist <tml@iki.fi>
|
||||||
|
|
||||||
* README.win32: Tell about using the mingw-based gcc, which is
|
* README.win32: Tell about using the mingw-based gcc, which is
|
||||||
|
@@ -1,3 +1,8 @@
|
|||||||
|
2000-04-07 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
||||||
|
|
||||||
|
* grand.c (g_rand_new): Fixed bug. Thanks to Marko Kreen
|
||||||
|
<marko@l-t.ee> for reporting that.
|
||||||
|
|
||||||
2000-03-26 Tor Lillqvist <tml@iki.fi>
|
2000-03-26 Tor Lillqvist <tml@iki.fi>
|
||||||
|
|
||||||
* README.win32: Tell about using the mingw-based gcc, which is
|
* README.win32: Tell about using the mingw-based gcc, which is
|
||||||
|
@@ -1,3 +1,8 @@
|
|||||||
|
2000-04-07 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
||||||
|
|
||||||
|
* grand.c (g_rand_new): Fixed bug. Thanks to Marko Kreen
|
||||||
|
<marko@l-t.ee> for reporting that.
|
||||||
|
|
||||||
2000-03-26 Tor Lillqvist <tml@iki.fi>
|
2000-03-26 Tor Lillqvist <tml@iki.fi>
|
||||||
|
|
||||||
* README.win32: Tell about using the mingw-based gcc, which is
|
* README.win32: Tell about using the mingw-based gcc, which is
|
||||||
|
@@ -1,3 +1,8 @@
|
|||||||
|
2000-04-07 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
||||||
|
|
||||||
|
* grand.c (g_rand_new): Fixed bug. Thanks to Marko Kreen
|
||||||
|
<marko@l-t.ee> for reporting that.
|
||||||
|
|
||||||
2000-03-26 Tor Lillqvist <tml@iki.fi>
|
2000-03-26 Tor Lillqvist <tml@iki.fi>
|
||||||
|
|
||||||
* README.win32: Tell about using the mingw-based gcc, which is
|
* README.win32: Tell about using the mingw-based gcc, which is
|
||||||
|
@@ -1,3 +1,8 @@
|
|||||||
|
2000-04-07 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
||||||
|
|
||||||
|
* grand.c (g_rand_new): Fixed bug. Thanks to Marko Kreen
|
||||||
|
<marko@l-t.ee> for reporting that.
|
||||||
|
|
||||||
2000-03-26 Tor Lillqvist <tml@iki.fi>
|
2000-03-26 Tor Lillqvist <tml@iki.fi>
|
||||||
|
|
||||||
* README.win32: Tell about using the mingw-based gcc, which is
|
* README.win32: Tell about using the mingw-based gcc, which is
|
||||||
|
@@ -1,3 +1,8 @@
|
|||||||
|
2000-04-07 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
||||||
|
|
||||||
|
* grand.c (g_rand_new): Fixed bug. Thanks to Marko Kreen
|
||||||
|
<marko@l-t.ee> for reporting that.
|
||||||
|
|
||||||
2000-03-26 Tor Lillqvist <tml@iki.fi>
|
2000-03-26 Tor Lillqvist <tml@iki.fi>
|
||||||
|
|
||||||
* README.win32: Tell about using the mingw-based gcc, which is
|
* README.win32: Tell about using the mingw-based gcc, which is
|
||||||
|
@@ -1,3 +1,8 @@
|
|||||||
|
2000-04-07 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
||||||
|
|
||||||
|
* grand.c (g_rand_new): Fixed bug. Thanks to Marko Kreen
|
||||||
|
<marko@l-t.ee> for reporting that.
|
||||||
|
|
||||||
2000-03-26 Tor Lillqvist <tml@iki.fi>
|
2000-03-26 Tor Lillqvist <tml@iki.fi>
|
||||||
|
|
||||||
* README.win32: Tell about using the mingw-based gcc, which is
|
* README.win32: Tell about using the mingw-based gcc, which is
|
||||||
|
@@ -1,3 +1,8 @@
|
|||||||
|
2000-04-07 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
||||||
|
|
||||||
|
* grand.c (g_rand_new): Fixed bug. Thanks to Marko Kreen
|
||||||
|
<marko@l-t.ee> for reporting that.
|
||||||
|
|
||||||
2000-03-26 Tor Lillqvist <tml@iki.fi>
|
2000-03-26 Tor Lillqvist <tml@iki.fi>
|
||||||
|
|
||||||
* README.win32: Tell about using the mingw-based gcc, which is
|
* README.win32: Tell about using the mingw-based gcc, which is
|
||||||
|
@@ -85,8 +85,6 @@ g_rand_new (void)
|
|||||||
if (dev_urandom)
|
if (dev_urandom)
|
||||||
{
|
{
|
||||||
if (fread (&seed, sizeof (seed), 1, dev_urandom) != 1)
|
if (fread (&seed, sizeof (seed), 1, dev_urandom) != 1)
|
||||||
seed = 0;
|
|
||||||
else
|
|
||||||
dev_urandom_exists = FALSE;
|
dev_urandom_exists = FALSE;
|
||||||
fclose (dev_urandom);
|
fclose (dev_urandom);
|
||||||
}
|
}
|
||||||
|
2
grand.c
2
grand.c
@@ -85,8 +85,6 @@ g_rand_new (void)
|
|||||||
if (dev_urandom)
|
if (dev_urandom)
|
||||||
{
|
{
|
||||||
if (fread (&seed, sizeof (seed), 1, dev_urandom) != 1)
|
if (fread (&seed, sizeof (seed), 1, dev_urandom) != 1)
|
||||||
seed = 0;
|
|
||||||
else
|
|
||||||
dev_urandom_exists = FALSE;
|
dev_urandom_exists = FALSE;
|
||||||
fclose (dev_urandom);
|
fclose (dev_urandom);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user