kopensolaris-gnu/glibc.git
14 years agoDefine atomic_max and atomic_min.
drepper [Sat, 20 Aug 2005 01:14:07 +0000 (01:14 +0000)]
Define atomic_max and atomic_min.

14 years agoLink libmemusage.so with ld.so.
drepper [Sat, 20 Aug 2005 01:13:06 +0000 (01:13 +0000)]
Link libmemusage.so with ld.so.

14 years agoUse atomic operations for all counter and size computations. Handle
drepper [Sat, 20 Aug 2005 01:12:37 +0000 (01:12 +0000)]
Use atomic operations for all counter and size computations.  Handle
thread stacks.

14 years agoDefine memusage_cntr_t and memusage_size_t.
drepper [Sat, 20 Aug 2005 01:07:03 +0000 (01:07 +0000)]
Define memusage_cntr_t and memusage_size_t.

14 years agoDefinitions for memusage on i686.
drepper [Sat, 20 Aug 2005 01:04:25 +0000 (01:04 +0000)]
Definitions for memusage on i686.

14 years agoAdd tests for mbstowcs and wcstombs.
drepper [Sat, 20 Aug 2005 01:02:04 +0000 (01:02 +0000)]
Add tests for mbstowcs and wcstombs.

14 years agobz tags
roland [Fri, 19 Aug 2005 19:07:25 +0000 (19:07 +0000)]
bz tags

14 years ago.
roland [Thu, 18 Aug 2005 06:42:31 +0000 (06:42 +0000)]
.

14 years ago2005-08-17 Paul Eggert <eggert@cs.ucla.edu>
roland [Thu, 18 Aug 2005 06:42:25 +0000 (06:42 +0000)]
2005-08-17  Paul Eggert  <eggert@cs.ucla.edu>

[BZ #1207]
* posix/regex.h: Remove spurious space-before-tab.  From gnulib.

14 years ago.
drepper [Wed, 17 Aug 2005 06:17:34 +0000 (06:17 +0000)]
.

14 years agoHeader for inotify interfaces.
drepper [Wed, 17 Aug 2005 06:16:54 +0000 (06:16 +0000)]
Header for inotify interfaces.

14 years ago(sysdep_headers): Add sys/inotify.h.
drepper [Wed, 17 Aug 2005 06:16:15 +0000 (06:16 +0000)]
(sysdep_headers): Add sys/inotify.h.

14 years agoAdd inotify syscalls.
drepper [Wed, 17 Aug 2005 06:15:43 +0000 (06:15 +0000)]
Add inotify syscalls.

14 years ago.
drepper [Tue, 16 Aug 2005 22:47:26 +0000 (22:47 +0000)]
.

14 years ago(prune_cache): Add more debug output. Only for debug level 3 and
drepper [Tue, 16 Aug 2005 22:46:16 +0000 (22:46 +0000)]
(prune_cache): Add more debug output.  Only for debug level 3 and
higher and very verbose.

14 years ago.
drepper [Tue, 16 Aug 2005 18:10:03 +0000 (18:10 +0000)]
.

14 years ago(prune_cache): Use stat64 not stat.
drepper [Tue, 16 Aug 2005 18:08:41 +0000 (18:08 +0000)]
(prune_cache): Use stat64 not stat.

14 years ago(nscd_init): Use stat64 not stat.
drepper [Tue, 16 Aug 2005 18:07:46 +0000 (18:07 +0000)]
(nscd_init): Use stat64 not stat.

14 years ago.
drepper [Tue, 16 Aug 2005 16:05:37 +0000 (16:05 +0000)]
.

14 years ago(_nss_nis_setnetgrent): Change assert check from (len > 0) to (len >= 0).
drepper [Tue, 16 Aug 2005 16:04:13 +0000 (16:04 +0000)]
(_nss_nis_setnetgrent): Change assert check from (len > 0) to (len >= 0).

14 years ago(_xdr_nis_result): Fix type of res variable.
drepper [Tue, 16 Aug 2005 16:01:06 +0000 (16:01 +0000)]
(_xdr_nis_result): Fix type of res variable.

14 years ago(nis_leaf_of_r): Handle buflen == 0 correctly.
drepper [Tue, 16 Aug 2005 15:59:46 +0000 (15:59 +0000)]
(nis_leaf_of_r): Handle buflen == 0 correctly.

14 years ago(parse_options): change the -s option to support {database}:{search}
drepper [Tue, 16 Aug 2005 15:57:39 +0000 (15:57 +0000)]
(parse_options): change the -s option to support {database}:{search}
to override /etc/resolv.conf for only the specified database.

(more_help): Use open_memstream instead of handling memory allocation
ourselves.

14 years ago.
drepper [Tue, 9 Aug 2005 06:16:47 +0000 (06:16 +0000)]
.

14 years ago(main_loop_epoll): Pass NULL as event argument for epoll_ctl(EPOLL_CTL_DEL)
drepper [Tue, 9 Aug 2005 06:16:13 +0000 (06:16 +0000)]
(main_loop_epoll): Pass NULL as event argument for epoll_ctl(EPOLL_CTL_DEL)
calls.

14 years ago(fd_ready): Fix typo in comment.
drepper [Tue, 9 Aug 2005 05:59:31 +0000 (05:59 +0000)]
(fd_ready): Fix typo in comment.

14 years ago.
drepper [Tue, 9 Aug 2005 05:46:16 +0000 (05:46 +0000)]
.

14 years ago(receive_print_stats): Really print values of thread number, paranoia,
drepper [Tue, 9 Aug 2005 05:45:03 +0000 (05:45 +0000)]
(receive_print_stats): Really print values of thread number, paranoia,
and restart interval the server is using.

14 years ago.
drepper [Tue, 9 Aug 2005 01:27:20 +0000 (01:27 +0000)]
.

14 years agoUse _IO_vasprintf instead of vasprintf.
drepper [Tue, 9 Aug 2005 01:26:22 +0000 (01:26 +0000)]
Use _IO_vasprintf instead of vasprintf.

14 years agoAdd libc_hidden_proto for __vfprintf_chk.
drepper [Tue, 9 Aug 2005 01:25:06 +0000 (01:25 +0000)]
Add libc_hidden_proto for __vfprintf_chk.

14 years agoAdd libc_hidden_def.
drepper [Tue, 9 Aug 2005 01:24:11 +0000 (01:24 +0000)]
Add libc_hidden_def.

14 years ago.
roland [Tue, 9 Aug 2005 00:58:13 +0000 (00:58 +0000)]
.

14 years ago2005-08-08 Roland McGrath <roland@redhat.com>
roland [Tue, 9 Aug 2005 00:58:08 +0000 (00:58 +0000)]
2005-08-08  Roland McGrath  <roland@redhat.com>

* argp/argp-help.c (__argp_error): __asprintf -> vasprintf.
(__argp_failure): Likewise.

14 years ago. fedora-glibc-20050808T2126
drepper [Mon, 8 Aug 2005 21:04:02 +0000 (21:04 +0000)]
.

14 years ago(cache_add): Comment hash table and header to disk.
drepper [Mon, 8 Aug 2005 20:58:35 +0000 (20:58 +0000)]
(cache_add): Comment hash table and header to disk.

14 years ago.
roland [Mon, 8 Aug 2005 20:53:35 +0000 (20:53 +0000)]
.

14 years ago2005-08-05 Roland McGrath <roland@redhat.com>
roland [Mon, 8 Aug 2005 20:52:23 +0000 (20:52 +0000)]
2005-08-05  Roland McGrath  <roland@redhat.com>

* mach/shortcut.awk: Ignore `weak_alias' lines.
Reported by Alfred M. Szmidt <ams@gnu.org>.

14 years ago.
drepper [Mon, 8 Aug 2005 20:42:33 +0000 (20:42 +0000)]
.

14 years ago(nscd_init): Use posix_fallocate instead of ftruncate.
drepper [Mon, 8 Aug 2005 20:40:53 +0000 (20:40 +0000)]
(nscd_init): Use posix_fallocate instead of ftruncate.

14 years ago(mempool_alloc): Use posix_fallocate instead of ftruncate.
drepper [Mon, 8 Aug 2005 20:38:42 +0000 (20:38 +0000)]
(mempool_alloc): Use posix_fallocate instead of ftruncate.

14 years ago.
drepper [Mon, 8 Aug 2005 20:06:29 +0000 (20:06 +0000)]
.

14 years agoInclude libioP.h.
drepper [Mon, 8 Aug 2005 20:05:31 +0000 (20:05 +0000)]
Include libioP.h.

14 years ago.
drepper [Mon, 8 Aug 2005 19:04:11 +0000 (19:04 +0000)]
.

14 years ago(__memset_ichk): Likewise.
drepper [Mon, 8 Aug 2005 19:02:31 +0000 (19:02 +0000)]
(__memset_ichk): Likewise.
(__memcpy_ichk, __memmove_ichk, __mempcpy_ichk, __strcpy_ichk,
__stpcpy_ichk, __strncpy_ichk, stpncpy, __strcat_ichk,
__strncat_ichk): Likewise.  Use __const instead of const.
(__stpncpy_chk): Use __const instead of const.
(__stpncpy_alias): Use __REDIRECT_NTH instead of __REDIRECT.

14 years ago(wmemcpy, wmemmove, wmempcpy, wmemset, wcscpy, wcpcpy, wcsncpy, wcpncpy,
drepper [Mon, 8 Aug 2005 19:01:44 +0000 (19:01 +0000)]
(wmemcpy, wmemmove, wmempcpy, wmemset, wcscpy, wcpcpy, wcsncpy, wcpncpy,
wcscat, wcsncat, vswprintf, wcrtomb, mbsrtowcs, wcsrtombs, mbsnrtowcs,
wcsnrtombs): Add __NTH.

14 years ago(recvfrom): Add __restrict keyword to __buf.
drepper [Mon, 8 Aug 2005 19:00:53 +0000 (19:00 +0000)]
(recvfrom): Add __restrict keyword to __buf.

14 years ago(ptsname_r, wctomb, mbstowcs, wcstombs): Add __NTH.
drepper [Mon, 8 Aug 2005 18:59:45 +0000 (18:59 +0000)]
(ptsname_r, wctomb, mbstowcs, wcstombs): Add __NTH.
(realpath): Likewise.  Use __const instead of const.  Add __restrict
keywords.

14 years ago(confstr, getgroups, ttyname_r, gethostname, getdomainname): Add __NTH.
drepper [Mon, 8 Aug 2005 18:58:33 +0000 (18:58 +0000)]
(confstr, getgroups, ttyname_r, gethostname, getdomainname): Add __NTH.

14 years ago(usekey): New enum.
drepper [Mon, 8 Aug 2005 18:56:17 +0000 (18:56 +0000)]
(usekey): New enum.
(check_use, verify_persistent_db): New functions.
(nscd_init): If persistent database is corrupted, unlink it and
recreate rather than falling back to non-persistent database.
Call verify_persistent_db.  Avoid overflows in total computation.

14 years ago(BLOCK_ALIGN_LOG, BLOCK_ALIGN, BLOCK_ALIGN_M1): Move definitions to nscd.h.
drepper [Mon, 8 Aug 2005 18:55:26 +0000 (18:55 +0000)]
(BLOCK_ALIGN_LOG, BLOCK_ALIGN, BLOCK_ALIGN_M1): Move definitions to nscd.h.

14 years ago(BLOCK_ALIGN_LOG, BLOCK_ALIGN, BLOCK_ALIGN_M1): ...here.
drepper [Mon, 8 Aug 2005 18:54:44 +0000 (18:54 +0000)]
(BLOCK_ALIGN_LOG, BLOCK_ALIGN, BLOCK_ALIGN_M1): ...here.

14 years ago(PREPARE_LOOP): Minor cleanups to make code better readable.
drepper [Mon, 8 Aug 2005 18:44:29 +0000 (18:44 +0000)]
(PREPARE_LOOP): Minor cleanups to make code better readable.
Avoid passing var to loop function, it's not necessary at all.

14 years ago(gc): Fix typo in comment.
drepper [Sun, 7 Aug 2005 21:16:45 +0000 (21:16 +0000)]
(gc): Fix typo in comment.

14 years ago.
drepper [Sun, 7 Aug 2005 07:55:10 +0000 (07:55 +0000)]
.

14 years ago(DT_ALPHA_PLTRO): Use symbolic name in DT_ALPHA_PLTRO definition.
drepper [Sun, 7 Aug 2005 07:53:58 +0000 (07:53 +0000)]
(DT_ALPHA_PLTRO): Use symbolic name in DT_ALPHA_PLTRO definition.

14 years agoUpdate from tzdata2005k.
drepper [Sat, 6 Aug 2005 06:03:20 +0000 (06:03 +0000)]
Update from tzdata2005k.

14 years ago.
drepper [Sat, 6 Aug 2005 06:02:23 +0000 (06:02 +0000)]
.

14 years agoUpdate from tzcode2005k.
drepper [Sat, 6 Aug 2005 05:40:57 +0000 (05:40 +0000)]
Update from tzcode2005k.

14 years ago.
roland [Fri, 5 Aug 2005 21:16:35 +0000 (21:16 +0000)]
.

14 years ago2005-08-05 Roland McGrath <roland@redhat.com>
roland [Fri, 5 Aug 2005 21:16:28 +0000 (21:16 +0000)]
2005-08-05  Roland McGrath  <roland@redhat.com>

* sysdeps/mach/hurd/mig-reply.c (reply_port): Don't use ?: as lvalue.

14 years ago.
roland [Thu, 4 Aug 2005 21:35:51 +0000 (21:35 +0000)]
.

14 years ago2005-08-03 Dwayne Grant McConnell <dgm69@us.ibm.com>
roland [Thu, 4 Aug 2005 21:35:43 +0000 (21:35 +0000)]
2005-08-03  Dwayne Grant McConnell  <dgm69@us.ibm.com>

* sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s):
Use +=, not =, to append.  Remove duplicate flags.
* sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
Likewise.  Fix comments.

14 years agobz tag
roland [Wed, 3 Aug 2005 07:44:12 +0000 (07:44 +0000)]
bz tag

14 years agobz tags
roland [Tue, 2 Aug 2005 03:29:01 +0000 (03:29 +0000)]
bz tags

14 years ago.
drepper [Mon, 1 Aug 2005 19:27:50 +0000 (19:27 +0000)]
.

14 years ago(do_sigwait): Restart system call if it returned EINTR.
drepper [Mon, 1 Aug 2005 19:25:41 +0000 (19:25 +0000)]
(do_sigwait): Restart system call if it returned EINTR.

14 years ago.
drepper [Sun, 31 Jul 2005 17:50:49 +0000 (17:50 +0000)]
.

14 years ago(elf_machine_load_address): Simplify the code. Extend comment to
drepper [Sun, 31 Jul 2005 17:49:44 +0000 (17:49 +0000)]
(elf_machine_load_address): Simplify the code.  Extend comment to
explain prelinking.

14 years ago.
drepper [Sun, 31 Jul 2005 16:44:38 +0000 (16:44 +0000)]
.

14 years ago(elf_machine_load_address): Remove unnecessary label.
drepper [Sun, 31 Jul 2005 16:43:49 +0000 (16:43 +0000)]
(elf_machine_load_address): Remove unnecessary label.

14 years ago.
drepper [Sun, 31 Jul 2005 16:31:24 +0000 (16:31 +0000)]
.

14 years ago(elf_machine_load_address): Move helper variable into .data.rel.ro.
drepper [Sun, 31 Jul 2005 16:28:55 +0000 (16:28 +0000)]
(elf_machine_load_address): Move helper variable into .data.rel.ro.

14 years agoUpdate.
aj [Sun, 31 Jul 2005 15:56:45 +0000 (15:56 +0000)]
Update.

14 years agoNew file needed since we have misc/bits/syslog.h.
aj [Sun, 31 Jul 2005 15:56:33 +0000 (15:56 +0000)]
New file needed since we have misc/bits/syslog.h.

14 years ago.
drepper [Sat, 30 Jul 2005 21:15:22 +0000 (21:15 +0000)]
.

14 years ago[__WORDSIZE==64] (FILEBUF_SIZE): Adjust the value up. We have more
drepper [Sat, 30 Jul 2005 21:14:33 +0000 (21:14 +0000)]
[__WORDSIZE==64] (FILEBUF_SIZE): Adjust the value up.  We have more
program header entries now and the note section was normally not loaded.

14 years ago.
drepper [Sat, 30 Jul 2005 19:37:11 +0000 (19:37 +0000)]
.

14 years agoSome minor code cleanups.
drepper [Sat, 30 Jul 2005 19:36:23 +0000 (19:36 +0000)]
Some minor code cleanups.

14 years ago.
drepper [Sat, 30 Jul 2005 06:00:43 +0000 (06:00 +0000)]
.

14 years agoChange vsyslog function to __vsyslog_chk.
drepper [Sat, 30 Jul 2005 05:59:48 +0000 (05:59 +0000)]
Change vsyslog function to __vsyslog_chk.
Call __vfprintf_chk if necessary.  Make vsyslog a wrapper.  Add __syslog_chk.

14 years agoInclude <bits/syslog.h> for fortification.
drepper [Sat, 30 Jul 2005 05:59:13 +0000 (05:59 +0000)]
Include <bits/syslog.h> for fortification.

14 years agoAdd __vsyslog_chk prototype and hidden_proto.
drepper [Sat, 30 Jul 2005 05:58:40 +0000 (05:58 +0000)]
Add __vsyslog_chk prototype and hidden_proto.

14 years ago(headers): Add bits/syslog.h.
drepper [Sat, 30 Jul 2005 05:58:13 +0000 (05:58 +0000)]
(headers): Add bits/syslog.h.

14 years agoExport __syslog_chk and __vsyslog_chk.
drepper [Sat, 30 Jul 2005 05:57:48 +0000 (05:57 +0000)]
Export __syslog_chk and __vsyslog_chk.

14 years agoFortification definitions for syslog functions.
drepper [Sat, 30 Jul 2005 05:56:45 +0000 (05:56 +0000)]
Fortification definitions for syslog functions.

14 years ago. fedora-glibc-20050729T1531
roland [Thu, 28 Jul 2005 21:42:42 +0000 (21:42 +0000)]
.

14 years ago2005-07-28 Thomas Schwinge <schwinge@nic-nac-project.de>
roland [Thu, 28 Jul 2005 21:42:37 +0000 (21:42 +0000)]
2005-07-28  Thomas Schwinge  <schwinge@nic-nac-project.de>

* misc/error.c [_LIBC]: Include <stdbool.h> and <stdint.h>.

14 years ago.
drepper [Thu, 28 Jul 2005 16:30:20 +0000 (16:30 +0000)]
.

14 years agoHelp gcc to generate unnecessary wrapper functions.
drepper [Thu, 28 Jul 2005 16:29:17 +0000 (16:29 +0000)]
Help gcc to generate unnecessary wrapper functions.

14 years ago.
drepper [Thu, 28 Jul 2005 14:51:03 +0000 (14:51 +0000)]
.

14 years ago(write_gmon): Use __snprintf rather than snprintf.
drepper [Thu, 28 Jul 2005 14:50:25 +0000 (14:50 +0000)]
(write_gmon): Use __snprintf rather than snprintf.

14 years ago(__fxprintf): Add INTUSE to _IO_vfprintf call.
drepper [Thu, 28 Jul 2005 14:49:47 +0000 (14:49 +0000)]
(__fxprintf): Add INTUSE to _IO_vfprintf call.

14 years ago.
drepper [Thu, 28 Jul 2005 07:10:28 +0000 (07:10 +0000)]
.

14 years agoRewrite the two pairs of functions into wrappers around a pair of new,
drepper [Thu, 28 Jul 2005 07:09:43 +0000 (07:09 +0000)]
Rewrite the two pairs of functions into wrappers around a pair of new,
generalized functions.  22% size reduction.

14 years ago.
drepper [Thu, 28 Jul 2005 06:27:35 +0000 (06:27 +0000)]
.

14 years agoRemove unnecessary cast which might hide bugs.
drepper [Thu, 28 Jul 2005 04:36:40 +0000 (04:36 +0000)]
Remove unnecessary cast which might hide bugs.
Rearrange code.  This reduces the code size 10%.

14 years ago.
drepper [Tue, 26 Jul 2005 16:10:19 +0000 (16:10 +0000)]
.

14 years agoBetter collation.
drepper [Tue, 26 Jul 2005 16:08:46 +0000 (16:08 +0000)]
Better collation.

14 years ago.
roland [Tue, 26 Jul 2005 08:42:58 +0000 (08:42 +0000)]
.