delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/05/28/12:07:37

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=FaRZQw6eWmhFSSyyt4b6z4tDezIK+HcScELrb3hxJYu9VCNi56iCn
1D56DcxBU3OR0rHK0tA88lWXSZ5xBNa4hnY68am6ijRxHtY7zS6HKXmVtz8c0WXP
QMtvX69gRXc4/PawijsmVjrgRCLZ3VTQHu2ih9fdcp9ATQxCs25dt8=
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=vQhVx0Ow3+ZQrapAF2YXroK7EAI=; b=awNc+zQP4WqdYDYd1CjqgeE8Z9FG
PkWi4ME0w+6wgKsMAxG1E/jEAlpe6vmecxKg5LxW3oSBsvq6Hd6IEGpb4B7uc+eD
9s5A8+Ta7LeNwRLkPreTGxDhv4BATbiFDvsXMNM9KDDtZGOJqfZSjMt8OI9gOs/r
4DzmIdd7V80OQXU=
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: U2FsdGVkX18VLsZ+oLkNIhbiFbtviLzv
Date: Wed, 28 May 2014 12:07:17 -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: <20140528160717.GB3685@ednor.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <148f67d907d379af19ab91c030b65403 DOT squirrel AT webmail DOT xs4all DOT nl>
MIME-Version: 1.0
In-Reply-To: <148f67d907d379af19ab91c030b65403.squirrel@webmail.xs4all.nl>
User-Agent: Mutt/1.5.20 (2009-06-14)

On Wed, May 28, 2014 at 05:41:19PM +0200, Houder wrote:
>As far as I can tell, it is not bash, but the Cygwin supervisor, that
>does the truncation.

The code in Cygwin has already been repeatedly identified.

Possibly setting the CYGWIN environment variable to "noglob" might
cause things to work as desired.

See: https://cygwin.com/cygwin-ug-net/using-cygwinenv.html

Also remember that this environment variable has to be set before any
Cygwin program is run, i.e., from the CMD prompt or by setting the
environment variable globally via, e.g.,

Control Panel->System->Advanced system settings->Environment Variables

cgf

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