mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
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:
parent
fd484ee264
commit
3af5194442
2 changed files with 3 additions and 1 deletions
|
@ -126,6 +126,8 @@
|
|||
are not used.
|
||||
+ Fixed bug #792, #793, #794 and #795, so that cmake now recognizes and builds
|
||||
on Solaris (thanks to Owen Clarke).
|
||||
+ Fixed bug #797 which corrects a build problem with 'srandom' (thanks to Owen
|
||||
Clarke).
|
||||
|
||||
# Untracked Bugs, biggest first.
|
||||
+ 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));
|
||||
#endif
|
||||
#else
|
||||
#ifdef HAVE_SRANDOM
|
||||
struct timeval tv;
|
||||
gettimeofday (&tv, NULL);
|
||||
#ifdef HAVE_SRANDOM
|
||||
srandom (tv.tv_usec);
|
||||
#else
|
||||
srand (tv.tv_usec);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue