Date: Thu, 19 Feb 2004 22:38:56 -0500 (EST) From: Hendrik Scholz <hendrik@scholz.net> To: FreeBSD-gnats-submit@FreeBSD.org Cc: axis3x3@users.sourceforge.net Subject: ports/63105: bento-fix: games/gnomeattacks Message-ID: <20040220033856.3E1DF39845@slurmcan.wormulon.net> Resent-Message-ID: <200402200340.i1K3eG08021236@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040220033856.3E1DF39845>