mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-08 17:42:12 +03:00
Update.
* stdlib/atexit.c (initial): New variable. Use to initialize __exit_funcs. * stdlib/exit.c (exit): Beware to not free statically allocale list element [PR libc/1305].
This commit is contained in:
@@ -1,5 +1,10 @@
|
|||||||
1999-10-10 Ulrich Drepper <drepper@cygnus.com>
|
1999-10-10 Ulrich Drepper <drepper@cygnus.com>
|
||||||
|
|
||||||
|
* stdlib/atexit.c (initial): New variable. Use to initialize
|
||||||
|
__exit_funcs.
|
||||||
|
* stdlib/exit.c (exit): Beware to not free statically allocale
|
||||||
|
list element [PR libc/1305].
|
||||||
|
|
||||||
* stdlib/xpg_basename.c (__xpg_basename): Don't return pointer to
|
* stdlib/xpg_basename.c (__xpg_basename): Don't return pointer to
|
||||||
slash before the basename [PR libc/1383].
|
slash before the basename [PR libc/1383].
|
||||||
|
|
||||||
|
@@ -40,7 +40,8 @@ atexit (void (*func) (void))
|
|||||||
__libc_lock_define_initialized (static, lock)
|
__libc_lock_define_initialized (static, lock)
|
||||||
|
|
||||||
|
|
||||||
struct exit_function_list *__exit_funcs;
|
static struct exit_function_list initial;
|
||||||
|
struct exit_function_list *__exit_funcs = &initial;
|
||||||
|
|
||||||
struct exit_function *
|
struct exit_function *
|
||||||
__new_exitfn (void)
|
__new_exitfn (void)
|
||||||
|
Reference in New Issue
Block a user