delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/06/08/21:26:13

Message-ID: <002601c20f4f$ebf61040$0200a8c0@peridot>
From: "Peter Cassidy" <peter DOT cassidy AT rocksoft DOT com>
To: "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il>
Cc: <djgpp AT delorie DOT com>
References: <Pine DOT SUN DOT 3 DOT 91 DOT 1020603132746 DOT 21774A-100000 AT is> <3cfc069d AT duster DOT adelaide DOT on DOT net> <3d00c052$1 AT duster DOT adelaide DOT on DOT net> <2110-Sat08Jun2002185946+0300-eliz AT is DOT elta DOT co DOT il>
Subject: Re: 9$$DJREN.$$T Rename bug?
Date: Sun, 9 Jun 2002 10:22:18 +0930
Organization: Rocksoft Limited
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.50.4522.1200
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200
Reply-To: djgpp AT delorie DOT com

> > It seems to happen when the input file name has no file extension.  When
> > I added ".tmp" to the end of the input file names, the problem went
away.
>
> Could you please paste the source of the _rename function into your
> program, and then step through its code with a debugger and tell what
> part of it fails and why?
>
I've found out the .tmp thing was misleading; I had done two things: added
.tmp and deleted the 'new' file.  The docco says it should handle existing
new files, but when I delete them first in the application, things work much
better.

So how do I debug in pure DOS?  The supplied gdb.exe doesn't run in pure
DOS, and also doesn't respond to the exe2coff/cwsdstub treatment.  It
only runs in a command window.


- Raw text -


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