kopensolaris-gnu/glibc.git
12 years ago(fscanf, scanf, sscanf, vfscanf, vscanf, vsscanf): Redirect to
drepper [Tue, 18 Sep 2007 17:59:01 +0000 (17:59 +0000)]
(fscanf, scanf, sscanf, vfscanf, vscanf, vsscanf): Redirect to
__nldbl___isoc99_* if strict ISO C99 or POSIX conformance requested.

12 years ago(fscanf, scanf, sscanf, vfscanf, vscanf, vsscanf): Redirect to
drepper [Tue, 18 Sep 2007 17:58:29 +0000 (17:58 +0000)]
(fscanf, scanf, sscanf, vfscanf, vscanf, vsscanf): Redirect to
__isoc99_* if strict ISO C99 or POSIX conformance requested.

12 years ago(_IO_acquire_lock_clear_flags2_fct): Also clear _IO_FLAGS2_SCANF_STD
drepper [Tue, 18 Sep 2007 17:57:59 +0000 (17:57 +0000)]
(_IO_acquire_lock_clear_flags2_fct): Also clear _IO_FLAGS2_SCANF_STD
bit from _flags2.

(_IO_acquire_lock_clear_flags2_fct): Clear the _IO_FLAGS2_FORTIFY bit
from _flags2 rather than _flags.

12 years ago(_IO_FLAGS2_SCANF_STD): Define.
drepper [Tue, 18 Sep 2007 17:57:19 +0000 (17:57 +0000)]
(_IO_FLAGS2_SCANF_STD): Define.

12 years ago(tests): Add edge case tests for "0", "0x", "0x0".
drepper [Tue, 18 Sep 2007 17:56:37 +0000 (17:56 +0000)]
(tests): Add edge case tests for "0", "0x", "0x0".

12 years ago(__isoc99_fwscanf, __isoc99_wscanf,__isoc99_swscanf, __isoc99_vwscanf):
drepper [Tue, 18 Sep 2007 17:55:49 +0000 (17:55 +0000)]
(__isoc99_fwscanf, __isoc99_wscanf,__isoc99_swscanf, __isoc99_vwscanf):
New prototypes.
(__isoc99_vswscanf, __isoc99_vfwscanf): New prototypes,
add libc_hidden_proto.

12 years ago(__isoc99_fscanf, __isoc99_scanf, __isoc99_sscanf, __isoc99_vscanf):
drepper [Tue, 18 Sep 2007 17:55:21 +0000 (17:55 +0000)]
(__isoc99_fscanf, __isoc99_scanf, __isoc99_sscanf, __isoc99_vscanf):
New prototypes.
(__isoc99_vsscanf, __isoc99_vfscanf): New prototypes, add
libc_hidden_proto.

12 years ago.
drepper [Tue, 18 Sep 2007 16:21:06 +0000 (16:21 +0000)]
.

12 years agoMark splice, vmsplice, and tee as cancellation points.
drepper [Tue, 18 Sep 2007 16:20:57 +0000 (16:20 +0000)]
Mark splice, vmsplice, and tee as cancellation points.

12 years agoCorrect return value type __THROW marker of splice, vmsplice, and tee.
drepper [Tue, 18 Sep 2007 16:20:44 +0000 (16:20 +0000)]
Correct return value type __THROW marker of splice, vmsplice, and tee.

12 years agoUndo second occurrence of RH GCC hack.
jakub [Sun, 16 Sep 2007 05:10:26 +0000 (05:10 +0000)]
Undo second occurrence of RH GCC hack.

12 years ago.
drepper [Sat, 15 Sep 2007 22:54:33 +0000 (22:54 +0000)]
.

12 years ago(_dl_discover_osversion): Don't parse more than three parts of the
drepper [Sat, 15 Sep 2007 22:54:08 +0000 (22:54 +0000)]
(_dl_discover_osversion): Don't parse more than three parts of the
version number.

12 years ago.
drepper [Sat, 15 Sep 2007 22:49:46 +0000 (22:49 +0000)]
.

12 years ago(_IO_vfwscanf): Add support for 'm' modifier.
drepper [Sat, 15 Sep 2007 22:49:24 +0000 (22:49 +0000)]
(_IO_vfwscanf): Add support for 'm' modifier.

