- 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:
Owen Clarke 2011-07-01 09:04:52 -04:00 committed by Paul Beckingham
parent fd484ee264
commit 3af5194442
2 changed files with 3 additions and 1 deletions

View file

@ -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.

View file

@ -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);