B20: BUG in gmake (NT and 95)

Groove, Christian groove@norcom.de
Wed Sep 1 07:43:00 GMT 1999


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



More information about the Cygwin mailing list