Skip to content

Commit

Permalink
Updated to fedora-glibc-20080326T1041
Browse files Browse the repository at this point in the history
  • Loading branch information
Jakub Jelinek committed Mar 26, 2008
1 parent d0b6ac6 commit f23e5ee
Show file tree
Hide file tree
Showing 46 changed files with 7,107 additions and 126 deletions.
63 changes: 63 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,66 @@
2008-03-07 Martin Schwidefsky <schwidefsky@de.ibm.com>

* sysdeps/s390/fpu/fegetenv.c (fegetenv): Remove PTRACE_PEEKUSER
ptrace call to get the ieee_instruction_pointer from the kernel.
* sysdeps/s390/fpu/fesetenv.c (fesetenv): Remove PTRACE_POKEUSER
ptrace call to set the ieee_instructtion_pointer.
* sysdeps/unix/sysv/linux/s390/sys/user.h (struct _user_regs_struct):
Add comment that ieee_instruction_pointer is always 0.

2008-03-09 Andreas Jaeger <aj@suse.de>

[BZ #5857]
* sysdeps/ieee754/dbl-64/s_rint.c (__rint): Handle j0==18.
* sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Likewise.
Patch by Mark Elliott <mark.h.elliott@lmco.com>.

* math/libm-test.inc (nearbyint_test): Add new test cases from #5857.
(rint_test): Likewise.

2008-03-24 Ulrich Drepper <drepper@redhat.com>

* nis/nis_call.c (nis_server_cache_search): Save errno around stat
call.
(__nisfind_server): Similar for open readColdStartFile call.
Patch partially by Jim Meyering.
* nss/nss_files/files-XXX.c (_nss_files_getXXent_r): Save errno
around internal_setent call.

* po/vi.po: New Vietnamese translation.

* sysdeps/unix/sysv/linux/adjtime.c: Correctly use
ADJ_OFFSET_SS_READ.

* sysdeps/unix/sysv/linux/bits/sched.h: Add new CLONE_* flags,
remove CLONE_STOPPED.

2008-02-10 Jim Meyering <meyering@redhat.com>

Remove useless "if" before "free":
* elf/ldconfig.c (parse_conf_include): Likewise.
* gmon/gmon.c (weak_alias): Likewise.
* iconv/gconv_conf.c (__gconv_get_path): Likewise.
* inet/rcmd.c (__validuser2_sa): Likewise.
* intl/bindtextdom.c (set_binding_values): Likewise.
* intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Likewise.
* libio/genops.c (save_for_backup): Likewise.
* libio/wgenops.c (save_for_wbackup): Likewise.
* locale/programs/ld-collate.c (collate_read): Likewise.
* locale/programs/linereader.c (get_string): Likewise.
* nis/nss_compat/compat-pwd.c (give_pwd_free): Likewise.
* nis/nss_compat/compat-spwd.c (give_spwd_free): Likewise.
* resolv/res_debug.c (do_section): Likewise.
* sunrpc/xdr_sizeof.c (x_inline, xdr_sizeof): Likewise.
* sysdeps/mach/hurd/if_index.c (libc_hidden_def): Likewise.
* sysdeps/posix/sprofil.c (__sprofil): Likewise.
* time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
* time/tzset.c (tzset_internal): Likewise.

2008-03-18 Jakub Jelinek <jakub@redhat.com>

* sysdeps/unix/sysv/linux/dl-sysdep.h: Use __ASSEMBLER__ instead
of ASSEMBLER.

2008-03-11 Ulrich Drepper <drepper@redhat.com>

[BZ #5903]
Expand Down
3 changes: 1 addition & 2 deletions elf/ldconfig.c
Original file line number Diff line number Diff line change
Expand Up @@ -1193,8 +1193,7 @@ parse_conf_include (const char *config_file, unsigned int lineno,
break;
}

if (copy)
free (copy);
free (copy);
}

/* Honour LD_HWCAP_MASK. */
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-f8
fedora-sync-date := 2008-03-14 21:59 UTC
fedora-sync-tag := fedora-glibc-20080314T2159
fedora-sync-date := 2008-03-26 10:41 UTC
fedora-sync-tag := fedora-glibc-20080326T1041
10 changes: 8 additions & 2 deletions fedora/glibc.spec.in
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
Summary: The GNU libc libraries
Name: glibc
Version: @glibcversion@
Release: 11
Release: 12
# GPLv2+ is used in a bunch of programs, LGPLv2+ is used for libraries.
# Things that are linked directly into dynamically linked programs
# and shared libraries (e.g. crt files, lib*_nonshared.a) have an additional
Expand Down Expand Up @@ -140,7 +140,7 @@ use the standard C libraries.

%package common
Summary: Common binaries and locale data for glibc
Requires: %{name}=%{version}-%{release}
Requires: %{name} = %{version}-%{release}
Requires: tzdata >= 2003a
Group: System Environment/Base

Expand Down Expand Up @@ -976,6 +976,12 @@ rm -f *.filelist*
%endif

%changelog
* Wed Mar 26 2008 Jakub Jelinek <jakub@redhat.com> 2.7.90-12
- update to trunk
- new CLONE_* flags in <sched.h> (#438542)
- nis+ errno clobbering fix (#437945)
- fix adjtime (#437974)

* Fri Mar 14 2008 Jakub Jelinek <jakub@redhat.com> 2.7.90-11
- update to trunk
- remove <stropts.h>, define _XOPEN_STREAMS -1 (#436349)
Expand Down
3 changes: 1 addition & 2 deletions gmon/gmon.c
Original file line number Diff line number Diff line change
Expand Up @@ -396,6 +396,5 @@ _mcleanup (void)
write_gmon ();

/* free the memory. */
if (_gmonparam.tos != NULL)
free (_gmonparam.tos);
free (_gmonparam.tos);
}
3 changes: 1 addition & 2 deletions iconv/gconv_conf.c
Original file line number Diff line number Diff line change
Expand Up @@ -529,8 +529,7 @@ __gconv_get_path (void)

__gconv_path_elem = result ?: (struct path_elem *) &empty_path_elem;

if (cwd != NULL)
free (cwd);
free (cwd);
}

__libc_lock_unlock (lock);
Expand Down
3 changes: 1 addition & 2 deletions inet/rcmd.c
Original file line number Diff line number Diff line change
Expand Up @@ -826,8 +826,7 @@ __validuser2_sa(hostf, ra, ralen, luser, ruser, rhost)
}
}

if (buf != NULL)
free (buf);
free (buf);

return retval;
}
3 changes: 1 addition & 2 deletions intl/bindtextdom.c
Original file line number Diff line number Diff line change
Expand Up @@ -203,8 +203,7 @@ set_binding_values (domainname, dirnamep, codesetp)

if (__builtin_expect (result != NULL, 1))
{
if (binding->codeset != NULL)
free (binding->codeset);
free (binding->codeset);

binding->codeset = result;
modified = 1;
Expand Down
9 changes: 3 additions & 6 deletions intl/loadmsgcat.c
Original file line number Diff line number Diff line change
Expand Up @@ -1236,8 +1236,7 @@ _nl_load_domain (domain_file, domainbinding)
/* This is an invalid revision. */
invalid:
/* This is an invalid .mo file. */
if (domain->malloced)
free (domain->malloced);
free (domain->malloced);
#ifdef HAVE_MMAP
if (use_mmap)
munmap ((caddr_t) data, size);
Expand Down Expand Up @@ -1289,12 +1288,10 @@ _nl_unload_domain (domain)
if (convd->conv != (__gconv_t) -1)
__gconv_close (convd->conv);
}
if (domain->conversions != NULL)
free (domain->conversions);
free (domain->conversions);
__libc_rwlock_fini (domain->conversions_lock);

if (domain->malloced)
free (domain->malloced);
free (domain->malloced);

# ifdef _POSIX_MAPPED_FILES
if (domain->use_mmap)
Expand Down
5 changes: 5 additions & 0 deletions libidn/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
2008-02-10 Jim Meyering <meyering@redhat.com>

* stringprep.c (stringprep, stringprep_profile): Remove useless
"if" before "free".

2006-02-27 Roland McGrath <roland@redhat.com>

* Makefile: Use $(..) in place of ../.
Expand Down
6 changes: 2 additions & 4 deletions libidn/stringprep.c
Original file line number Diff line number Diff line change
Expand Up @@ -366,8 +366,7 @@ stringprep (char *in,

do
{
if (ucs4)
free (ucs4);
free (ucs4);
ucs4 = stringprep_utf8_to_ucs4 (in, -1, &ucs4len);
maxucs4len = ucs4len + adducs4len;
uint32_t *newp = realloc (ucs4, maxucs4len * sizeof (uint32_t));
Expand Down Expand Up @@ -449,8 +448,7 @@ stringprep_profile (const char *in,

do
{
if (str)
free (str);
free (str);
str = (char *) malloc (len);
if (str == NULL)
return STRINGPREP_MALLOC_ERROR;
Expand Down
3 changes: 1 addition & 2 deletions libio/genops.c
Original file line number Diff line number Diff line change
Expand Up @@ -300,8 +300,7 @@ save_for_backup (fp, end_p)
memcpy (new_buffer + avail,
fp->_IO_read_base + least_mark,
needed_size);
if (fp->_IO_save_base)
free (fp->_IO_save_base);
free (fp->_IO_save_base);
fp->_IO_save_base = new_buffer;
fp->_IO_save_end = new_buffer + avail + needed_size;
}
Expand Down
3 changes: 1 addition & 2 deletions libio/wgenops.c
Original file line number Diff line number Diff line change
Expand Up @@ -553,8 +553,7 @@ save_for_wbackup (fp, end_p)
needed_size * sizeof (wchar_t));
#endif
}
if (fp->_wide_data->_IO_save_base)
free (fp->_wide_data->_IO_save_base);
free (fp->_wide_data->_IO_save_base);
fp->_wide_data->_IO_save_base = new_buffer;
fp->_wide_data->_IO_save_end = new_buffer + avail + needed_size;
}
Expand Down
12 changes: 4 additions & 8 deletions locale/programs/ld-collate.c
Original file line number Diff line number Diff line change
Expand Up @@ -2963,10 +2963,8 @@ collate_read (struct linereader *ldfile, struct localedef_t *result,
col_elem_free:
if (symbol != NULL)
free ((char *) symbol);
if (arg->val.str.startmb != NULL)
free (arg->val.str.startmb);
if (arg->val.str.startwc != NULL)
free (arg->val.str.startwc);
free (arg->val.str.startmb);
free (arg->val.str.startwc);
}
lr_ignore_rest (ldfile, 1);
}
Expand Down Expand Up @@ -3112,10 +3110,8 @@ collate_read (struct linereader *ldfile, struct localedef_t *result,
else
{
col_sym_free:
if (symbol != NULL)
free (symbol);
if (endsymbol != NULL)
free (endsymbol);
free (symbol);
free (endsymbol);
}
}
break;
Expand Down
3 changes: 1 addition & 2 deletions locale/programs/linereader.c
Original file line number Diff line number Diff line change
Expand Up @@ -859,8 +859,7 @@ non-symbolic character value should not be used"));
if (illegal_string)
{
free (buf);
if (buf2 != NULL)
free (buf2);
free (buf2);
lr->token.val.str.startmb = NULL;
lr->token.val.str.lenmb = 0;
lr->token.val.str.startwc = NULL;
Expand Down
6 changes: 6 additions & 0 deletions localedata/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
2008-03-23 Ulrich Drepper <drepper@redhat.com>

* locales/iso14651_t1_common: Add support for Devanagari script.
* locales/mr_IN: Adjust Devanagari sorting for mr_IN.
Patch by Pravin Satpute <psatpute@redhat.com>.

2008-03-08 Ulrich Drepper <drepper@redhat.com>

[BZ #5602]
Expand Down
Loading

0 comments on commit f23e5ee

Please sign in to comment.