Ethereal-dev: RE: [Ethereal-dev] [Patch] Support for wildcards in mergecap

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

From: "Francisco Alcoba (TS/EEM)" <francisco.alcoba@xxxxxxxxxxxx>
Date: Mon, 15 Nov 2004 07:57:07 +0100
> Are there any files with names ending in ".cap" in the Ethereal 
> installation directory (that being the directory in which 
> you're running 
> mergecap, and hence the directory in which it'll be looking for those 
> files)?
> 

Yes, there are:

C:\Program Files\Ethereal>dir *.cap

<...>

02/11/2004  17:05            1.137.264 t2.cap
02/11/2004  07:46                5.561 test.cap
02/11/2004  17:35              102.136 test5.cap
02/11/2004  07:57                5.561 tt.cap
               8 File(s)      3.957.798 bytes
               0 Dir(s)   3.502.306.304 bytes free

C:\Program Files\Ethereal>mergecap -w xx.cap *.cap
mergecap: skipping *.cap: No such file or directory
mergecap: No valid input files

So I've been exploring a bit, and what seems to happen is that you need to explicitly link setargv.obj for wildcard expansion to work; by default a dummy _setargv is used that does not expand. 

Does someone know if is there an elegant way to include setargv.obj in every executable in makefile.nmake, or do I need to add it in every line?