12 years agoRemove hack for RH gcc.
drepper [Sat, 15 Sep 2007 22:43:22 +0000 (22:43 +0000)]
Remove hack for RH gcc.

12 years ago.
drepper [Sat, 15 Sep 2007 22:38:32 +0000 (22:38 +0000)]
.

12 years agoUse __call_fallocate instead of __fallocate64.
drepper [Sat, 15 Sep 2007 22:38:08 +0000 (22:38 +0000)]
Use __call_fallocate instead of __fallocate64.

12 years agoUse __call_fallocate instead of __fallocate64.
drepper [Sat, 15 Sep 2007 22:37:57 +0000 (22:37 +0000)]
Use __call_fallocate instead of __fallocate64.

12 years ago(fallocate64): Remove.
drepper [Sat, 15 Sep 2007 22:37:46 +0000 (22:37 +0000)]
(fallocate64): Remove.

12 years agoWrapper around fallocate syscall on x86.
drepper [Sat, 15 Sep 2007 22:37:31 +0000 (22:37 +0000)]
Wrapper around fallocate syscall on x86.

12 years ago(sysdep_routines): Add call_fallocate in misc subdir.
drepper [Sat, 15 Sep 2007 22:36:10 +0000 (22:36 +0000)]
(sysdep_routines): Add call_fallocate in misc subdir.

12 years ago.
drepper [Sat, 15 Sep 2007 22:35:27 +0000 (22:35 +0000)]
.

12 years ago(__open_alias, __open64_alias, __openat_alias, __openat64_alias): New
drepper [Sat, 15 Sep 2007 22:35:19 +0000 (22:35 +0000)]
(__open_alias, __open64_alias, __openat_alias, __openat64_alias): New
redirects.
(__open_too_many_args, __open_missing_mode, __open64_too_many_args,
__open64_missing_mode, __openat_too_many_args, __openat_missing_mode,
__openat64_too_many_args, __openat64_missing_mode): New __errordecls.
(open, open64, openat, openat64): Rewrite as __extern_always_inline
functions instead of function-like macros.

12 years agoInclude bits/fcntl2.h when __va_arg_pack_len is defined rather than when
drepper [Sat, 15 Sep 2007 22:34:56 +0000 (22:34 +0000)]
Include bits/fcntl2.h when __va_arg_pack_len is defined rather than when
not C++.

12 years ago(__errordecl, __va_arg_pack_len): Define.
drepper [Sat, 15 Sep 2007 22:34:39 +0000 (22:34 +0000)]
(__errordecl, __va_arg_pack_len): Define.

12 years ago(__fortify_fail): Add libc_hidden_proto.
drepper [Sat, 15 Sep 2007 22:34:25 +0000 (22:34 +0000)]
(__fortify_fail): Add libc_hidden_proto.

12 years ago(__fortify_fail): Add libc_hidden_def.
drepper [Sat, 15 Sep 2007 22:34:13 +0000 (22:34 +0000)]
(__fortify_fail): Add libc_hidden_def.

12 years ago(librt): Add GLIBC_2.7 version.
drepper [Sat, 15 Sep 2007 22:32:08 +0000 (22:32 +0000)]
(librt): Add GLIBC_2.7 version.

12 years ago(libc): Export __fortify_fail@@GLIBC_PRIVATE.
drepper [Sat, 15 Sep 2007 22:31:58 +0000 (22:31 +0000)]
(libc): Export __fortify_fail@@GLIBC_PRIVATE.

12 years ago(__mq_open): Renamed from mq_open.
drepper [Sat, 15 Sep 2007 22:31:45 +0000 (22:31 +0000)]
(__mq_open): Renamed from mq_open.
(mq_open): New strong_alias.

12 years ago(__mq_open): Renamed from mq_open.
drepper [Sat, 15 Sep 2007 22:31:28 +0000 (22:31 +0000)]
(__mq_open): Renamed from mq_open.
(mq_open): New strong_alias.
(__mq_open_2): New function.

12 years agoFortify definiition for mqueue.h.
drepper [Sat, 15 Sep 2007 22:31:08 +0000 (22:31 +0000)]
Fortify definiition for mqueue.h.

