[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: address@hidden: gamegrid-add-score fails]
From: |
Oliver Scholz |
Subject: |
Re: address@hidden: gamegrid-add-score fails] |
Date: |
Fri, 28 Feb 2003 11:35:48 +0100 |
User-agent: |
Gnus/5.090016 (Oort Gnus v0.16) Emacs/21.3.50 |
Jesper Harder <address@hidden> writes:
[...]
> Yep. The error occurs because the directory
> `gamegrid-user-score-file-directory' (i.e. '~/.emac.d/games/' on my
> system) doesn't exist. Emacs should probably create it if it doesn't
> exist.
Ah, I see. Thanks. Patch attached.
[...]
> The way to use `gamegrid-add-score' before the change was to supply an
> absolute filename. E.g. this was how the bundled games did it in Emacs
> 21.2:
>
> snake.el:(defvar snake-score-file (concat temporary-file-directory
> "snake-scores")
> tetris.el:(defvar tetris-score-file (concat temporary-file-directory
> "tetris-scores")
[...]
I see. So, I'd guess, `gamegrid-add-score-w-u-g-s' should first
check wether its FILE argument is an absolute filename and use
`gamegrid-add-score-insecure' if it is. I added this.
Unfortunately I have no Emacs 21.2 lying around anymore. I wonder if
gamegrid did something in the past to make sure that the score files
in this system wide tmp directory were world-writeable?
Oliver
gamegrid.diff
Description: Text Data
--
Oliver Scholz 10 Ventôse an 211 de la Révolution
Taunusstr. 25 Liberté, Egalité, Fraternité!
60329 Frankfurt a. M. http://www.jungdemokratenhessen.de
Tel. (069) 97 40 99 42 http://www.jdjl.org