Ethereal-dev: Re: [Ethereal-dev] [Patch] asn1 plugin

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

From: Gerald Combs <gerald@xxxxxxxxxxxx>
Date: Sun, 2 Nov 2003 17:12:58 -0600 (CST)
Checked in, with get_file_in_temp() renamed to get_tempfile_path() to
match similar functions in filesystem.[ch].


On Sun, 2 Nov 2003, Gisle Vanem wrote:

> * Added a new function get_file_in_temp() to
>   epan/filesystem.c. This because of asn1.dll plugin which 
>   had code to write to a log-file "c:\temp\ethereal.log". I feel 
>   this patch makes this safer; I don't even have a c:\temp dir.
> 
> * Patched packet-asn1.c to use get_file_in_temp().
> 
> * Added some #undef to packet-snmp.c to silence gcc.
> 
> * Changed "%u" -> "%lu" formats in util.c
> 
> Note: I used the ignore whitespace option (-w) to 
> GNU diff because there's so many files with *trailing*
> whitespace. My diff actually includes some changes in
> *leading* whitespace, but you'll figure it out. We should 
> IMHO strip trailing WS before checking them in.
> 
> Gisle V.
>