kopensolaris-gnu/glibc.git
14 years ago.
drepper [Fri, 20 Jan 2006 22:37:35 +0000 (22:37 +0000)]
.

14 years ago(faccessat): Try using the syscall in more cases.
drepper [Fri, 20 Jan 2006 22:21:58 +0000 (22:21 +0000)]
(faccessat): Try using the syscall in more cases.

14 years ago.
drepper [Fri, 20 Jan 2006 21:55:16 +0000 (21:55 +0000)]
.

14 years ago(tests): Add tst-symlinkat, tst-linkat, and tst-readlinkat.
drepper [Fri, 20 Jan 2006 21:52:09 +0000 (21:52 +0000)]
(tests): Add tst-symlinkat, tst-linkat, and tst-readlinkat.

14 years agoTest for readlinkat.
drepper [Fri, 20 Jan 2006 21:51:26 +0000 (21:51 +0000)]
Test for readlinkat.

14 years agoTest for linkat.
drepper [Fri, 20 Jan 2006 21:41:17 +0000 (21:41 +0000)]
Test for linkat.

14 years agoTest for symlinkat.
drepper [Fri, 20 Jan 2006 21:39:58 +0000 (21:39 +0000)]
Test for symlinkat.

14 years ago.
drepper [Fri, 20 Jan 2006 21:17:38 +0000 (21:17 +0000)]
.

14 years agoRevert last change.
drepper [Fri, 20 Jan 2006 21:16:01 +0000 (21:16 +0000)]
Revert last change.

14 years ago.
drepper [Fri, 20 Jan 2006 21:12:34 +0000 (21:12 +0000)]
.

14 years ago(fdopendir): If O_DIRECTORY is available, avoid stat call, use fcntl
drepper [Fri, 20 Jan 2006 21:10:58 +0000 (21:10 +0000)]
(fdopendir): If O_DIRECTORY is available, avoid stat call, use fcntl
result to determine whether descriptor is for a directory or not.

14 years ago(tests): Add tst-fdopendir2.
drepper [Fri, 20 Jan 2006 21:09:41 +0000 (21:09 +0000)]
(tests): Add tst-fdopendir2.

14 years agoCheck whether fdopendir tests the descriptor is for a directory.
drepper [Fri, 20 Jan 2006 21:08:57 +0000 (21:08 +0000)]
Check whether fdopendir tests the descriptor is for a directory.

14 years ago.
drepper [Fri, 20 Jan 2006 19:37:46 +0000 (19:37 +0000)]
.

14 years ago(sigcontext_struct) [__WORDSIZE == 32]: Define.
drepper [Fri, 20 Jan 2006 19:36:17 +0000 (19:36 +0000)]
(sigcontext_struct) [__WORDSIZE == 32]: Define.

14 years ago.
drepper [Fri, 20 Jan 2006 16:49:36 +0000 (16:49 +0000)]
.

14 years ago(lll_futex_wait): Return status.
drepper [Fri, 20 Jan 2006 16:48:38 +0000 (16:48 +0000)]
(lll_futex_wait): Return status.
(lll_futex_timed_wait): Define.

14 years ago.
drepper [Fri, 20 Jan 2006 16:47:02 +0000 (16:47 +0000)]
.

14 years ago[__ASSEMBLER__] (PTR_MANGLE): Add temporary register as the second parameter.
drepper [Fri, 20 Jan 2006 16:45:51 +0000 (16:45 +0000)]
[__ASSEMBLER__] (PTR_MANGLE): Add temporary register as the second parameter.
(PTR_DEMANGLE): Likewize.
(PTR_MANGLE2, PTR_DEMANGLE2): Define.

14 years agoMangle also r14 and r15.
drepper [Fri, 20 Jan 2006 16:44:52 +0000 (16:44 +0000)]
Mangle also r14 and r15.

14 years agoDemangle also r14 and r15.
drepper [Fri, 20 Jan 2006 16:44:08 +0000 (16:44 +0000)]
Demangle also r14 and r15.

14 years ago.
drepper [Fri, 20 Jan 2006 07:08:05 +0000 (07:08 +0000)]
.

14 years agoUse syscall if available.
drepper [Fri, 20 Jan 2006 07:06:59 +0000 (07:06 +0000)]
Use syscall if available.

14 years agoDefine __ASSUME_PSELECT, __ASSUME_PPOLL, and __ASSUME_ATFCTS if possible.
drepper [Fri, 20 Jan 2006 07:06:10 +0000 (07:06 +0000)]
Define __ASSUME_PSELECT, __ASSUME_PPOLL, and __ASSUME_ATFCTS if possible.