12 years agoInclude bits/mqueue2.h if -D_FORTIFY_SOURCE=2,
drepper [Sat, 15 Sep 2007 22:30:33 +0000 (22:30 +0000)]
Include bits/mqueue2.h if -D_FORTIFY_SOURCE=2,
optimizing with GCC and __va_arg_pack_len is defined.

12 years ago(headers): Add bits/mqueue2.h.
drepper [Sat, 15 Sep 2007 22:30:16 +0000 (22:30 +0000)]
(headers): Add bits/mqueue2.h.

12 years ago(librt): Export __mq_open_2@@GLIBC_2.7.
drepper [Sat, 15 Sep 2007 22:30:01 +0000 (22:30 +0000)]
(librt): Export __mq_open_2@@GLIBC_2.7.

12 years ago.
drepper [Sat, 15 Sep 2007 22:24:03 +0000 (22:24 +0000)]
.

12 years ago(__memset_chk): New definition.
drepper [Sat, 15 Sep 2007 22:23:57 +0000 (22:23 +0000)]
(__memset_chk): New definition.

12 years ago(__memcpy_chk): New definition.
drepper [Sat, 15 Sep 2007 22:23:46 +0000 (22:23 +0000)]
(__memcpy_chk): New definition.

12 years ago(__memcpy_chk): New definition.
drepper [Sat, 15 Sep 2007 22:23:37 +0000 (22:23 +0000)]
(__memcpy_chk): New definition.

12 years ago.
drepper [Sat, 15 Sep 2007 22:22:12 +0000 (22:22 +0000)]
.

12 years agoReset digit to 0 for inputs starting with "0x".
drepper [Sat, 15 Sep 2007 22:21:19 +0000 (22:21 +0000)]
Reset digit to 0 for inputs starting with "0x".

12 years ago.
roland [Sat, 15 Sep 2007 04:10:42 +0000 (04:10 +0000)]
.

12 years ago2007-09-14 Mike Frysinger <vapier@gentoo.org>
roland [Sat, 15 Sep 2007 04:10:38 +0000 (04:10 +0000)]
2007-09-14  Mike Frysinger  <vapier@gentoo.org>

* inet/tst-network.c: Increment ERRORS for failing tests.

12 years ago.
drepper [Sat, 15 Sep 2007 02:38:04 +0000 (02:38 +0000)]
.

12 years agoFix #error message.
drepper [Sat, 15 Sep 2007 02:37:54 +0000 (02:37 +0000)]
Fix #error message.
(swprintf, wprintf, fwprintf): Don't define the macros for C++.
(vswprintf, vwprintf, vfwprintf): Define using
__extern_always_inline functions for C++.

(__swprintf_alias): New redirect.
(swprintf, wprintf, fwprintf): When __va_arg_pack is defined,
implement as __extern_always_inline functions.
(vswprintf, vwprintf, vfwprintf): Define as
__extern_always_inline functions unconditionally.

12 years agoInclude bits/wchar2.h when __extern_always_inline is defined instead
drepper [Sat, 15 Sep 2007 02:37:11 +0000 (02:37 +0000)]
Include bits/wchar2.h when __extern_always_inline is defined instead
of when not __cplusplus.
(btowc, wctob): Don't guard the inlines with ifndef __cplusplus.

12 years ago(gnu_dev_major, gnu_dev_minor, gnu_dev_makedev): Remove
drepper [Sat, 15 Sep 2007 02:36:44 +0000 (02:36 +0000)]
(gnu_dev_major, gnu_dev_minor, gnu_dev_makedev): Remove
__extern_inline from prototypes.  Only provide __extern_inline
routines if __USE_EXTERN_INLINES.

12 years ago(__STRING_INLINE): Define to __extern_inline whenever that macro is defined.
drepper [Sat, 15 Sep 2007 02:36:23 +0000 (02:36 +0000)]
(__STRING_INLINE): Define to __extern_inline whenever that macro is defined.

12 years agoDon't #undef macros if __cplusplus.
drepper [Sat, 15 Sep 2007 02:35:31 +0000 (02:35 +0000)]
Don't #undef macros if __cplusplus.
(memcpy, memmove, mempcpy, memset, bcopy, bzero, strcpy, stpcpy,
strncpy, strcat, strncat): Define as __extern_always_inline
functions instead of macros for C++.

