mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-08 17:42:12 +03:00
* malloc/Versions (GLIBC_PRIVATE): Add __libc_thread_freeres.
* malloc/thread-freeres.c: New file. * malloc/Makefile (aux): Add it. * sunrpc/Versions (GLIBC_PRIVATE): Removed. * sunrpc/rpc_thread.c (__rpc_thread_destroy): Put in special section "__libc_thread_freeres_fn" and add to __libc_thread_subfreeres set. * sysdeps/unix/sysv/linux/i386/geteuid.c (__geteuid): Typo fix. * sysdeps/unix/sysv/linux/i386/getgid.c (__getgid): Typo fix. 2003-02-21 Roland McGrath <roland@frob.com> * sysdeps/mach/hurd/opendir.c (__opendir): Use O_NONBLOCK in open. * iconvdata/Makefile (tests): Add bug-iconv3 only if [$(have-thread-library) = yes].
This commit is contained in:
@@ -15,7 +15,7 @@ __libc_tsd_define (, RPC_VARS)
|
||||
/*
|
||||
* Task-variable destructor
|
||||
*/
|
||||
void
|
||||
void __attribute__ ((section ("__libc_thread_freeres_fn")))
|
||||
__rpc_thread_destroy (void)
|
||||
{
|
||||
struct rpc_thread_variables *tvp = __libc_tsd_get (RPC_VARS);
|
||||
@@ -32,6 +32,7 @@ __rpc_thread_destroy (void)
|
||||
free (tvp);
|
||||
}
|
||||
}
|
||||
text_set_element (__libc_thread_subfreeres, __rpc_thread_destroy);
|
||||
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user