From: Keetnet@wilmington.net (Keet)
Subject: PROBLEM: rename() in b17.1 vs. b18
23 May 1997 18:44:37 -0700
Sender: mail@cygnus.com
Approved: cygnus.gnu-win32@cygnus.com
Distribution: cygnus
Message-ID: <2.2.32.19970522231746.00673320.cygnus.gnu-win32@wilmington.net>
X-Sender: keetnet@wilmington.net
X-Mailer: Windows Eudora Pro Version 2.2 (32)
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Priority: 1 (Highest)
Original-To: gnu-win32@cygnus.com
Original-Sender: owner-gnu-win32@cygnus.com

I reported earlier a problem with TinyMuck FuzzBall 5.55. It would generate
an 'access denied' error when dumping a database using the '@dump' command.
Well, i've narrowed it down to the rename() command in game.c of the Fb5.55
source (not that that would matter any). The following lines generate the error:

if (rename(tmpfile, dumpfile) < 0)
        perror(tmpfile);

the error context is './data/minimal.new.#2#: Access Denied'

The only effect this error has on the program, is a failed database dump,
which are definately important to this program. In b17.1 this problem never
happened (it was a CR/LF problem - which i since fixed).. it seems i've
traded one error for another. Any help on this matter would be appreciated.

System Summary:
Win95
P90 - 24 MB Ram
400+MB of HD Space

- Greg Neujahr ( Keet - Foxbird )
  keetnet@wilmington.net


-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".
