diff options
author | Ulrich Drepper <drepper@redhat.com> | 1999-07-30 06:32:48 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1999-07-30 06:32:48 +0000 |
commit | 66f8fa9bec0c6f0e62ccaad22f8ddd36267a5284 (patch) | |
tree | 46f44a7aa841d5385c7104b4261610ddc28086e5 /libio/iofputs.c | |
parent | 53308042259bb73ce10aada138dc6bd26dd9a9c2 (diff) | |
download | glibc-66f8fa9bec0c6f0e62ccaad22f8ddd36267a5284.tar.gz |
Update.
* malloc/malloc.c (ptmalloc_init): Also initialize __libc_pagesize
if no threads are used.
* libio/iofwrite.c: Add weak alias for _unlocked function if not
_IO_MTSAFE_IO.
* libio/iofread.c: Likewise.
* libio/iofgets.c: Likewise.
* libio/iofputs.c: Likewise.
* sysdeps/generic/bits/libc-lock.h (__libc_cleanup_end): New
definition.
Diffstat (limited to 'libio/iofputs.c')
-rw-r--r-- | libio/iofputs.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libio/iofputs.c b/libio/iofputs.c index ed41d5a49c..32acf987a5 100644 --- a/libio/iofputs.c +++ b/libio/iofputs.c @@ -46,4 +46,8 @@ _IO_fputs (str, fp) #ifdef weak_alias weak_alias (_IO_fputs, fputs) + +# ifndef _IO_MTSAFE_IO +weak_alias (_IO_fputs, fputs_unlocked) +# endif #endif |