14 years agoLinux pselect implementation.
drepper [Fri, 20 Jan 2006 07:03:17 +0000 (07:03 +0000)]
Linux pselect implementation.

14 years agoMake it possible to include this file to define the generic code as a
drepper [Fri, 20 Jan 2006 07:02:13 +0000 (07:02 +0000)]
Make it possible to include this file to define the generic code as a
static function.

14 years ago.
drepper [Fri, 20 Jan 2006 06:59:57 +0000 (06:59 +0000)]
.

14 years agoTest ppoll.
drepper [Fri, 20 Jan 2006 06:59:03 +0000 (06:59 +0000)]
Test ppoll.

14 years agoLinux implementation of ppoll.
drepper [Fri, 20 Jan 2006 06:54:43 +0000 (06:54 +0000)]
Linux implementation of ppoll.

14 years agoDeclare ppoll.
drepper [Fri, 20 Jan 2006 06:53:49 +0000 (06:53 +0000)]
Declare ppoll.

14 years agoExport ppoll for GLIBC_2.4.
drepper [Fri, 20 Jan 2006 06:53:02 +0000 (06:53 +0000)]
Export ppoll for GLIBC_2.4.

14 years ago(routines): Add ppoll.
drepper [Fri, 20 Jan 2006 06:52:33 +0000 (06:52 +0000)]
(routines): Add ppoll.
(CFLAGS-ppoll.c): Define.

14 years agoGeneric ppoll implementation.
drepper [Fri, 20 Jan 2006 06:51:18 +0000 (06:51 +0000)]
Generic ppoll implementation.

14 years agoDeclare __have_atfcts.
drepper [Fri, 20 Jan 2006 06:50:05 +0000 (06:50 +0000)]
Declare __have_atfcts.

14 years ago.
drepper [Thu, 19 Jan 2006 15:52:01 +0000 (15:52 +0000)]
.

14 years agoInclude sysdep-cancel.h again. Add LIBC_CANCEL_HANDLED ().
drepper [Thu, 19 Jan 2006 15:50:16 +0000 (15:50 +0000)]
Include sysdep-cancel.h again.  Add LIBC_CANCEL_HANDLED ().

14 years ago.
drepper [Thu, 19 Jan 2006 15:24:31 +0000 (15:24 +0000)]
.

14 years ago(__pselect): Remove static.
drepper [Thu, 19 Jan 2006 15:22:33 +0000 (15:22 +0000)]
(__pselect): Remove static.

14 years ago.
drepper [Thu, 19 Jan 2006 07:55:12 +0000 (07:55 +0000)]
.

14 years ago(__pselect): No need to enable async cancellation here. This is done
drepper [Thu, 19 Jan 2006 07:50:20 +0000 (07:50 +0000)]
(__pselect): No need to enable async cancellation here.  This is done
in select.

14 years ago.
roland [Thu, 19 Jan 2006 07:29:40 +0000 (07:29 +0000)]
.

14 years ago2006-01-18 Roland McGrath <roland@redhat.com>
roland [Thu, 19 Jan 2006 07:29:11 +0000 (07:29 +0000)]
2006-01-18  Roland McGrath  <roland@redhat.com>

* Makerules ($(+sysdir_pfx)sysd-rules): Don't emit m_%.c rules,
instead emit m_%.o compilation rules from s_%.? source files.
* math/Makefile ($(objpfx)m_%$o: s_%.c): New rule using o-iterator.

14 years ago2006-01-18 Roland McGrath <roland@redhat.com>
roland [Thu, 19 Jan 2006 07:29:08 +0000 (07:29 +0000)]
2006-01-18  Roland McGrath  <roland@redhat.com>

* sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h [__ASSEMBLER__]: Don't
include problematic headers for assembler.

14 years ago.
drepper [Thu, 19 Jan 2006 06:18:04 +0000 (06:18 +0000)]
.

14 years ago[STAT_IS_KERNEL_STAT] (__fxstatat): Correct handling of invalid vers values.
drepper [Thu, 19 Jan 2006 06:16:47 +0000 (06:16 +0000)]
[STAT_IS_KERNEL_STAT] (__fxstatat): Correct handling of invalid vers values.

14 years ago.
drepper [Thu, 19 Jan 2006 01:35:28 +0000 (01:35 +0000)]
.

