← Back to team overview

millennium-dev team mailing list archive

[Bug 1207743] [NEW] Shuffling a CCardStack calls srand(...) every time

 

Public bug reported:

A closer look to CCardStack shows that it resets the main seed every
time it is called. This significantly reduces randomness in cases when
many things are shuffled within the same second. The seed should be set
just once.

** Affects: libmillennium
     Importance: Medium
         Status: New

-- 
You received this bug notification because you are a member of
Millennium Developers, which is subscribed to libMillennium.
https://bugs.launchpad.net/bugs/1207743

Title:
  Shuffling a CCardStack calls srand(...) every time

Status in libMillennium:
  New

Bug description:
  A closer look to CCardStack shows that it resets the main seed every
  time it is called. This significantly reduces randomness in cases when
  many things are shuffled within the same second. The seed should be
  set just once.

To manage notifications about this bug go to:
https://bugs.launchpad.net/libmillennium/+bug/1207743/+subscriptions


Follow ups

References