[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[commits] r8028 - in /trunk/libc: ChangeLog.eglibc nptl/Makefile



Author: joseph
Date: Mon Mar  2 07:38:36 2009
New Revision: 8028

Log:
2009-03-02  Aurelien Jarno  <aurelien@xxxxxxxxxxx>

	* nptl/Makefile: Use exec shell command in tst-cancel7 to prevent
	the shell forking. Fix a bashism in the call to tst-cleanup0.

Modified:
    trunk/libc/ChangeLog.eglibc
    trunk/libc/nptl/Makefile

Modified: trunk/libc/ChangeLog.eglibc
==============================================================================
--- trunk/libc/ChangeLog.eglibc (original)
+++ trunk/libc/ChangeLog.eglibc Mon Mar  2 07:38:36 2009
@@ -1,3 +1,8 @@
+2009-03-02  Aurelien Jarno  <aurelien@xxxxxxxxxxx>
+
+	* nptl/Makefile: Use exec shell command in tst-cancel7 to prevent
+	the shell forking. Fix a bashism in the call to tst-cleanup0.
+
 2009-02-14  Joseph Myers  <joseph@xxxxxxxxxxxxxxxx>
 
 	* sysdeps/sparc/sparc64/dl-machine.h (elf_machine_runtime_setup):

Modified: trunk/libc/nptl/Makefile
==============================================================================
--- trunk/libc/nptl/Makefile (original)
+++ trunk/libc/nptl/Makefile Mon Mar  2 07:38:36 2009
@@ -447,7 +447,7 @@
 CFLAGS-tst-initializers1-gnu89.c = $(CFLAGS-tst-initializers1-<)
 CFLAGS-tst-initializers1-gnu99.c = $(CFLAGS-tst-initializers1-<)
 
-tst-cancel7-ARGS = --command "$(local-built-program-cmd)"
+tst-cancel7-ARGS = --command "exec $(local-built-program-cmd)"
 tst-cancelx7-ARGS = $(tst-cancel7-ARGS)
 tst-umask1-ARGS = $(objpfx)tst-umask1.temp
 
@@ -559,7 +559,7 @@
 		$(patsubst -f%,-fno-%,$(exceptions)) -o $@
 
 $(objpfx)tst-cleanup0.out: /dev/null $(objpfx)tst-cleanup0
-	$(make-test-out) 2>&1 | cmp - tst-cleanup0.expect >& $@
+	$(make-test-out) 2>&1 | cmp - tst-cleanup0.expect > $@ 2>&1
 
 # We only have one kind of startup code files.  Static binaries and
 # shared libraries are build using the PIC version.