From tom@uffner.com  Sun Feb  9 21:42:01 2003
Return-Path: <tom@uffner.com>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 6DDEF37B401
	for <FreeBSD-gnats-submit@freebsd.org>; Sun,  9 Feb 2003 21:42:01 -0800 (PST)
Received: from discordia.uffner.com (216-158-43-107.wlm.dca.net [216.158.43.107])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 144CD43FCB
	for <FreeBSD-gnats-submit@freebsd.org>; Sun,  9 Feb 2003 21:42:00 -0800 (PST)
	(envelope-from tom@uffner.com)
Received: from discordia.uffner.com (localhost [IPv6:::1])
	by discordia.uffner.com (8.12.6/8.12.6) with ESMTP id h1A5fxlV097582
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 10 Feb 2003 00:41:59 -0500 (EST)
	(envelope-from tom@discordia.uffner.com)
Received: (from tom@localhost)
	by discordia.uffner.com (8.12.6/8.12.6/Submit) id h1A5fw8p097581;
	Mon, 10 Feb 2003 00:41:58 -0500 (EST)
Message-Id: <200302100541.h1A5fw8p097581@discordia.uffner.com>
Date: Mon, 10 Feb 2003 00:41:58 -0500 (EST)
From: tom <tom@uffner.com>
Reply-To: tom <tom@uffner.com>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: games/falconseye can't save games or bones files
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         48130
>Category:       ports
>Synopsis:       games/falconseye can't save games or bones files
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    kris
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Feb 09 21:50:04 PST 2003
>Closed-Date:    Fri Jan 09 23:28:07 PST 2004
>Last-Modified:  Fri Jan 09 23:28:07 PST 2004
>Originator:     tom
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD discordia.uffner.com 5.0-CURRENT FreeBSD 5.0-CURRENT #36: Thu Jan 2 06:05:46 EST 2003 root@discordia.uffner.com:/usr/obj/usr/src/sys/DISCORDIA i386


>Description:
	after a few minutes of play it becomes very unlikely that you
	can save the game. freopen fails. this problem is discussed at
	http://pub78.ezboard.com/fnethackfalconseyefrm2.showMessage?topicID=44.topic
>How-To-Repeat:
	see above
>Fix:

	it is apparently related to the game failing to free resources used
	by playing music and sound effects. this patch appears to solve the
	problem.


*** win/jtp/jtp_sdl.c.orig      Sat Feb  8 17:23:47 2003
--- win/jtp/jtp_sdl.c   Sat Feb  8 17:32:00 2003
***************
*** 130,136 ****
--- 130,139 ----
    if (sig_id == SIGCHLD)
    {
      if (jtp_sdl_music_player_pid > 0)
+     {
        kill(jtp_sdl_music_player_pid, SIGKILL);
+       waitpid(jtp_sdl_music_player_pid, NULL, 0);
+     }
      jtp_sdl_music_player_pid = -1;
    }
  }



>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->kris 
Responsible-Changed-By: naddy 
Responsible-Changed-When: Fri Feb 14 08:15:43 PST 2003 
Responsible-Changed-Why:  
Over to maintainer. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=48130 
State-Changed-From-To: open->closed 
State-Changed-By: edwin 
State-Changed-When: Fri Jan 9 23:28:05 PST 2004 
State-Changed-Why:  
Commited, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=48130 
>Unformatted:
