string/Makefile broken

Andreas Jaeger aj@suse.de
Mon Jul 24 06:43:00 GMT 2000


Uli,

your change from 2000-07-22 to string/Makefile is broken.

tst-svc reads from stdin - and your make rule just forgot about it
:-(.  Now the test waits for input from stdin - and doesn't get any.

Here's a patch.  I've committed it already,

Andreas

2000-07-24  Andreas Jaeger  <aj@suse.de>

	* string/Makefile ($(objpfx)tst-svc.out): Fix rule to read from
	input from stdin and setup environment.

============================================================
Index: string/Makefile
--- string/Makefile	2000/07/23 01:22:19	1.50
+++ string/Makefile	2000/07/24 13:37:50
@@ -62,7 +62,8 @@
 
 ifeq ($(cross-compiling),no)
 tests: $(objpfx)tst-svc.out
-$(objpfx)tst-svc.out: $(objpfx)tst-svc
-	$(built-program-cmd) $< > $@
+$(objpfx)tst-svc.out: tst-svc.input $(objpfx)tst-svc
+	GCONV_PATH=$(common-objpfx)iconvdata LC_ALL=C \
+	  $(built-program-cmd) < $(word 1,$^) > $@
 	-cmp tst-svc.expect $(objpfx)tst-svc.out
 endif

-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.inka.de


More information about the Libc-hacker mailing list