diff options
author | Agustina Arzille <avarzille@riseup.net> | 2018-03-18 17:27:00 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2018-03-18 17:27:00 +0100 |
commit | 542c20a171cbc8cb63155fa6344708d26e9c446b (patch) | |
tree | 0abb2c4b09254ca8d4af9e18d8f28dee4f01086d /sysdeps/mach/_strerror.c | |
parent | 9a37922ee049c2a12ba9d9457f7711ecd9813c88 (diff) | |
download | glibc-542c20a171cbc8cb63155fa6344708d26e9c446b.tar glibc-542c20a171cbc8cb63155fa6344708d26e9c446b.tar.gz glibc-542c20a171cbc8cb63155fa6344708d26e9c446b.tar.bz2 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 'sysdeps/mach/_strerror.c')
0 files changed, 0 insertions, 0 deletions