This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Bash silently truncates the Command Line when called programatically via CreateProcess as MAXPATHLEN was reduced to 8192 from 16384
- From: Christopher Faylor <cgf-use-the-mailinglist-please at cygwin dot com>
- To: cygwin at cygwin dot com
- Date: Tue, 27 May 2014 18:16:55 -0400
- Subject: Re: Bash silently truncates the Command Line when called programatically via CreateProcess as MAXPATHLEN was reduced to 8192 from 16384
- Authentication-results: sourceware.org; auth=none
- 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>
- Reply-to: cygwin at cygwin dot com
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