delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/05/31/09:30:00

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:in-reply-to:references:from:date
:message-id:subject:to:content-type; q=dns; s=default; b=ScTDiGm
On7sBeLYdwSQTaKhvSIhDregiJ0QPmUPf8F274NQD+f1W04JbO/qP7vLKCfgYlsd
7dzf77tsprz3pLjoFn1LSUHMEqQ3qdGMchsziEtHkmJO03BkMACxK0k00Ma+b/Ei
+h8ao4pzm9zt0aioN5aXB548O1Fu32ueSG+c=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:in-reply-to:references:from:date
:message-id:subject:to:content-type; s=default; bh=sEa23p15xQfxB
BEuGQPa3U4VbOg=; b=F/FGsTNNO8yAXx/eIMI4uqv48vOQlHws76Ro+8682D+wn
Qj+Hqd8lHR5yASD+fCtaPuV78OH52raGxU8IKfsN8Jws6U4uR4a6/u+aRDwqL9ki
bb+WIaZCPfB5TKbXlH+lK4RSEP5YFL9yi9VHb5b1GxNZeYZ68s7e+NMljO41YM=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=0.5 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2
X-HELO: mail-oa0-f52.google.com
X-Received: by 10.182.128.202 with SMTP id nq10mr2790150obb.77.1401542979819; Sat, 31 May 2014 06:29:39 -0700 (PDT)
MIME-Version: 1.0
In-Reply-To: <538623E9.8000507@etr-usa.com>
References: <CANMjiJqz6uJ7pp=iS5FK_ZnS9nxCT1fY+EndcgzPan7sv2pXJA AT mail DOT gmail DOT com> <20140526200857 DOT GA3903 AT ednor DOT casa DOT cgf DOT cx> <lm08n5$tgp$1 AT ger DOT gmane DOT org> <20140526212219 DOT GA4754 AT ednor DOT casa DOT cgf DOT cx> <CANMjiJpDU-aVxg1X8G_Lk8pKLEmXbs24+ieD=w3f8ZmQ2jdjTw AT mail DOT gmail DOT com> <CANMjiJqkm1pD5zuKWc_aRw8h9mzfdpwSkk6u6ybLmgHKGEd0PQ AT mail DOT gmail DOT com> <5385A486 DOT 4090900 AT tiscali DOT co DOT uk> <538623E9 DOT 8000507 AT etr-usa DOT com>
From: Abhijit Bhattacharjee <itabhijitb AT gmail DOT com>
Date: Sat, 31 May 2014 18:58:59 +0530
Message-ID: <CANMjiJrfVEXcYNse83KysLpBjYyo9PvmmrhgVhZ0pRQ1poo=jg@mail.gmail.com>
Subject: Re: Bash silently truncates the Command Line when called programatically via CreateProcess as MAXPATHLEN was reduced to 8192 from 16384
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes

Thank you everyone for your time and reply. I believe from your reply
I am able to get the problem sorted out. I would also try to reply to
each of your queries

@Chris J. Breisch
@Warren Young
Qs/Stmt: Why are you using that make and not the Cygwin make?
Qs/Stmt:  I suggest that you switch to CMake or SCons, either of which
will let you build software in a platform-independent way.
Ans: We had some hickups in the initial days while running builds on
multiple threads and the alternative worked for us. As it had been
working for ages we would rather want to stick with it. Its just that
with the recent Cygwin adoption, things started to fail.

@Christopher Faylor
Qs/Stmt: A Cygwin program which calls another Cygwin program does not
have this problem so it isn't completely immaterial.
Ans: I am not sure what you mean by Cygwin program. If you mean those
that are in your repository, I cannot comment. Instead, if you mean,
that's linked with cygwin1.dll, I believe, I have already shared with
you sample programs that exhibits the truncation behavior.

Qs/Stmt: Not sure who you are talking to but, on the off chance that
you are hoping to engage a Cygwin developer, we do know where the glob
code lives.  As I indicated, it originally comes from FreeBSD.
Ans: I believe not everyone out here are Cygwin developers. Even so,
with my experience, I know, even in my product, I do not know where
all the code comes from. If someone has already done the search, it is
really helpful.

Qs/Stmt: Possibly setting the CYGWIN environment variable to "noglob"
might cause things to work as desired.
Ans: I am yet to test this, but I trust your answer. I am yet to
figure out as to how I can set the environment variables CYGWIN with
multiple values i.e. I need to set it with nodosfilewarning and
noglob. I was trying to read though your code environ.cc and seems to
me I can simply separate it with a delimiter. Your documentation is
silent about it. If you know it off hand, please let me know, that
will reduce some effort for me to read and debug though your code :-)

@David Stacey
Qs/Stmt:  Instead of gmake and bash, are you able to use 'nmake' (that
comes with MSVC)?
Ans: nmake is awful and not even portable.




Rgrds,
Abhijit



On Wed, May 28, 2014 at 11:29 PM, Warren Young <warren AT etr-usa DOT com> wrote:
> On 5/28/2014 02:55, David Stacey wrote:
>>
>> are you able to use 'nmake' (that comes with MSVC)?
>
>
> nmake is awfully primitive in itself compared to GNU make, and it is doubly
> crippled by being restricted to cmd.exe syntax for shell commands in the
> targets.
>
> Instead, Abhijit, I suggest that you switch to CMake or SCons, either of
> which will let you build software in a platform-independent way.
>
> And to keep a tenuous hold on topicality, both are packaged for Cygwin.
>
>
> --
> Problem reports:       http://cygwin.com/problems.html
> FAQ:                   http://cygwin.com/faq/
> Documentation:         http://cygwin.com/docs.html
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
>

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

- Raw text -


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