delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/04/07/18:10:47

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Mon, 7 Apr 2003 18:10:52 -0400
From: Christopher Faylor <cgf AT redhat DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Bug in GUI App WinMain Arguements
Message-ID: <20030407221052.GA332@redhat.com>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <b6kfnf$nb9$1 AT main DOT gmane DOT org> <OE19Dc41W2ufyWOxbCJ000162eb AT hotmail DOT com> <b6khmq$3mk$1 AT main DOT gmane DOT org> <20030404185413 DOT GA12006 AT redhat DOT com> <b6sk9m$30n$1 AT main DOT gmane DOT org>
Mime-Version: 1.0
In-Reply-To: <b6sk9m$30n$1@main.gmane.org>
User-Agent: Mutt/1.4.1i

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...
>> 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019