From owner-cvs-src@FreeBSD.ORG Sun Oct 3 15:34:15 2004 Return-Path: <owner-cvs-src@FreeBSD.ORG> Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7B8AA16A4CE; Sun, 3 Oct 2004 15:34:15 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5DF2043D1D; Sun, 3 Oct 2004 15:34:15 +0000 (GMT) (envelope-from stefanf@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.11/8.12.11) with ESMTP id i93FYFNC086321; Sun, 3 Oct 2004 15:34:15 GMT (envelope-from stefanf@repoman.freebsd.org) Received: (from stefanf@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id i93FYF5r086320; Sun, 3 Oct 2004 15:34:15 GMT (envelope-from stefanf) Message-Id: <200410031534.i93FYF5r086320@repoman.freebsd.org> From: Stefan Farfeleder <stefanf@FreeBSD.org> Date: Sun, 3 Oct 2004 15:34:15 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/games/random random.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree <cvs-src.freebsd.org> List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/cvs-src>, <mailto:cvs-src-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/cvs-src> List-Post: <mailto:cvs-src@freebsd.org> List-Help: <mailto:cvs-src-request@freebsd.org?subject=help> List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/cvs-src>, <mailto:cvs-src-request@freebsd.org?subject=subscribe> X-List-Received-Date: Sun, 03 Oct 2004 15:34:15 -0000 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