Wireshark mailing list archives

Re: merging many files using mergecap


From: Bill Meier <wmeier () newsguy com>
Date: Sun, 21 Feb 2010 16:10:32 -0500

Guy Harris wrote:
On Feb 21, 2010, at 12:23 PM, Sake Blok wrote:

You might consider running Cygwin (www.cygwin.com) on your WIndows box, I don't have problems with this command in a 
Cygwin (bash) shell window. 

UN*X shells expand wildcards in the shell, and pass the resulting list of file names to the application; Windows 
console shells expect the application to do so.

However, I had the impression that the Microsoft C/C++ startup code would expand wildcards before calling main(), so 
that the UN*X way of doing things in an app (relying on wildcards being expanded for you) works.  It sounds as if 
either

      1) that's not the case

or

      2) you have to do something to enable it, and we're not doing so.

Suppossedly any Microsoft C program wanting command-line wildcard args 
to be expanded must be linked with setargv.obj

See: http://msdn.microsoft.com/en-us/library/8bch7bkk.aspx


I'll give it a try.


See also: thread starting at:  :) 
http://www.ethereal.com/lists/ethereal-dev/200411/msg00159.html

I wonder why linking with setargv.obj wasn't/hasn't been done .....

Bill


___________________________________________________________________________
Sent via:    Wireshark-users mailing list <wireshark-users () wireshark org>
Archives:    http://www.wireshark.org/lists/wireshark-users
Unsubscribe: https://wireshark.org/mailman/options/wireshark-users
             mailto:wireshark-users-request () wireshark org?subject=unsubscribe


Current thread: