Bug #797
- Fixed bug #797 which corrects a build problem with 'srandom' (thanks to Owen Clarke). Signed-off-by: Paul Beckingham <paul@beckingham.net>
This commit is contained in:
committed by
Paul Beckingham
parent
fd484ee264
commit
3af5194442
@@ -126,6 +126,8 @@
|
|||||||
are not used.
|
are not used.
|
||||||
+ Fixed bug #792, #793, #794 and #795, so that cmake now recognizes and builds
|
+ Fixed bug #792, #793, #794 and #795, so that cmake now recognizes and builds
|
||||||
on Solaris (thanks to Owen Clarke).
|
on Solaris (thanks to Owen Clarke).
|
||||||
|
+ Fixed bug #797 which corrects a build problem with 'srandom' (thanks to Owen
|
||||||
|
Clarke).
|
||||||
|
|
||||||
# Untracked Bugs, biggest first.
|
# Untracked Bugs, biggest first.
|
||||||
+ Fixed bug that required the '%YAML' prologue in a YAML import.
|
+ Fixed bug that required the '%YAML' prologue in a YAML import.
|
||||||
|
|||||||
@@ -52,9 +52,9 @@ int main (int argc, const char** argv)
|
|||||||
srand (time (NULL));
|
srand (time (NULL));
|
||||||
#endif
|
#endif
|
||||||
#else
|
#else
|
||||||
#ifdef HAVE_SRANDOM
|
|
||||||
struct timeval tv;
|
struct timeval tv;
|
||||||
gettimeofday (&tv, NULL);
|
gettimeofday (&tv, NULL);
|
||||||
|
#ifdef HAVE_SRANDOM
|
||||||
srandom (tv.tv_usec);
|
srandom (tv.tv_usec);
|
||||||
#else
|
#else
|
||||||
srand (tv.tv_usec);
|
srand (tv.tv_usec);
|
||||||
|
|||||||
Reference in New Issue
Block a user