ampersand at character 2048 in a command is lost in make

Jeremy Broughton jeremyb@ca.ibm.com
Tue Nov 16 21:57:00 GMT 2004





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)

Thanks.

Jeremy Broughton
e-mail: jeremyb@ca.ibm.com

-------------- next part --------------
A non-text attachment was scrubbed...
Name: makefile
Type: application/octet-stream
Size: 1304 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20041116/08031c5a/attachment.obj>
-------------- next part --------------
--
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/


More information about the Cygwin mailing list