14 years ago(tests): Add tst-fopenloc2.
drepper [Thu, 19 Jan 2006 01:22:48 +0000 (01:22 +0000)]
(tests): Add tst-fopenloc2.

14 years agoTest ,ccs= functionality of fopen.
drepper [Thu, 19 Jan 2006 01:22:20 +0000 (01:22 +0000)]
Test ,ccs= functionality of fopen.

14 years ago(_IO_new_file_fopen): If ,ccs= is given, also set vtable to the wide vtable.
drepper [Thu, 19 Jan 2006 00:38:35 +0000 (00:38 +0000)]
(_IO_new_file_fopen): If ,ccs= is given, also set vtable to the wide vtable.

14 years ago.
roland [Wed, 18 Jan 2006 23:30:58 +0000 (23:30 +0000)]
.

14 years ago2006-01-18 Roland McGrath <roland@redhat.com>
roland [Wed, 18 Jan 2006 23:30:42 +0000 (23:30 +0000)]
2006-01-18  Roland McGrath  <roland@redhat.com>

* sysdeps/ieee754/ldbl-opt/nldbl-dprintf.c: Restore
attribute_hidden here.

14 years ago.
roland [Wed, 18 Jan 2006 23:25:13 +0000 (23:25 +0000)]
.

14 years ago2006-01-18 Roland McGrath <roland@redhat.com>
roland [Wed, 18 Jan 2006 23:25:05 +0000 (23:25 +0000)]
2006-01-18  Roland McGrath  <roland@redhat.com>

* sysdeps/sparc/sparc64/Makefile (long-double-fcts): Move this ...
* sysdeps/sparc/Makefile (long-double-fcts): ... to here.

14 years ago.
roland [Wed, 18 Jan 2006 19:49:05 +0000 (19:49 +0000)]
.

14 years ago2006-01-18 Jakub Jelinek <jakub@redhat.com>
roland [Wed, 18 Jan 2006 19:48:53 +0000 (19:48 +0000)]
2006-01-18  Jakub Jelinek  <jakub@redhat.com>

* elf/dl-deps.c (_dl_map_object_deps): In case of failure also make a
copy of objname string.

14 years agoUpdate.
aj [Wed, 18 Jan 2006 08:41:58 +0000 (08:41 +0000)]
Update.

