about summary refs log tree commit diff
path: root/ChangeLog
diff options
context:
space:
mode:
authorAgustina Arzille <avarzille@riseup.net>2018-03-18 17:27:00 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2018-03-18 17:27:00 +0100
commit542c20a171cbc8cb63155fa6344708d26e9c446b (patch)
tree0abb2c4b09254ca8d4af9e18d8f28dee4f01086d /ChangeLog
parent9a37922ee049c2a12ba9d9457f7711ecd9813c88 (diff)
downloadglibc-542c20a171cbc8cb63155fa6344708d26e9c446b.tar.gz
glibc-542c20a171cbc8cb63155fa6344708d26e9c446b.tar.xz
glibc-542c20a171cbc8cb63155fa6344708d26e9c446b.zip
hurd: Rewrite __libc_cleanup_*
This makes it notably safe against 'return' and such, and used for
__libc_cleanup_push/pop.

	* sysdeps/mach/libc-lock.h (__libc_cleanup_frame): Define structure.
	(__libc_cleanup_fct): Define function.
	(__libc_cleanup_region_start, __libc_cleanup_region_end,
	__libc_cleanup_end): Rewrite implementation using
	__attribute__ ((__cleanup__)).
	(__libc_cleanup_push, __libc_cleanup_pop): New macros.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog9
1 files changed, 9 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index c0074a6c3b..36430d6169 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2018-03-18  Agustina Arzille  <avarzille@riseup.net>
+
+	* sysdeps/mach/libc-lock.h (__libc_cleanup_frame): Define structure.
+	(__libc_cleanup_fct): Define function.
+	(__libc_cleanup_region_start, __libc_cleanup_region_end,
+	__libc_cleanup_end): Rewrite implementation using
+	__attribute__ ((__cleanup__)).
+	(__libc_cleanup_push, __libc_cleanup_pop): New macros.
+
 2018-03-18  Samuel Thibault  <samuel.thibault@ens-lyon.org>
 
 	* sysdeps/mach/hurd/cthreads.c: Include <cthreads.h>.