cvs commit: src/games/fortune/fortune fortune.c

Greg Lehey grog at FreeBSD.org
Sat Jul 23 01:46:51 GMT 2005


grog        2005-07-23 01:46:50 UTC

  FreeBSD src repository

  Modified files:
    games/fortune/fortune fortune.c 
  Log:
  Use a random number to seed the random number generator.  Goodby, Rush
  Limbaugh.
  
  This should have already worked properly if random(4) has been
  initialized correctly, but it seems that this is frequently not the
  case.  Instead, use the microsecond part of the current time as the
  seed.
  
  Revision  Changes    Path
  1.28      +3 -1      src/games/fortune/fortune/fortune.c


More information about the cvs-src mailing list