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: Bug in GUI App WinMain Arguements


On Mon, Apr 07, 2003 at 02:42:08PM -0500, BB wrote:
>It is.  I think you might have already written it. (From
>"winsup/mingw/main.c" -  '$Author: cgf $')

The person who checks something into CVS isn't necessarily the author.

>"winsup/cygwin/lib/libcmain.c" doesn't check for a quoted first argument in
>the GetCommandLineA() result.
>
>"winsup/mingw/main.c" has a better implementation of main().

None of this is a patch.

cgf

>"Christopher Faylor" <cgf-rcm at cygwin dot com> wrote in message
>news:20030404185413 dot GA12006 at redhat dot com dot  dot  dot 
>> On Fri, Apr 04, 2003 at 12:08:46PM -0600, BB wrote:
>> >I added a call to GetCommadLine() to see what it returns. It correctly
>> >quotes the directory with spaces in it, so the caller of WinMain() should
>> >easily be able to handle it.  Win95 does too.
>>
>> Sounds like a really simple patch then.  Looking forward to it.
--
Please use the resources at cygwin.com rather than sending personal email.
Special for spam email harvesters: send email to aaaspam at sourceware dot org
and be permanently blocked from mailing lists at sources.redhat.com

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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]