Alexander Nasonov's shared items

Saturday, September 12, 2009

Tetris to the rescue!

I never play games when I recover a computer but apparently some people do:
From  Mon Sep  7 20:50:54 2009
Received: from ( [])
 by (Postfix) with ESMTP id E6F8B63BCFB
 for ; Mon,  7 Sep 2009 20:50:54 +0000 (UTC)
Message-Id: <>
Date: Mon,  7 Sep 2009 20:50:43 +0000 (UTC)
Subject: /rescue/tetris should not use high scores file
X-Send-Pr-Version: 3.95

>Number:         42009
>Category:       bin
>Synopsis:       /rescue/tetris should not use high scores file
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    dholland
>State:          closed
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Mon Sep 07 20:55:00 +0000 2009
>Closed-Date:    Tue Sep 08 13:49:23 +0000 2009
>Last-Modified:  Tue Sep 08 13:49:23 +0000 2009
>Originator:     Alan Barrett
>Release:        NetBSD 5.99.16
Not much
System: NetBSD 
Architecture: i386
Machine: i386
 /rescue/tetris tries to use /var/games/tetris.scores.  If the system
        is in a bad state, possibly with corrupted file systems, it
        would be a bad idea to write anywhere without a deliberate
        decision by the sysadmin.  Simply running a game does not count
        as as deliberate decision to write to the file system.
 press 'q' to quit.
 see this message:
 tetris: Cannot open /var/games/tetris.scores for read/write:
  Permission denied
 Disable the high scores feature in the rescue version of tetris.



Responsible-Changed-From-To: bin-bug-people->dholland
Responsible-Changed-When: Mon, 07 Sep 2009 23:33:37 +0000

From: "David A. Holland" 
Subject: PR/42009 CVS commit: src/games/tetris
Date: Tue, 8 Sep 2009 13:38:01 +0000

 Module Name: src
 Committed By: dholland
 Date:  Tue Sep  8 13:38:01 UTC 2009

 Modified Files:
  src/games/tetris: scores.c

 Log Message:
 Disable writing scores when built for /rescue. PR 42009


 To generate a diff of this commit:
 cvs rdiff -u -r1.17 -r1.18 src/games/tetris/scores.c

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

State-Changed-From-To: open->closed
State-Changed-When: Tue, 08 Sep 2009 13:49:23 +0000
fixed, thanks



No comments:

Post a Comment