Bug#476636: alienblaster: Highscore saving broken; "~" is no directory
Johan Walles
johan.walles at gmail.com
Fri Apr 18 05:39:11 UTC 2008
Package: alienblaster
Version: 1.1.0-1
Severity: normal
>From strace alienblaster:
...
open("~/.alienblaster_highscore", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
...
~ is not a directory name. If you type it in bash, it is expanded to the user's $HOME directory.
If you are not in bash, you must use something like getenv("HOME") to find the user's home directory.
Regards //Johan
-- System Information:
Debian Release: lenny/sid
APT prefers testing
APT policy: (990, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.22-3-686 (SMP w/2 CPU cores)
Locale: LANG=sv_SE.UTF-8, LC_CTYPE=sv_SE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages alienblaster depends on:
ii alienblaster-data 1.1.0-1 Game data for Alien Blaster
ii libc6 2.7-10 GNU C Library: Shared libraries
ii libgcc1 1:4.3.0-3 GCC support library
ii libsdl-mixer1.2 1.2.8-3 mixer library for Simple DirectMed
ii libsdl1.2debian 1.2.13-2 Simple DirectMedia Layer
ii libstdc++6 4.3.0-3 The GNU Standard C++ Library v3
alienblaster recommends no packages.
-- no debconf information
More information about the Pkg-games-devel
mailing list