Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 32586 - games-emulation/daphne creates non-dotfiles in the users homedir
Summary: games-emulation/daphne creates non-dotfiles in the users homedir
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-02 17:30 UTC by Christian Birchinger (RETIRED)
Modified: 2003-11-04 00:11 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Birchinger (RETIRED) gentoo-dev 2003-11-02 17:30:36 UTC
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 SpanKY gentoo-dev 2003-11-04 00:11:31 UTC
there was no wrapper script before ...

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