delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/11/16/17:30:21

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
Date: Tue, 16 Nov 2004 17:30:02 -0500
From: Christopher Faylor <cgf-no-personal-reply-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: ampersand at character 2048 in a command is lost in make
Message-ID: <20041116223002.GB28679@trixie.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <OF99E32F93 DOT A3B4F80B-ON87256F4E DOT 00763843-87256F4E DOT 00788DA6 AT ca DOT ibm DOT com>
Mime-Version: 1.0
In-Reply-To: <OF99E32F93.A3B4F80B-ON87256F4E.00763843-87256F4E.00788DA6@ca.ibm.com>
User-Agent: Mutt/1.4.1i

On Tue, Nov 16, 2004 at 04:56:51PM -0500, Jeremy Broughton wrote:
>Using cygwin 1.3.10 and 1.5.7, if an '&' ampersand character appears at
>character 2048 of a makefile command, the ampersand is lost from the
>command.  If white-space is manipulated to move the & one character
>forward or backward in the makefile command, everything works fine.
>
>I have attached a testcase makefile below that reproduces the problem
>with simple makefile echo commands.  Run "make fail" to see the failing
>case when an ampersand is at character 2048.  Run "make ok1" and "make
>ok2" to see the same command succeed if the ampersand is shifted one
>character left or right respectively.  Run "make ok3" to see the same
>command succeed if character 2048 appears in the middle of the echo
>command.
>
>(See attached file: makefile)

I tried this with the current version of cygwin and make and the output
from fail and ok1 was identical.  I tried on both textmode and binmode
mounts (not that that should make a difference).

cgf

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.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