delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/05/27/18:17:15

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:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; q=dns; s=
default; b=i+kJp15VRpH+B94M6e8PwHzu6eCdarfoeoqX6L/k3+y9SKz62IP0v
FwptHgnF36McqXgCiVMM+GtBJYoQnplONp5swuxoEsN8tHLrdCNUIuceNpmgwDBc
xEG2DOpS2gT10swV3kypkdy5DdUd5JYc2dRJT6GDOMKpAMfGxrza2U=
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:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; s=default;
bh=5RIo7TDTKHgv6URJUIYegQKyO9g=; b=uyrMhut1dBL11vJkdCBBEy2457Qy
/2fNPJ5aeoSBA58Lrf5CutQtLMW5CE0f3K8dOD0zSXiWuw97fSpAxx1RP2JNXZ66
Ve6JkeB7dZijOx9ttCh10s5m7bPtBrywMGVFS+wa21avGgyRkwPv+6ML5FLSvua9
xU7ottcmAQMnLfs=
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=-6.0 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2
X-HELO: mho-01-ewr.mailhop.org
X-Mail-Handler: Dyn Standard SMTP by Dyn
X-Report-Abuse-To: abuse AT dyndns DOT com (see http://www.dyndns.com/services/sendlabs/outbound_abuse.html for abuse reporting information)
X-MHO-User: U2FsdGVkX18+Y4iETBQDSMo+SQAOjKF5
Date: Tue, 27 May 2014 18:16:55 -0400
From: Christopher Faylor <cgf-use-the-mailinglist-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Bash silently truncates the Command Line when called programatically via CreateProcess as MAXPATHLEN was reduced to 8192 from 16384
Message-ID: <20140527221655.GB6521@ednor.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT 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>
MIME-Version: 1.0
In-Reply-To: <CANMjiJqkm1pD5zuKWc_aRw8h9mzfdpwSkk6u6ybLmgHKGEd0PQ@mail.gmail.com>
User-Agent: Mutt/1.5.20 (2009-06-14)

On Tue, May 27, 2014 at 06:49:43PM +0530, Abhijit Bhattacharjee wrote:
>Yes, MSVS is Microsoft Visual Studio.
>
>and I am using the make for Windows
>(http://gnuwin32.sourceforge.net/packages/make.htm).
>
>Please note, when I am saying the path is getting truncated, its the
>bash that is truncating it. Also, its immaterial how and what is
>getting called. With the latest Cygwin, any program that is compiled
>and linked with the CRT would exhibit this behavior. The truncation
>issue in the CRT is best demonstrated by the following Code couplets

A Cygwin program which calls another Cygwin program does not have this
problem so it isn't completely immaterial.

>Also Note, if you would like to review the code that is responsible
>for the truncation, I would suggest you to refer the function

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.

Quoting myself:

On Mon, May 26, 2014 at 04:08:57PM -0400, Christopher Faylor wrote:
>Since this isn't really an issue when Cygwin calls Cygwin programs it
>likely isn't really high on anyone's priority list.

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