Bug 32586 - games-emulation/daphne creates non-dotfiles in the users homedir
Bug#: 32586 Product:  Gentoo Linux Version: 1.4_rc1 Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: games@gentoo.org Reported By: joker@gentoo.org
Component: Games
URL: 
Summary: games-emulation/daphne creates non-dotfiles in the users homedir
Keywords:  
Status Whiteboard: 
Opened: 2003-11-02 17:30 0000
Description:   Opened: 2003-11-02 17:30 0000
Because of a recent patch which does add "chdir(getenv("HOME"));" daphne starts
creating files like userid.bin directly in the users home dir where they don't
belong.


Reproducible: Always
Steps to Reproduce:
1.start daphne with a game (i've used dl and ace)
2.
3.

Actual Results:  
a new file named userid.bin is directly in $HOME

Expected Results:  
should put it somewhere else maybe $HOME/.daphne/userid.bin

Maybe it should use $HOME/.daphne/ also for dapinput.ini etc.
this would be the perfect solution. The chdir command from the
patch could cd into that dir but it would be needed that this
dir gets created if it doesn't exist.

It would be already enough if the app wouldn't cd into $HOME so
old wrapper scripts which cd into $HOME/.daphne before launching
the emu still work.

------- Comment #1 From SpanKY 2003-11-04 00:11:31 0000 -------
there was no wrapper script before ...

but at anyrate, the code now creates ~/.daphne and chdir's to that