Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Oct 2004 15:34:15 +0000 (UTC)
From:      Stefan Farfeleder <stefanf@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:  <200410031534.i93FYF5r086320@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
stefanf     2004-10-03 15:34:15 UTC

  FreeBSD src repository

  Modified files:
    games/random         random.c 
  Log:
  Properly initialise 'filename' so that random -l doesn't try to open NULL.
  
  Const-qualify 'filename' to avoid a strdup() call due to -Wwrite-strings
  silliness.
  
  Revision  Changes    Path
  1.16      +4 -5      src/games/random/random.c



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