Skip to content
Snippets Groups Projects

utils: fix seeding of the random generator

Merged Vladimír Čunát requested to merge rand_uint into master

If the fread didn't read all in one go, the buffer was being repeatedly overwritten from the start instead of continuing the read :-/

I also changed the overall approach in some respects.

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply