Ethereal-dev: Re: [ethereal-dev] [PATCH] Saving a temporary file on WIN32

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Gilbert Ramirez <gram@xxxxxxxxxx>
Date: Thu, 23 Mar 2000 10:48:54 -0600
On Thu, Mar 23, 2000 at 04:36:28AM -0600, andreas.sikkema@xxxxxxxxxxx wrote:
> 
> Attached is a patch that solves this problem, but it uncovers another bug.
> It seems that there's something not quite right with the file that is the
> result of the copy operation. I have attached the source and
> destination files because I can't seem to find anything wrong with
> the current code and I'm not knowledgeable enough concerning the
> file formats used.
> 

Won't your patch leave the original trace file on disk? Since it's doing
a copy and not a rename, the original temporary file is never deleted.

--gilbert