Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Feb 2003 00:41:58 -0500 (EST)
From:      tom <tom@uffner.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/48130: games/falconseye can't save games or bones files
Message-ID:  <200302100541.h1A5fw8p097581@discordia.uffner.com>

next in thread | raw e-mail | index | archive | help

>Number:         48130
>Category:       ports
>Synopsis:       games/falconseye can't save games or bones files
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Feb 09 21:50:04 PST 2003
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports-bugs" in the body of the message




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