From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Feb 19 19:40:17 2004 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EF28C16A4CF for ; Thu, 19 Feb 2004 19:40:16 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id CE42C43D1D for ; Thu, 19 Feb 2004 19:40:16 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i1K3eGbv021237 for ; Thu, 19 Feb 2004 19:40:16 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id i1K3eG08021236; Thu, 19 Feb 2004 19:40:16 -0800 (PST) (envelope-from gnats) Resent-Date: Thu, 19 Feb 2004 19:40:16 -0800 (PST) Resent-Message-Id: <200402200340.i1K3eG08021236@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Hendrik Scholz Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5A6C216A4CE for ; Thu, 19 Feb 2004 19:38:40 -0800 (PST) Received: from mail.atl.us.wormulon.net (unknown [63.223.8.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id 41CE843D1D for ; Thu, 19 Feb 2004 19:38:40 -0800 (PST) (envelope-from hscholz@slurmcan.wormulon.net) Received: from localhost (unknown [63.223.8.130]) by mail.atl.us.wormulon.net (Postfix) with ESMTP id 40A2B5D9A1; Thu, 19 Feb 2004 22:39:15 -0500 (EST) Received: from mail.atl.us.wormulon.net ([63.223.8.130]) by localhost (plant.wormulon.net [63.223.8.130]) (amavisd-new, port 10024) with ESMTP id 00887-04; Thu, 19 Feb 2004 22:39:14 -0500 (EST) Received: from slurmcan.wormulon.net (unknown [63.223.7.6]) by mail.atl.us.wormulon.net (Postfix) with ESMTP id 48BE95D99F; Thu, 19 Feb 2004 22:39:14 -0500 (EST) Received: by slurmcan.wormulon.net (Postfix, from userid 1001) id 3E1DF39845; Thu, 19 Feb 2004 22:38:56 -0500 (EST) Message-Id: <20040220033856.3E1DF39845@slurmcan.wormulon.net> Date: Thu, 19 Feb 2004 22:38:56 -0500 (EST) From: Hendrik Scholz To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 cc: axis3x3@users.sourceforge.net Subject: ports/63105: bento-fix: games/gnomeattacks X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Hendrik Scholz List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Feb 2004 03:40:17 -0000 >Number: 63105 >Category: ports >Synopsis: bento-fix: games/gnomeattacks >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Feb 19 19:40:16 PST 2004 >Closed-Date: >Last-Modified: >Originator: Hendrik Scholz >Release: FreeBSD 5.2.1-RC amd64 >Organization: >Environment: System: FreeBSD slurmcan.wormulon.net 5.2.1-RC FreeBSD 5.2.1-RC #0: Sat Jan 31 12:38:34 GMT 2004 root@ngoc.NUXI.com:/usr/obj/usr/src/sys/GENERIC amd64 >Description: Fix gnomeattacks as found by bento on http://bento.freebsd.org/errorlogs/amd64-5-full/gnomeattacks-0.3.log (valid for all platforms) Changes: - add levelset_get_file_name() prototype to game.c - remove va_list = NULL assignment (not shown in man stdarg(3) example so this should be save :) - add attached patch to files/ CC'ed to Andy (author) >How-To-Repeat: >Fix: --- patch-src:game.c begins here --- --- src/game.c.orig Thu Feb 19 22:33:32 2004 +++ src/game.c Thu Feb 19 22:33:44 2004 @@ -15,6 +15,7 @@ #include "graphics.h" #include "hiscore.h" +GString* levelset_get_file_name( gchar* file_name ); /** * Set up a random seed and set the levels to the first ones. @@ -271,8 +272,6 @@ va_list varptr; gchar msg[255]; - - varptr = NULL; va_start( varptr, format ); --- patch-src:game.c ends here --- >Release-Note: >Audit-Trail: >Unformatted: