Skip to content

Commit

Permalink
Updated to fedora-glibc-20070504T0917
Browse files Browse the repository at this point in the history
  • Loading branch information
Jakub Jelinek committed May 4, 2007
1 parent af5726a commit 2a0a747
Show file tree
Hide file tree
Showing 62 changed files with 29,286 additions and 3,191 deletions.
194 changes: 193 additions & 1 deletion ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,195 @@
2007-05-03 Jakub Jelinek <jakub@redhat.com>

* soft-fp/op-common.h (FP_TRUNC): Replace raising of FP_EX_INEXACT
with setting the sticky bit.
* math/test-misc.c (main): Add more truncation tests.

2007-04-14 Uros Bizjak <ubizjak@gmail.com>

* soft-fp/floatunsidf.c (__floatunsidf): Use DFtype instead of
double in the function declaration.
* soft-fp/floatundidf.c (__floatundidf): Use DFtype instead of
double in the function declaration.
* soft-fp/floatunsisf.c (__floatunsisf): Use SFtype instead of
float in the function declaration.
* soft-fp/floatunsisf.c (__floatunsisf): Use SFtype instead of
float in the function declaration.

* soft-fp/extended.h (FP_UNPACK_RAW_E): Do not increase X##_e for
denormal operands. Do not generate FP_EX_DENORM exception.
(FP_UNPACK_RAW_EP): Ditto.
(FP_UNPACK_SEMIRAW_E): Use FP_UNPACK_RAW_E instead of
undefined _FP_UNPACK_RAW_E.
(FP_UNPACK_SEMIRAW_EP): Use FP_UNPACK_RAW_EP instead of
undefined _FP_UNPACK_RAW_EP.
(FP_PACK_SEMIRAW_E): Use FP_PACK_RAW_E instead of
undefined _FP_PACK_RAW_E.
(FP_PACK_SEMIRAW_EP): Use FP_PACK_RAW_EP instead of
undefined _FP_PACK_RAW_EP.

* op-2.h (_FP_FRAC_COPY_2_2): Define as alias to _FP_FRAC_COPY_2.
* op-4.h (_FP_FRAC_COPY_2_2): Define as alias to _FP_FRAC_COPY_4.

2007-04-16 Uros Bizjak <ubizjak@gmail.com>
Jakub Jelinek <jakub@redhat.com>

* soft-fp/op-common.h (FP_EXTEND): Do not abort when
_FP_EXPBIAS_##dfs == _FP_EXPBIAS_##sfs. Handle denormals for
this case.
* soft-fp/op-common.h (FP_TRUNC): Ditto.

2007-05-03 Jakub Jelinek <jakub@redhat.com>

* math/test-misc.c (main): Add tests for rounding long double
values close to smallest double denormalized value to double.

2007-04-30 Joseph Myers <joseph@codesourcery.com>

* soft-fp/op-common.h (FP_TRUNC): Correct off-by-one error in
condition for truncating to 0. Set sticky bit for such
truncation.

2007-05-02 Jakub Jelinek <jakub@redhat.com>

* stdio-common/vfprintf.c (process_string_arg): Use a VLA rather than
fixed length array for ignore.

2007-04-30 Ulrich Drepper <drepper@redhat.com>

[BZ #4438]
* stdio-common/vfprintf.c (process_string_arg): Don't overflow the
stack for large precisions.
* stdio-common/test-vfprintf.c (main): Add test for large
precision.

2007-04-30 Jakub Jelinek <jakub@redhat.com>

* stdio-common/printf_fp.c (___printf_fp): Don't print negative sign
for exponent 0.
* stdio-common/tfformat.c (sprint_doubles): Add a new test.

[BZ #4439]
* resolv/inet_ntop.c (inet_ntop4): Take terminating '\0' into
account in the size check.
* resolv/tst-inet_ntop.c: New test.
* resolv/Makefile (tests): Add tst-inet_ntop.

2007-04-30 Ulrich Drepper <drepper@redhat.com>
Jakub Jelinek <jakub@redhat.com>

[BZ #4349]
* malloc/malloc.c: Keep separate list for first blocks on the bin
lists with a given size. This helps skipping over list elements
we know won't fit in two places.
Inspired by a patch by Tomash Brechko <tomash.brechko@gmail.com>.

2007-04-28 Ulrich Drepper <drepper@redhat.com>

[BZ #4102]
* sysdeps/posix/getaddrinfo.c (default_labels): Assign separate
label to Teredo tunnel addresses 2001://32.

2007-04-27 Ulrich Drepper <drepper@redhat.com>

* locale/programs/ld-collate.c (collate_read): Allow order_start
after copy.

* locale/programs/ld-collate.c (collate_read): Fix printing of
error message.

[BZ #3213]
* locale/C-translit.h.in: Add entry for U2044.

[BZ #4342]
* stdio-common/vfscanf.c (_IO_vfscanf_internal): Allow
hexa-decimal floats without exponent.
* stdio-common/tstscanf.c (main): Adjust Test 8 test for success.

2007-04-25 Ulrich Drepper <drepper@redhat.com>

* sysdeps/unix/sysv/linux/bits/sched.h: Declare sched_getcpu.
* sysdeps/unix/sysv/linux/sched_getcpu.c: New file.
* sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: New file.
* sysdeps/unix/sysv/linux/Versions: Export sched_getcpu for
GLIBC_2.6.
* sysdeps/unix/sysv/linux/Makefile [subdir=posix] (sysdep_routines):
Add sched_getcpu.

2007-04-25 Jakub Jelinek <jakub@redhat.com>

* sysdeps/unix/sysv/linux/check_pf.c (make_request): Return -1 instead
of 0 after the out_fail label.

2007-04-25 Ulrich Drepper <drepper@redhat.com>

[BZ #4406]
* iconv/gconv_charset.h (strip): Allow ':'.
* iconv/iconv_open.c (iconv_open): Adjust comment.

2007-04-25 Jakub Jelinek <jakub@redhat.com>

* libio/bits/stdio.h (fgetc_unlocked): Add extern inline optimized
version.

2007-04-23 Jakub Jelinek <jakub@redhat.com>

[BZ #4381]
* nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Ensure sufficient
alignment of buffer and tmp_buffer.
* nis/nss_nis/nis-hosts.c (internal_nis_gethostent_r,
internal_gethostbyname2_r, _nss_nis_gethostbyaddr_r): Ensure sufficient
alignment of buffer.
* resolv/nss_dns/dns-hosts.c (getanswer_r): Likewise. Handle buflen
bigger than INT_MAX.
* resolv/nss_dns/dns-network.c (getanswer_r): Likewise. Add errnop and
h_errnop arguments. Fail if buflen is too small.
(_nss_dns_getnetbyname_r, _nss_dns_getnetbyaddr_r): Adjust callers.

2007-04-23 Jakub Jelinek <jakub@redhat.com>

[BZ #4405]
* iconvdata/gconv-modules (E13B): Add a missing slash to the alias
name. Patch by Aurelien Jarno <aurelien@aurel32.net>.

2007-04-22 Roland McGrath <roland@redhat.com>

* elf/elf.h (NT_PRXFPREG): New macro.

2007-04-19 Andreas Jaeger <aj@suse.de>

[BZ #3905]
* bits/in.h (IPV6_ROUTER_ALERT, IPV6_MTU_DISCOVER, IPV6_MTU,
IPV6_RECVERR, IPV6_V6ONLY, IPV6_JOIN_ANYCAST, IPV6_LEAVE_ANYCAST):
Added.

2007-04-19 Ulrich Drepper <drepper@redhat.com>

* include/sys/mman.h: Mark madvise hidden.
* misc/madvise.c: Add libc_hidden_def.

2007-04-06 Jakub Jelinek <jakub@redhat.com>

* nis/nis_domain_of.c (__nis_domain_of): New function.
* include/rpcsvc/nislib.h (__nis_domain_of): New prototype.
* nis/nis_lookup.c (nis_lookup): Use __nis_domain_of.
* nis/nis_call.c (rec_dirsearch): Likewise.
(first_shoot): Likewise. Remove search_parent_first argument.
(struct nis_server_cache): Rename search_parent_first field
to search_parent.
(nis_server_cache_search, nis_server_cache_add): Rename
search_parent_first argument to search_parent.
(__nisfind_server): Likewise. If search_parent, call
__nis_domain_of.

2007-04-18 Ulrich Drepper <drepper@redhat.com>

* sysdeps/posix/getaddrinfo.c: Remove commented-out code.

2007-04-17 Ulrich Drepper <drepper@redhat.com>

[BZ #4368]
* stdlib/stdlib.h: Remove obsolete part of comment for realpath.

2007-04-16 Jakub Jelinek <jakub@redhat.com>

* locale/programs/locarchive.c (add_alias, insert_name): Remove static.
Expand Down Expand Up @@ -584,7 +776,7 @@
* io/ftw.c (ftw_startup): Handle special case of FTW_CHDIR in /.
(open_dir_stream): Likewise.
* io/Makefile (tests): Add bug-ftw5.
io/bug-ftw5.c: New file.
* io/bug-ftw5.c: New file.

* nscd/hstcache.c (cache_addhst): Remove unnecessary conditional.
* nscd/servicescache.c (cache_addserv): Likewise.
Expand Down
4 changes: 2 additions & 2 deletions NEWS
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
GNU C Library NEWS -- history of user-visible changes. 2007-2-1
GNU C Library NEWS -- history of user-visible changes. 2007-4-25
Copyright (C) 1992-2006, 2007 Free Software Foundation, Inc.
See the end for copying conditions.

Expand All @@ -7,7 +7,7 @@ using `glibc' in the "product" field.

Version 2.6

* New Linux interfaces: epoll_pwait.
* New Linux interfaces: epoll_pwait, sched_getcpu.

* New generic interfaces: strerror_l.

Expand Down
9 changes: 8 additions & 1 deletion bits/in.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright (C) 1997, 2000, 2004 Free Software Foundation, Inc.
/* Copyright (C) 1997, 2000, 2004, 2007 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
Expand Down Expand Up @@ -68,6 +68,13 @@ struct ip_opts
#define IPV6_MULTICAST_LOOP 19
#define IPV6_JOIN_GROUP 20
#define IPV6_LEAVE_GROUP 21
#define IPV6_ROUTER_ALERT 22
#define IPV6_MTU_DISCOVER 23
#define IPV6_MTU 24
#define IPV6_RECVERR 25
#define IPV6_V6ONLY 26
#define IPV6_JOIN_ANYCAST 27
#define IPV6_LEAVE_ANYCAST 28

/* Obsolete synonyms for the above. */
#define IPV6_ADD_MEMBERSHIP IPV6_JOIN_GROUP
Expand Down
1 change: 1 addition & 0 deletions elf/elf.h
Original file line number Diff line number Diff line change
Expand Up @@ -603,6 +603,7 @@ typedef struct
#define NT_LWPSTATUS 16 /* Contains copy of lwpstatus struct */
#define NT_LWPSINFO 17 /* Contains copy of lwpinfo struct */
#define NT_PRFPXREG 20 /* Contains copy of fprxregset struct*/
#define NT_PRXFPREG 0x46e62b7f /* Contains copy of user_fxsr_struct*/

/* Legal values for the note segment descriptor types for object files. */

Expand Down
4 changes: 2 additions & 2 deletions fedora/branch.mk
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ glibc-branch := fedora
glibc-base := HEAD
DIST_BRANCH := devel
COLLECTION := dist-fc7
fedora-sync-date := 2007-04-16 23:50 UTC
fedora-sync-tag := fedora-glibc-20070416T2350
fedora-sync-date := 2007-05-04 09:17 UTC
fedora-sync-tag := fedora-glibc-20070504T0917
12 changes: 11 additions & 1 deletion fedora/glibc.spec.in
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
%define glibcrelease 21
%define glibcrelease 22
%define auxarches i586 i686 athlon sparcv9 alphaev6
%define xenarches i686 athlon
%ifarch %{xenarches}
Expand Down Expand Up @@ -1561,6 +1561,16 @@ rm -f *.filelist*
%endif

%changelog
* Fri May 4 2007 Jakub Jelinek <jakub@redhat.com> 2.5.90-22
- add transliteration for <U2044> (BZ#3213)
- fix *scanf with %f on hexadecimal floats without exponent (BZ#4342)
- fix *printf with very large precisions for %s (#238406, BZ#4438)
- fix inet_ntop size checking for AF_INET (BZ#4439)
- for *printf %e avoid 1.000e-00, for exponent 0 always use + sign (#238431)
- fix a regression introduced in #223467 changes
- gethostby*_r alignment fixes (BZ#4381)
- fix ifaddrs error handling

* Mon Apr 16 2007 Jakub Jelinek <jakub@redhat.com> 2.5.90-21
- don't include individual locale files in glibc-common,
rather include prepared locale-archive template and let
Expand Down
4 changes: 2 additions & 2 deletions iconv/gconv_charset.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* Charset name normalization.
Copyright (C) 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
Copyright (C) 2001,2002,2003,2004,2005,2007 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@cygnus.com>, 2001.
Expand Down Expand Up @@ -30,7 +30,7 @@ strip (char *wp, const char *s)
while (*s != '\0')
{
if (__isalnum_l (*s, _nl_C_locobj_ptr)
|| *s == '_' || *s == '-' || *s == '.' || *s == ',')
|| *s == '_' || *s == '-' || *s == '.' || *s == ',' || *s == ':')
*wp++ = __toupper_l (*s, _nl_C_locobj_ptr);
else if (*s == '/')
{
Expand Down
4 changes: 2 additions & 2 deletions iconv/iconv_open.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* Get descriptor for character set conversion.
Copyright (C) 1997, 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
Copyright (C) 1997,1998,1999,2000,2001,2007 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997.
Expand Down Expand Up @@ -38,7 +38,7 @@ iconv_open (const char *tocode, const char *fromcode)
int res;

/* Normalize the name. We remove all characters beside alpha-numeric,
'_', '-', '/', and '.'. */
'_', '-', '/', '.', and ':'. */
tocode_len = strlen (tocode);
tocode_conv = (char *) alloca (tocode_len + 3);
strip (tocode_conv, tocode);
Expand Down
2 changes: 1 addition & 1 deletion iconvdata/gconv-modules
Original file line number Diff line number Diff line change
Expand Up @@ -1376,7 +1376,7 @@ module INTERNAL INIS-CYRILLIC// INIS-CYRILLIC 1
# from to module cost
alias ISO-IR-98// ISO_2033//
alias ISO_2033-1983// ISO_2033//
alias E13B/ ISO_2033//
alias E13B// ISO_2033//
alias CSISO2033// ISO_2033//
module ISO_2033// INTERNAL ISO_2033 1
module INTERNAL ISO_2033// ISO_2033 1
Expand Down
2 changes: 2 additions & 0 deletions include/rpcsvc/nislib.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,6 @@ libnsl_hidden_proto (__nis_default_group)
libnsl_hidden_proto (__nis_default_access)
libnsl_hidden_proto (nis_clone_object)

extern const_nis_name __nis_domain_of (const_nis_name) __THROW;

#endif
3 changes: 3 additions & 0 deletions include/sys/mman.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,7 @@ extern int __mprotect (void *__addr, size_t __len, int __prot);
/* This one is Linux specific. */
extern void *__mremap (void *__addr, size_t __old_len,
size_t __new_len, int __flags, ...);

libc_hidden_proto (madvise);

#endif
10 changes: 10 additions & 0 deletions libio/bits/stdio.h
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,16 @@ getchar (void)
}


# ifdef __USE_MISC
/* Faster version when locking is not necessary. */
__STDIO_INLINE int
fgetc_unlocked (FILE *__fp)
{
return _IO_getc_unlocked (__fp);
}
# endif /* misc */


# if defined __USE_POSIX || defined __USE_MISC
/* This is defined in POSIX.1:1996. */
__STDIO_INLINE int
Expand Down
Loading

0 comments on commit 2a0a747

Please sign in to comment.