Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 May 2005 15:29:01 +0000 (UTC)
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/games/random random.c
Message-ID:  <200505271529.j4RFT1gN094724@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
jhb         2005-05-27 15:29:01 UTC

  FreeBSD src repository

  Modified files:
    games/random         random.c 
  Log:
  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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200505271529.j4RFT1gN094724>