14 years ago [BZ #2167]
aj [Wed, 18 Jan 2006 08:41:47 +0000 (08:41 +0000)]
   [BZ #2167]
        * sysdeps/unix/sysv/linux/mips/bits/pthreadtypes.h
        (pthread_mutex_t): Follow changes for other archs.  Based on patch
        by Jim Gifford <patches@jg555.com>.

14 years ago.
roland [Tue, 17 Jan 2006 04:31:22 +0000 (04:31 +0000)]
.

14 years ago2006-01-16 Roland McGrath <roland@redhat.com>
roland [Tue, 17 Jan 2006 04:31:11 +0000 (04:31 +0000)]
2006-01-16  Roland McGrath  <roland@redhat.com>

* stdlib/Makefile (headers): Restore headers removed in last change.

14 years ago2006-01-16 Roland McGrath <roland@redhat.com>
roland [Tue, 17 Jan 2006 04:31:08 +0000 (04:31 +0000)]
2006-01-16  Roland McGrath  <roland@redhat.com>

* Makerules ($(+sysdir_pfx)sysd-rules): Emit pattern rules to install
into $(inst_includedir)/%.h from sysdirs.
[headers]: Change static pattern rule for installing
$(headers) to do only those not matching %.h.
($(inst_includedir)/%.h: $(objpfx)%.h): Add this pattern rule instead.
($(inst_includedir)/%.h: %.h): Likewise.
($(inst_includedir)/%.h: $(..)include/%.h): Likewise.

14 years ago2006-01-16 Roland McGrath <roland@redhat.com>
roland [Tue, 17 Jan 2006 04:31:06 +0000 (04:31 +0000)]
2006-01-16  Roland McGrath  <roland@redhat.com>

* Makefile ($(inst_includedir)/gnu/stubs.h):
Add $(make-target-directory).

14 years ago2006-01-16 Jakub Jelinek <jakub@redhat.com>
roland [Tue, 17 Jan 2006 03:27:53 +0000 (03:27 +0000)]
2006-01-16  Jakub Jelinek  <jakub@redhat.com>

* math/e_exp2l.c: Don't include stdio.h, errno.h, stub-tag.h, include
math_private.h.
(__ieee754_exp2l): Compute for now as expl (M_LN2l * x)
instead of failing.
(exp2l): Remove stub_warning.

14 years ago2006-01-15 Jakub Jelinek <jakub@redhat.com>
roland [Tue, 17 Jan 2006 03:27:51 +0000 (03:27 +0000)]
2006-01-15  Jakub Jelinek  <jakub@redhat.com>

* io/tst-faccessat.c (do_test): Don't fail if geteuid () == 0.

14 years ago.
drepper [Mon, 16 Jan 2006 20:14:50 +0000 (20:14 +0000)]
.

14 years agoExport open_wmemstream for GLIBC_2.4.
drepper [Mon, 16 Jan 2006 20:13:21 +0000 (20:13 +0000)]
Export open_wmemstream for GLIBC_2.4.

14 years agoDeclare open_wmemstream.
drepper [Mon, 16 Jan 2006 20:12:21 +0000 (20:12 +0000)]
Declare open_wmemstream.

14 years ago(routines): Add wmemstream.
drepper [Mon, 16 Jan 2006 20:10:26 +0000 (20:10 +0000)]
(routines): Add wmemstream.
(tests): Add tst-memstream1, tst-memstream2, tst-wmemstream2, and
tst-wmemstream2.

14 years ago.
drepper [Mon, 16 Jan 2006 16:49:27 +0000 (16:49 +0000)]
.

14 years ago[!__ASSUME_TMPFS_NAME] (where_is_shmfs): Don't test for obsolete shm
drepper [Mon, 16 Jan 2006 16:47:54 +0000 (16:47 +0000)]
[!__ASSUME_TMPFS_NAME] (where_is_shmfs): Don't test for obsolete shm
filesystem name.

14 years agoDefine __ASSUME_TMPFS_NAME.
drepper [Mon, 16 Jan 2006 16:46:29 +0000 (16:46 +0000)]
Define __ASSUME_TMPFS_NAME.

14 years agoDon't search for proc mount point. We assume procfs is mounted at
drepper [Mon, 16 Jan 2006 16:38:52 +0000 (16:38 +0000)]
Don't search for proc mount point.  We assume procfs is mounted at
/proc in many other places already.

14 years agoUpdate.
aj [Sun, 15 Jan 2006 17:59:52 +0000 (17:59 +0000)]
Update.

14 years ago Adopt for cacosh test change.
aj [Sun, 15 Jan 2006 17:59:37 +0000 (17:59 +0000)]
 Adopt for cacosh test change.

14 years ago [BZ #2153]
aj [Sun, 15 Jan 2006 17:51:31 +0000 (17:51 +0000)]
[BZ #2153]
* math/s_cacosh.c (__cacosh): Do not return a negative
value. Patch by Wes Loewer <wjltemp-temp01@yahoo.com>.
* math/s_cacoshl.c (__cacoshl): Likewise.
* math/s_cacoshf.c (__cacoshf): Likewise.
* math/libm-test.inc (cacosh_test): Adjust for change.

14 years ago [BZ #1950]
aj [Sun, 15 Jan 2006 17:49:28 +0000 (17:49 +0000)]
[BZ #1950]
* posix/regex_internal.c (re_string_reconstruct): Adjust for
build_wcs_upper_buffer change.
(build_wcs_upper_buffer): Change return type.

14 years agoUpdate
aj [Sun, 15 Jan 2006 17:46:04 +0000 (17:46 +0000)]
Update

14 years ago [BZ #2078]
aj [Sun, 15 Jan 2006 17:45:47 +0000 (17:45 +0000)]
[BZ #2078]
* libio/fputwc.c (fputwc): Use proper type for result.
* libio/ioungetwc.c (ungetwc): Likewise.

14 years ago [BZ #2079]
aj [Sun, 15 Jan 2006 17:45:20 +0000 (17:45 +0000)]
[BZ #2079]
* libio/fputwc_u.c (fputwc_unlocked): Fix return value.
* libio/getwc_u.c (__getwc_unlocked): Likewise.
* libio/wfileops.c (_IO_wdo_write): Likewise.

14 years ago.
drepper [Sun, 15 Jan 2006 05:30:34 +0000 (05:30 +0000)]
.

14 years agoDefine SCHED_BATCH.
drepper [Sun, 15 Jan 2006 05:29:33 +0000 (05:29 +0000)]
Define SCHED_BATCH.

14 years ago.
roland [Sat, 14 Jan 2006 22:08:18 +0000 (22:08 +0000)]
.

14 years ago2006-01-14 Roland McGrath <roland@redhat.com>
roland [Sat, 14 Jan 2006 22:08:11 +0000 (22:08 +0000)]
2006-01-14  Roland McGrath  <roland@redhat.com>

* sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NLDBL_DECL): Don't try
attribute_hidden here.
* sysdeps/ieee754/ldbl-opt/nldbl-vsyslog.c (vsyslog): Restore
attribute_hidden here.
* sysdeps/ieee754/ldbl-opt/nldbl-asprintf.c (__asprintf): Likewise.
* sysdeps/ieee754/ldbl-opt/nldbl-fprintf.c (fprintf): Likewise.
* sysdeps/ieee754/ldbl-opt/nldbl-qecvt.c (qecvt): Likewise.
* sysdeps/ieee754/ldbl-opt/nldbl-qfcvt.c (qfcvt): Likewise.
* sysdeps/ieee754/ldbl-opt/nldbl-qgcvt.c (qgcvt): Likewise.

14 years ago2006-01-14 Roland McGrath <roland@redhat.com>
roland [Sat, 14 Jan 2006 21:58:44 +0000 (21:58 +0000)]
2006-01-14  Roland McGrath  <roland@redhat.com>

* sysdeps/ieee754/ldbl-opt/configure.in: Use AC_TRY_COMPILE and
verify __LONG_DOUBLE_128__ predefine.
* sysdeps/ieee754/ldbl-opt/configure: Regenerated.

14 years ago.
roland [Sat, 14 Jan 2006 21:16:35 +0000 (21:16 +0000)]
.

14 years ago.
roland [Sat, 14 Jan 2006 21:15:05 +0000 (21:15 +0000)]
.

14 years ago2006-01-14 Roland McGrath <roland@redhat.com>
roland [Sat, 14 Jan 2006 21:14:35 +0000 (21:14 +0000)]
2006-01-14  Roland McGrath  <roland@redhat.com>

* sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NLDBL_HIDDEN): Removed.
(NLDBL_DECL): Rewritten.
Remove __THROW from NLDBL_DECL uses.
Use NLDBL_DECL for __vstrfmon, __vstrfmon_l.
(__nldbl___vstrfmon, __nldbl___vsyslog_chk): Restore missing decls.
* sysdeps/ieee754/ldbl-opt/nldbl-asinh.c: Restore attribute_hidden.

14 years ago.
roland [Sat, 14 Jan 2006 20:33:13 +0000 (20:33 +0000)]
.

14 years ago2006-01-14 Roland McGrath <roland@redhat.com>
roland [Sat, 14 Jan 2006 20:33:04 +0000 (20:33 +0000)]
2006-01-14  Roland McGrath  <roland@redhat.com>

* sysdeps/ieee754/ldbl-opt/nldbl-asinh.c: Restore attribute_hidden.

14 years ago2006-01-14 Roland McGrath <roland@redhat.com>
roland [Sat, 14 Jan 2006 20:32:57 +0000 (20:32 +0000)]
2006-01-14  Roland McGrath  <roland@redhat.com>

* sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NLDBL_HIDDEN): Removed.
(NLDBL_DECL): Rewritten.
Remove __THROW from NLDBL_DECL uses.
Use NLDBL_DECL for __vstrfmon, __vstrfmon_l.

14 years ago2006-01-14 Jakub Jelinek <jakub@redhat.com>
roland [Sat, 14 Jan 2006 20:14:36 +0000 (20:14 +0000)]
2006-01-14  Jakub Jelinek  <jakub@redhat.com>

* misc/sys/cdefs.h (__LDBL_REDIR1_DECL): Define.
(__LDBL_REDIR_DECL): Stringize __nldbl and name.
* stdlib/bits/monetary-ldbl.h: Remove pastos from wchar-ldbl.h.
(strfmon, strfmon_l): Add __LDBL_REDIR_DECL.
* stdlib/bits/stdlib-ldbl.h (strtold, strtold_l, __strtold_internal,
qecvt, qfcvt, qgcvt, qecvt_r, qfcvt_r): Use __LDBL_REDIR1_DECL
instead of __LDBL_REDIR_DECL.
* wcsmbs/bits/wchar-ldbl.h: Remove stale #if.
(__LDBL_REDIR_WCHAR): Remove.
(fwprintf, wprintf, swprintf, vfwprintf, vwprintf, vswprintf,
fwscanf, wscanf, swscanf, vfwscanf, vwscanf, vswscanf): Use
__LDBL_REDIR_DECL instead of __LDBL_REDIR_WCHAR.
(wcstold, wcstold_l, __wcstold_internal): Add __LDBL_REDIR1_DECL.
* wcsmbs/wchar.h: Include bits/wchar-ldbl.h after bits/wchar2.h
instead of before it.
(wcstold inline): Move #ifndef __LDBL_COMPAT before
extern keyword.
* libio/bits/stdio-ldbl.h (__snprintf_chk, __vsnprintf_chk): Add
__LDBL_REDIR_DECL.
* misc/bits/syslog-ldbl.h (vsyslog): Protect with #ifdef __USE_BSD.
(__syslog_chk, __vsyslog_chk): Add __LDBL_REDIR_DECL.

14 years ago.
roland [Sat, 14 Jan 2006 13:03:48 +0000 (13:03 +0000)]
.

14 years ago2006-01-14 Roland McGrath <roland@redhat.com>
roland [Sat, 14 Jan 2006 13:03:31 +0000 (13:03 +0000)]
2006-01-14  Roland McGrath  <roland@redhat.com>

* sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NLDBL_DECL): Fix typo.
(NLDBL_HIDDEN): New macro.
(NLDBL_DECL): Use it in place of attribute_hidden.

14 years ago.
roland [Sat, 14 Jan 2006 12:54:45 +0000 (12:54 +0000)]
.

14 years ago2006-01-14 Roland McGrath <roland@redhat.com>
roland [Sat, 14 Jan 2006 12:54:38 +0000 (12:54 +0000)]
2006-01-14  Roland McGrath  <roland@redhat.com>

* misc/efgcvt.c: Include <math_ldbl_opt.h> instead of <shlib-compat.h>.
* misc/efgcvt_r.c: Likewise.

14 years ago.
roland [Sat, 14 Jan 2006 12:32:50 +0000 (12:32 +0000)]
.

14 years ago2006-01-14 Roland McGrath <roland@redhat.com>
roland [Sat, 14 Jan 2006 12:29:20 +0000 (12:29 +0000)]
2006-01-14  Roland McGrath  <roland@redhat.com>

* sysdeps/unix/sysv/linux/sparc/sparc32/nldbl-abi.h: New file.
* sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: #include <nldbl-abi.h>
to define LONG_DOUBLE_COMPAT_VERSION.  Use that in place of
NLDBL_VERSION.
* sysdeps/ieee754/ldbl-opt/Versions: Include <nldbl-abi.h>.
* sysdeps/unix/sysv/linux/sparc/sparc32/Versions: Revert last change.

14 years ago.
roland [Sat, 14 Jan 2006 12:10:44 +0000 (12:10 +0000)]
.

14 years ago2006-01-14 Jakub Jelinek <jakub@redhat.com>
roland [Sat, 14 Jan 2006 12:09:45 +0000 (12:09 +0000)]
2006-01-14  Jakub Jelinek  <jakub@redhat.com>

* libio/bits/stdio-ldbl.h: New file.
* libio/Makefile (headers): Add it.
* libio/stdio.h [__LDBL_COMPAT]: #include it.
* libio/bits/libio-ldbl.h: New file.
* libio/Makefile (headers): Add it.
* libio/libio.h [__LDBL_COMPAT]: #include it.
* libio/libioP.h: Include <math_ldbl_opt.h>.
* include/wchar.h (__fwprintf, __vfwprintf): Fix commented out
attribute.
(__vfwprintf_chk): New prototype.  Add libc_hidden_proto.
* wcsmbs/bits/wchar-ldbl.h: New file.
* wcsmbs/Makefile (headers): Add it.
* wcsmbs/wchar.h [__LDBL_COMPAT]: #include it.
* wcsmbs/bits/wchar2.h (__vswprintf_alias): Removed.
(vswprintf): Define as a macro rather than inline function.
* stdio-common/bits/printf-ldbl.h: New file.
* stdio-common/Makefile (headers): Add it.
* stdio-common/printf.h [__LDBL_COMPAT]: #include it.
* libio/fwprintf.c: Include libioP.h.
(fwprintf): Use ldbl_weak_alias instead of weak_alias.
* libio/fwscanf.c: Include libioP.h.
(fwscanf): Rename to __fwscanf and add ldbl_strong_alias.
* libio/iovdprintf.c (vdprintf): Use ldbl_weak_alias instead of
weak_alias.
* libio/iovsprintf.c (_IO_vsprintf): Rename to __IO_vsprintf,
add ldbl_strong_alias and use INTDEF2 instead of INTDEF.
(vsprintf): Use ldbl_weak_alias instead of weak_alias.
* libio/iovsscanf.c (__vsscanf, vsscanf): Use ldbl_weak_alias
instead of weak_alias.
* libio/iovswscanf.c (vswscanf): Rename to __vswscanf,
add ldbl_strong_alias and use ldbl_hidden_def instead of
libc_hidden_def.
* libio/obprintf.c (obstack_printf, obstack_vprintf): Use
ldbl_weak_alias instead of weak_alias.
* libio/swprintf.c: Include libioP.h.
(swprintf): Rename to __swprintf and add ldbl_strong_alias.
* libio/swscanf.c: Include libioP.h.
(swscanf): Rename to __swscanf and add ldbl_strong_alias.
* libio/vasprintf.c (vasprintf): Use ldbl_weak_alias instead of
weak_alias.
* libio/vscanf.c (vscanf): Use ldbl_weak_alias instead of
weak_alias.
* libio/vsnprintf.c (__vsnprintf, vsnprintf): Use ldbl_weak_alias
instead of weak_alias.
* libio/vswprintf.c (__vswprintf): Remove alias.
(vswprintf): Use ldbl_weak_alias instead of weak_alias.
* libio/vwprintf.c: Include libioP.h.
(vwprintf): Rename to __vwprintf and add ldbl_strong_alias.
* libio/vwscanf.c (vwscanf): Rename to __vwscanf and add
ldbl_strong_alias.
* libio/wprintf.c: Include libioP.h.
(wprintf): Rename to __wprintf and add ldbl_strong_alias.
* libio/wscanf.c: Include libioP.h.
(wscanf): Rename to __wscanf and add ldbl_strong_alias.
* stdio-common/asprintf.c (__asprintf): Rename to ___asprintf, add
ldbl_strong_alias and use INTDEF2 instead of INTDEF.
(asprintf): Use ldbl_weak_alias instead of weak_alias.
* stdio-common/dprintf.c (dprintf): Rename to __dprintf, add
ldbl_strong_alias and use ldbl_hidden_def instead of
libc_hidden_def.
* stdio-common/fprintf.c: Include libioP.h.
(fprintf): Rename to __fprintf, add ldbl_strong_alias and
use ldbl_hidden_def instead of libc_hidden_def.
(_IO_fprintf): Use ldbl_weak_alias instead of weak_alias.
* stdio-common/fscanf.c: Include libioP.h.
(fscanf): Rename to __fscanf and add ldbl_strong_alias.
* stdio-common/printf.c: Include libioP.h.
(printf): Rename to __printf and add ldbl_strong_alias.
(_IO_printf): Use ldbl_strong_alias instead of strong_alias.
* stdio-common/printf_fp.c (__printf_fp): Rename to __printf_fp, add
ldbl_strong_alias and use ldbl_hidden_def instead of
libc_hidden_def.
* stdio-common/printf_size.c (printf_size): Rename to __printf_size
and add ldbl_strong_alias.
* stdio-common/scanf.c (scanf): Rename to __scanf and add
ldbl_strong_alias.
* stdio-common/snprintf.c (snprintf): Use ldbl_weak_alias instead of
weak_alias.
* stdio-common/sprintf.c (sprintf): Rename to __sprintf, add
ldbl_strong_alias and use ldbl_hidden_def instead of
libc_hidden_def.
(_IO_sprintf): Use ldbl_strong_alias instead of strong_alias.
* stdio-common/sscanf.c: Include libioP.h instead of iolibio.h.
(sscanf): Rename to __sscanf and add ldbl_strong_alias.
* stdio-common/vfprintf.c (vfprintf): Define to
_IO_vfprintf_internal.  Use ldbl_strong_alias instead.  Use
ldbl_hidden_def instead of libc_hidden_def.
(_IO_vfprintf_internal): Clear is_long_double if __ldbl_is_dbl,
handle the argument as double if it is non-zero.
(vfwprintf): Use ldbl_weak_alias instead of weak_alias.
(_IO_vfprintf): Add ldbl_strong_alias.
* stdio-common/vfscanf.c (_IO_vfscanf): Rename to
_IO_vfscanf_internal, don't use strtold if __ldbl_is_dbl, add
ldbl_strong_alias.
(vfwscanf): Use ldbl_weak_alias instead of weak_alias.
(__vfscanf): Rename to ___vfscanf, add ldbl_strong_alias and
use ldbl_hidden_def instead of libc_hidden_def.
(vfscanf): Use ldbl_weak_alias instead of weak_alias.
* stdio-common/vprintf.c: Include libioP.h.
(vprintf): Rename to __vprintf and add ldbl_strong_alias.
* debug/fprintf_chk.c (__fprintf_chk): Rename to ___fprintf_chk
and add ldbl_strong_alias.
* debug/printf_chk.c (__printf_chk): Rename to ___printf_chk
and add ldbl_strong_alias.
* debug/snprintf_chk.c: Include libioP.h.
(__snprintf_chk): Rename to ___snprintf_chk and add ldbl_strong_alias.
* debug/sprintf_chk.c: Include libioP.h.
(__sprintf_chk): Rename to ___sprintf_chk and add ldbl_strong_alias.
* debug/vfprintf_chk.c (__vfprintf_chk): Rename to ___vfprintf_chk,
add ldbl_strong_alias and use ldbl_hidden_def instead of
libc_hidden_def.
* debug/vfwprintf_chk.c (__vfwprintf_chk): Add libc_hidden_def.
* debug/vprintf_chk.c (__vprintf_chk): Rename to ___vprintf_chk
and add ldbl_strong_alias.
* debug/vsnprintf_chk.c (__vsnprintf_chk): Rename to ___vsnprintf_chk,
add ldbl_strong_alias and use ldbl_hidden_def instead of
libc_hidden_def.
* debug/vsprintf_chk.c (__vsprintf_chk): Rename to ___vsprintf_chk,
add ldbl_strong_alias and use ldbl_hidden_def instead of
libc_hidden_def.

14 years ago2006-01-14 Jakub Jelinek <jakub@redhat.com>
roland [Sat, 14 Jan 2006 12:09:36 +0000 (12:09 +0000)]
2006-01-14  Jakub Jelinek  <jakub@redhat.com>

* misc/bits/syslog-ldbl.h: New file.
* misc/Makefile (headers): Add it.
* misc/sys/syslog.h [__LDBL_COMPAT]: #include it.
* misc/syslog.c: Include math_ldbl_opt.h.
(syslog): Rename to __syslog and add ldbl_strong_alias,
use ldbl_hidden_def instead of libc_hidden_def.
(vsyslog): Rename to __vsyslog and add ldbl_strong_alias,
use ldbl_hidden_def instead of libc_hidden_def.

14 years ago2006-01-14 Jakub Jelinek <jakub@redhat.com>
roland [Sat, 14 Jan 2006 12:09:29 +0000 (12:09 +0000)]
2006-01-14  Jakub Jelinek  <jakub@redhat.com>

* stdlib/bits/stdlib-ldbl.h: New file.
* stdlib/Makefile (headers): Add it.
* stdlib/stdlib.h [__LDBL_COMPAT]: #include it.
* include/stdlib.h (ecvt_r, fcvt_r, qecvt_r, qfcvt_r): Remove
libc_hidden_proto.
(__ecvt, __fcvt, __gcvt, __ecvt_r, __fcvt_r, __qecvt, __qfcvt,
__qgcvt, __qecvt_r, __qfcvt_r): New prototypes.
* misc/efgcvt_r.c: Include shlib-compat.h.
(LONG_DOUBLE_CVT): Define.
(__APPEND, __APPEND2): Define.
(*fcvt_r): Use __APPEND instead of APPEND.  Remove libc_hidden_def.
(*ecvt_r): Likewise.
(cvt_symbol): Define.  Use it on fcvt_r and ecvt_r.
* misc/efgcvt.c: Include shlib-compat.h.
(LONG_DOUBLE_CVT): Define.
(__APPEND, __APPEND2): Define.
(fcvt): Use __APPEND instead of APPEND.  Remove libc_hidden_def.
(ecvt, gcvt): Likewise.
(cvt_symbol): Define.  Use it on fcvt, ecvt and gcvt.
* stdlib/bits/monetary-ldbl.h: New file.
* stdlib/Makefile (headers): Add it.
* stdlib/monetary.h [__LDBL_COMPAT]: #include it.
* stdlib/strfmon.c: Include math_ldbl_opt.h.
(strfmon): Rename to __strfmon and add ldbl_strong_alias.
* stdlib/strfmon_l.c: Remove all traces of [!USE_IN_LIBIO].
(__vstrfmon_l): Don't set is_long_double if __ldbl_is_dbl.
(__strfmon_l): Rename to ___strfmon_l and add ldbl_strong_alias.
(strfmon_l): Use ldbl_weak_alias instead of weak_alias.