This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

B20: BUG in gmake (NT and 95)


Hy

I found a BUG in gmake while calling the shell function.
The bug may appear only on N(ew)T(rash) and on 95.

In my makefile, i have the following assignment:

	SPECIAL_SOURCE=$(shell echo magic ; echo tragic)

	check:
		@echo $(SPECIAL_SOURCE)


Calling make check would print out only "tragic". I guess the 
magic has been overwritten, because of a \r, that toss back
the internal write pointer back to the initial position.

Iff you exchange the assignment by a

	SPECIAL_SOURCE=`echo magic ; echo tragic`

everything works fine. I can not promise to fix it, cause i am running
out of time with my project.

Groovie

Christian Groove
NorCom Systems Technology GmbH
81929 München
Stefan-George-Ring 29
Tel: + 49 89 93948 271
Fax:+ 49 89 93948 111
mailto:groove@norcom.de



--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]