about summary refs log tree commit diff
path: root/ChangeLog
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2018-11-28 19:59:45 +0100
committerFlorian Weimer <fweimer@redhat.com>2018-11-28 20:57:18 +0100
commit96cd0558bcd69481ccc42e1b392f0c0b36fce2b0 (patch)
tree9318349a9edfb5c5e6314c9bb560ff909511bbfc /ChangeLog
parent530504e3a825a63ad4976f24cd50aa9b15d3b91e (diff)
downloadglibc-96cd0558bcd69481ccc42e1b392f0c0b36fce2b0.tar.gz
glibc-96cd0558bcd69481ccc42e1b392f0c0b36fce2b0.tar.xz
glibc-96cd0558bcd69481ccc42e1b392f0c0b36fce2b0.zip
support: Add signal support to support_capture_subprocess_check
Signal zero does not terminate a process, so it is safe to use negative
values for signal numbers.

Adjust libio/tst-vtables-common.c to use this new functionality,
instead of determining the termination status for a signal indirectly.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog17
1 files changed, 17 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 28d7735ab3..75e1b17cfa 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,20 @@
+2018-11-28  Florian Weimer  <fweimer@redhat.com>
+
+	support: Add signal support to support_capture_subprocess_check.
+	* support/capture_subprocess.h (support_capture_subprocess_check):
+	Adjust comment and rename parameter.
+	* support/support_capture_subprocess_check.c
+	(print_actual_status): New function.
+	(support_capture_subprocess_check): Support negative
+	status_or_signal.  Call print_actual_status.
+	* support/tst-support_capture_subprocess.c (do_test): Call
+	support_capture_subprocess_check.
+	* libio/tst-vtables-common.c (termination_status)
+	(init_termination_status): Remove.
+	(check_for_termination): Adjust support_capture_subprocess_check
+	call.
+	(do_test): Remove call to init_termination_status.
+
 2018-11-28  Joseph Myers  <joseph@codesourcery.com>
 
 	* scripts/build-many-glibcs.py (Glibc.build_glibc): Use original