cvs commit: src/games/random random.c

John Baldwin jhb at
Fri May 27 08:29:02 PDT 2005

jhb         2005-05-27 15:29:01 UTC

  FreeBSD src repository

  Modified files:
    games/random         random.c 
  Fix for 64-bit platforms.  random() returns values between 0 and RAND_MAX,
  and RAND_MAX != LONG_MAX on 64-bit platforms.
  PR:             amd64/81279
  Submitted by:   Vivek Khera vivek at khera dot org
  Submitted by:   Adriaan de Groot groot at kde dot org
  MFC after:      1 week
  Revision  Changes    Path
  1.18      +3 -3      src/games/random/random.c

More information about the cvs-all mailing list