12 years agoInclude bits/string3.h when __extern_always_inline is defined instead
drepper [Sat, 15 Sep 2007 02:35:08 +0000 (02:35 +0000)]
Include bits/string3.h when __extern_always_inline is defined instead
of when not __cplusplus.

12 years agoInclude bits/stdlib.h when __extern_always_inline is defined instead
drepper [Sat, 15 Sep 2007 02:34:53 +0000 (02:34 +0000)]
Include bits/stdlib.h when __extern_always_inline is defined instead
of when not __cplusplus.

12 years agoInclude bits/socket2.h when __extern_always_inline is defined instead
drepper [Sat, 15 Sep 2007 02:34:34 +0000 (02:34 +0000)]
Include bits/socket2.h when __extern_always_inline is defined instead
of when not __cplusplus.

12 years agoInclude bits/unistd.h when __extern_always_inline is defined instead
drepper [Sat, 15 Sep 2007 02:34:09 +0000 (02:34 +0000)]
Include bits/unistd.h when __extern_always_inline is defined instead
of when not __cplusplus.

12 years agoInclude bits/syslog.h when __extern_always_inline is defined instead
drepper [Sat, 15 Sep 2007 02:33:54 +0000 (02:33 +0000)]
Include bits/syslog.h when __extern_always_inline is defined instead
of when not __cplusplus.

12 years ago(__extern_inline, __extern_always_inline): Only define in C++ for GCC
drepper [Sat, 15 Sep 2007 02:33:27 +0000 (02:33 +0000)]
(__extern_inline, __extern_always_inline): Only define in C++ for GCC
4.3+, in C++ always use __gnu_inline__ attribute.

(__va_arg_pack): Define for GCC 4.3+.

12 years ago(syslog): Don't define for C++.
drepper [Sat, 15 Sep 2007 02:32:59 +0000 (02:32 +0000)]
(syslog): Don't define for C++.
(vsyslog): Use __extern_always_inline function for C++ instead of a macro.

(syslog): When __va_arg_pack is defined, implement as
__extern_always_inline function.
(vsyslog): Define as __extern_always_inline function unconditionally.

12 years ago(__MATH_INLINE): Define to __extern_inline whenever that macro is defined.
drepper [Sat, 15 Sep 2007 02:31:46 +0000 (02:31 +0000)]
(__MATH_INLINE): Define to __extern_inline whenever that macro is defined.

12 years agoGuard __extern_inline routines with defined __extern_inline.
drepper [Sat, 15 Sep 2007 02:31:02 +0000 (02:31 +0000)]
Guard __extern_inline routines with defined __extern_inline.

12 years ago(sprintf, snprintf, printf, fprintf): Don't define the macros for C++.
drepper [Sat, 15 Sep 2007 02:30:24 +0000 (02:30 +0000)]
(sprintf, snprintf, printf, fprintf): Don't define the macros for C++.
(vsprintf, vsnprintf, vprintf, vfprintf): Define as
__extern_always_inline functions for C++.

(sprintf, snprintf, printf, fprintf): When __va_arg_pack is defined,
implement as __extern_always_inline functions.
(vsprintf, vsnprintf, vprintf, vfprintf): Define as
__extern_always_inline functions unconditionally.

12 years ago(__STDIO_INLINE): Define to __extern_inline whenever that macro is defined.
drepper [Sat, 15 Sep 2007 02:29:35 +0000 (02:29 +0000)]
(__STDIO_INLINE): Define to __extern_inline whenever that macro is defined.
(vprintf): Don't provide the inline for C++.
(fread_unlocked, fwrite_unlocked): Don't define the macros for C++.

(vprintf): Ifdef out the inline when bits/stdio2.h will be included.

12 years agoGuard *_chk stuff with defined __extern_always_inline instead of
drepper [Sat, 15 Sep 2007 02:28:33 +0000 (02:28 +0000)]
Guard *_chk stuff with defined __extern_always_inline instead of
!defined __cplusplus.

12 years agoInclude bits/stdio2.h when __extern_always_inline is defined instead
drepper [Sat, 15 Sep 2007 02:27:31 +0000 (02:27 +0000)]
Include bits/stdio2.h when __extern_always_inline is defined instead
of when not __cplusplus.

