delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/05/23/18:44:37

From: Keetnet AT wilmington DOT net (Keet)
Subject: PROBLEM: rename() in b17.1 vs. b18
23 May 1997 18:44:37 -0700 :
Sender: mail AT cygnus DOT com
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <2.2.32.19970522231746.00673320.cygnus.gnu-win32@wilmington.net>
X-Sender: keetnet AT wilmington DOT net
X-Mailer: Windows Eudora Pro Version 2.2 (32)
Mime-Version: 1.0
X-Priority: 1 (Highest)
Original-To: gnu-win32 AT cygnus DOT com
Original-Sender: owner-gnu-win32 AT cygnus DOT 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 AT wilmington DOT net


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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019