Your message dated Fri, 08 Feb 2008 07:17:02 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#428910: fixed in tome 2.3.4-2
has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--- Begin Message ---
Package: tome
Version: 2.3.4-1
Severity: important
Tags: patch
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)
Kernel: Linux 2.6.18 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash-minimal
Versions of packages tome depends on:
ii libc6 2.5-11 GNU C Library: Shared libraries
ii libncurses5 5.5-5 Shared libraries for terminal hand
ii libx11-6 2:1.0.3-7 X11 client-side library
ii libxaw7 1:1.0.3-3 X11 Athena Widget library
ii libxmu6 1:1.0.3-1 X11 miscellaneous utility library
ii libxt6 1:1.0.5-2 X11 toolkit intrinsics library
tome recommends no packages.
-- no debconf information
When playing optional modules (downloadable from modules.t-o-m-e.net),
the directory for loading/saving game files is not correctly
initialized. As a result, games and user preferences cannot be saved.
A simple patch to the src/modules.c file fixes the problem.
diff -ur tome-2.3.4/src/modules.c tome-2.3.4-patched/src/modules.c
--- tome-2.3.4/src/modules.c 2006-10-21 19:04:26.000000000 -0400
+++ tome-2.3.4-patched/src/modules.c 2007-06-14 22:23:23.000000000 -0400
@@ -14,13 +14,13 @@
#ifdef PRIVATE_USER_PATH
-static void module_reset_dir_aux(cptr dir, cptr new_path)
+static void module_reset_dir_aux(cptr *dir, cptr new_path)
{
char buf[1025];
- cptr *d = &dir;
+ cptr *d = dir;
/* Build the new path */
- strnfmt(buf, 1024, "%s%s%s", dir, PATH_SEP, new_path);
+ strnfmt(buf, 1024, "%s%s%s", *dir, PATH_SEP, new_path);
string_free(*d);
*d = string_make(buf);
@@ -75,12 +75,12 @@
#ifdef PRIVATE_USER_PATH_DATA
else if (!strcmp(dir, "data"))
{
- module_reset_dir_aux(ANGBAND_DIR_DATA, new_path);
+ module_reset_dir_aux(&ANGBAND_DIR_DATA, new_path);
}
#endif
else if (!strcmp(dir, "save"))
{
- module_reset_dir_aux(ANGBAND_DIR_SAVE, new_path);
+ module_reset_dir_aux(&ANGBAND_DIR_SAVE, new_path);
/* Tell the savefile code that we must not use setuid */
savefile_setuid = FALSE;
--- End Message ---
--- Begin Message ---
Source: tome
Source-Version: 2.3.4-2
We believe that the bug you reported is fixed in the latest version of
tome, which is due to be installed in the Debian FTP archive:
tome_2.3.4-2.diff.gz
to pool/non-free/t/tome/tome_2.3.4-2.diff.gz
tome_2.3.4-2.dsc
to pool/non-free/t/tome/tome_2.3.4-2.dsc
tome_2.3.4-2_amd64.deb
to pool/non-free/t/tome/tome_2.3.4-2_amd64.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Manoj Srivastava <[EMAIL PROTECTED]> (supplier of updated tome package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.7
Date: Fri, 08 Feb 2008 00:38:49 -0600
Source: tome
Binary: tome
Architecture: source amd64
Version: 2.3.4-2
Distribution: unstable
Urgency: low
Maintainer: Manoj Srivastava <[EMAIL PROTECTED]>
Changed-By: Manoj Srivastava <[EMAIL PROTECTED]>
Description:
tome - A single-player, text-based, dungeon simulation game.
Closes: 428910
Changes:
tome (2.3.4-2) unstable; urgency=low
.
* Added patch to allow saving games when playing optional modules. Patch
from Bob Vincent Closes: #428910
Files:
b7fdaf3503770352e106d6b7aaa3171b 772 non-free/games optional tome_2.3.4-2.dsc
6faaf27430553f83bb3cd8ff783d8421 35305 non-free/games optional
tome_2.3.4-2.diff.gz
8ffb9d95607aa8176f7ee103a5365850 2503562 non-free/games optional
tome_2.3.4-2_amd64.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFHq/3AIbrau78kQkwRArcsAKCdVL39ke3k8WVLql05t/btMAmnFQCg+qcL
v7Lhy3JDXgYuxK/Vqiz+2ME=
=NlRi
-----END PGP SIGNATURE-----
--- End Message ---