12 years ago(stat, lstat, fstat, fstatat, mknod, mknodat, stat64, lstat64,
drepper [Sat, 15 Sep 2007 02:27:07 +0000 (02:27 +0000)]
(stat, lstat, fstat, fstatat, mknod, mknodat, stat64, lstat64,
fstat64, fstatat64): Don't define if not __USE_EXTERN_INLINES.

12 years agoDon't include bits/fcntl2.h if __extern_always_inline is not defined.
drepper [Sat, 15 Sep 2007 02:26:41 +0000 (02:26 +0000)]
Don't include bits/fcntl2.h if __extern_always_inline is not defined.

12 years ago(__vfwprintf_chk, __vswprintf_chk): Avoid prototypes in C++.
drepper [Sat, 15 Sep 2007 02:26:01 +0000 (02:26 +0000)]
(__vfwprintf_chk, __vswprintf_chk): Avoid prototypes in C++.

12 years ago(__sprintf_chk, __snprintf_chk, __vsprintf_chk, __vsnprintf_chk,
drepper [Sat, 15 Sep 2007 02:25:22 +0000 (02:25 +0000)]
(__sprintf_chk, __snprintf_chk, __vsprintf_chk, __vsnprintf_chk,
__printf_chk, __fprintf_chk, __vprintf_chk, __vfprintf_chk,
__fgets_unlocked_chk, __fgets_chk): Dont' declare for C++.

12 years ago(__USE_EXTERN_INLINES): Define only when __extern_inline is defined.
drepper [Sat, 15 Sep 2007 02:23:49 +0000 (02:23 +0000)]
(__USE_EXTERN_INLINES): Define only when __extern_inline is defined.

12 years agoAdd rules to build and run tst-{,lfs}chk{4,5,6} tests.
drepper [Sat, 15 Sep 2007 02:23:17 +0000 (02:23 +0000)]
Add rules to build and run tst-{,lfs}chk{4,5,6} tests.

12 years agoRun tst-lfschk3 test for C++.
drepper [Sat, 15 Sep 2007 02:23:03 +0000 (02:23 +0000)]
Run tst-lfschk3 test for C++.

12 years agoRun tst-lfschk2 test for C++.
drepper [Sat, 15 Sep 2007 02:22:55 +0000 (02:22 +0000)]
Run tst-lfschk2 test for C++.

12 years agoRun tst-lfschk1 test for C++.
drepper [Sat, 15 Sep 2007 02:22:49 +0000 (02:22 +0000)]
Run tst-lfschk1 test for C++.

12 years agoRun tst-chk3 test for C++.
drepper [Sat, 15 Sep 2007 02:22:27 +0000 (02:22 +0000)]
Run tst-chk3 test for C++.

12 years agoRun tst-chk2 test for C++.
drepper [Sat, 15 Sep 2007 02:22:20 +0000 (02:22 +0000)]
Run tst-chk2 test for C++.

12 years agoRun tst-chk1 test for C++.
drepper [Sat, 15 Sep 2007 02:22:13 +0000 (02:22 +0000)]
Run tst-chk1 test for C++.

12 years ago(do_prepare, do_test): Allow compilation as C++. For now avoid some
drepper [Sat, 15 Sep 2007 02:21:45 +0000 (02:21 +0000)]
(do_prepare, do_test): Allow compilation as C++.  For now avoid some
*printf tests in C++.  Skip all testing if __USE_FORTIFY_LEVEL is
defined, but __extern_always_inline macro is not.

12 years ago.
drepper [Thu, 13 Sep 2007 22:01:39 +0000 (22:01 +0000)]
.

12 years agoUpdate from translation team.
drepper [Thu, 13 Sep 2007 22:00:56 +0000 (22:00 +0000)]
Update from translation team.

12 years ago.
roland [Tue, 11 Sep 2007 23:57:30 +0000 (23:57 +0000)]
.

12 years ago2007-09-11 Roland McGrath <roland@redhat.com>
roland [Tue, 11 Sep 2007 23:57:22 +0000 (23:57 +0000)]
2007-09-11  Roland McGrath  <roland@redhat.com>

* posix/Makefile ($(objpfx)getconf.speclist): Make it empty if cross
compiling.

12 years ago.
roland [Fri, 7 Sep 2007 20:39:01 +0000 (20:39 +0000)]
.

12 years ago2007-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
roland [Fri, 7 Sep 2007 20:38:57 +0000 (20:38 +0000)]
2007-09-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>

* sysdeps/mach/hurd/bits/ioctls.h (TAB3): New macro.

12 years ago.
roland [Wed, 5 Sep 2007 20:48:27 +0000 (20:48 +0000)]
.

12 years ago2007-09-05 Roland McGrath <roland@redhat.com>
roland [Wed, 5 Sep 2007 20:48:21 +0000 (20:48 +0000)]
2007-09-05  Roland McGrath  <roland@redhat.com>

* manual/signal.texi (Signaling Another Process): Typo fix.
From Karl Berry <karl@freefriends.org>.

12 years ago.
drepper [Sun, 2 Sep 2007 16:53:13 +0000 (16:53 +0000)]
.

12 years ago(__pthread_cond_wait): Fix unlocking of internal lock after mutex
drepper [Sun, 2 Sep 2007 16:52:35 +0000 (16:52 +0000)]
(__pthread_cond_wait): Fix unlocking of internal lock after mutex
unlocking failed.

12 years ago.
drepper [Wed, 29 Aug 2007 16:50:11 +0000 (16:50 +0000)]
.

12 years ago(IFA_F_OPTIMISTIC): Define to zero if not defined.
drepper [Wed, 29 Aug 2007 16:49:45 +0000 (16:49 +0000)]
(IFA_F_OPTIMISTIC): Define to zero if not defined.
(make_request): Recognize optimistic addresses and treat them like
deprecated addresses.

12 years ago.
drepper [Wed, 29 Aug 2007 06:10:07 +0000 (06:10 +0000)]
.

12 years ago(send_ro_fd): Also transfer file size.
drepper [Wed, 29 Aug 2007 06:09:59 +0000 (06:09 +0000)]
(send_ro_fd): Also transfer file size.

12 years ago(get_mapping): If nscd also transfers the file size don't call fstat.
drepper [Wed, 29 Aug 2007 06:09:36 +0000 (06:09 +0000)]
(get_mapping): If nscd also transfers the file size don't call fstat.

12 years ago.
drepper [Wed, 29 Aug 2007 05:16:12 +0000 (05:16 +0000)]
.

12 years ago(get_mapping): Avoid the pread call, just go ahead and map the file.
drepper [Wed, 29 Aug 2007 05:16:00 +0000 (05:16 +0000)]
(get_mapping): Avoid the pread call, just go ahead and map the file.
This should always be correct and we can catch problems later.

12 years ago.
drepper [Tue, 28 Aug 2007 20:33:49 +0000 (20:33 +0000)]
.

12 years ago(libc): Export __fread_chk@@GLIBC_2.7 and __fread_unlocked_chk@@GLIBC_2.7.
drepper [Tue, 28 Aug 2007 20:33:19 +0000 (20:33 +0000)]
(libc): Export __fread_chk@@GLIBC_2.7 and __fread_unlocked_chk@@GLIBC_2.7.

12 years ago(routines): Add fread_chk and fread_u_chk.
drepper [Tue, 28 Aug 2007 20:33:07 +0000 (20:33 +0000)]
(routines): Add fread_chk and fread_u_chk.
(CFLAGS-fread_chk.c, CFLAGS-fread_u_chk.c): Add.

12 years ago(__fread_chk, __fread_unlocked_chk): New prototypes.
drepper [Tue, 28 Aug 2007 20:32:55 +0000 (20:32 +0000)]
(__fread_chk, __fread_unlocked_chk): New prototypes.
(__fread_alias, __fread_unlocked_alias): New aliases.
(fread): New extern inline.
(fread_unlocked): Likewise.  Undef macro before definition of
the inline function.

12 years ago(do_test): Add fread and fread_unlocked tests.
drepper [Tue, 28 Aug 2007 20:32:26 +0000 (20:32 +0000)]
(do_test): Add fread and fread_unlocked tests.

12 years agoDebug version of fread_unlocked.
drepper [Tue, 28 Aug 2007 20:31:52 +0000 (20:31 +0000)]
Debug version of fread_unlocked.

12 years agoDebug version of fread.
drepper [Tue, 28 Aug 2007 20:31:26 +0000 (20:31 +0000)]
Debug version of fread.