This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gdb passes different argv/argc to mingw & cygwin


Sam Steingold wrote:

> args='"4 4" '"'5 5'"

What you're seeing is the side-effect of how mingw-compiled programs
handle wildcards.

mingw-compiled programs automatically link in support for wildcard
expansion of arguments passed in via the Windows GetCommandLine(). So
you'll often see extra quotes being consumed, and other such effects.
It's unavoidable when dealing with Windows..



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]