[prev in list] [next in list] [prev in thread] [next in thread]
List: ethereal-dev
Subject: Re: [ethereal-dev] [PATCH] Saving a temporary file on WIN32
From: Guy Harris <gharris () flashcom ! net>
Date: 2000-03-28 9:12:55
[Download RAW message or body]
> Note that, after we save a complete capture file (rather than saving
> only the packets that match the current display filter), we open and
> read the file we saved to - which means closing the old capture file.
>
> "close_cap_file()" should, I think, remove the file if it's a temporary
> file - which is why it gets cleaned up if we do a copy rather than a
> rename on UNIX (e.g., if the source file and directory for the
> destination file aren't on the same file system).
>
> I'll check your version of the patch in, and try it on my NT partition.
It seemed to work - I started a capture, stopped it, and then exited
Ethereal, and the temporary capture file was removed by Ethereal.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic