mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-21 12:30:06 +00:00
Update.
2003-06-16 Thorsten Kukuk <kukuk@suse.de> * include/libc-symbols.h: Add static_link_warning macro. * grp/initgroups.c: Print linker warning if this function is called in a static linked binary. * nss/getXXbyYY.c: Likewise. * nss/getXXbyYY_r.c: Likewise. * nss/getXXent.c: Likewise. * nss/getXXent_r.c: Likewise. * sysdeps/posix/getaddrinfo.c: Likewise. 2003-06-16 Bruno Haible <bruno@clisp.org> * iconvdata/gconv-modules (ISO-8859-15): Add aliases ISO_8859-15, LATIN-9. (ISO-8859-16): Add aliases ISO_8859-16:2001, ISO_8859-16. (IBM1047): Add alias IBM-1047. (GBK): Add aliases MS936, WINDOWS-936. 2003-06-16 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Define even if defined __ASSUME_STAT64_SYSCALL && defined XSTAT_IS_XSTAT64. (__xstat64_conv): Change xstat_conv to __xstat_conv. Reported by Arnaud Desitter <arnaud.desitter@geography.oxford.ac.uk>.
This commit is contained in:
parent
90a2545a95
commit
2f7f7bc658
28
ChangeLog
28
ChangeLog
@ -1,3 +1,28 @@
|
||||
2003-06-16 Thorsten Kukuk <kukuk@suse.de>
|
||||
|
||||
* include/libc-symbols.h: Add static_link_warning macro.
|
||||
* grp/initgroups.c: Print linker warning if this function
|
||||
is called in a static linked binary.
|
||||
* nss/getXXbyYY.c: Likewise.
|
||||
* nss/getXXbyYY_r.c: Likewise.
|
||||
* nss/getXXent.c: Likewise.
|
||||
* nss/getXXent_r.c: Likewise.
|
||||
* sysdeps/posix/getaddrinfo.c: Likewise.
|
||||
|
||||
2003-06-16 Bruno Haible <bruno@clisp.org>
|
||||
|
||||
* iconvdata/gconv-modules (ISO-8859-15): Add aliases ISO_8859-15,
|
||||
LATIN-9.
|
||||
(ISO-8859-16): Add aliases ISO_8859-16:2001, ISO_8859-16.
|
||||
(IBM1047): Add alias IBM-1047.
|
||||
(GBK): Add aliases MS936, WINDOWS-936.
|
||||
|
||||
2003-06-16 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
* sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Define even if
|
||||
defined __ASSUME_STAT64_SYSCALL && defined XSTAT_IS_XSTAT64.
|
||||
(__xstat64_conv): Change xstat_conv to __xstat_conv.
|
||||
|
||||
2003-06-16 Ulrich Drepper <drepper@redhat.com>
|
||||
|
||||
* locale/iso-639.def: Update from current official ISO 639.
|
||||
@ -10,8 +35,7 @@
|
||||
of MXCSR.
|
||||
* sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
|
||||
* sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
|
||||
Reported by Arnaud Desitter
|
||||
<arnaud.desitter@geography.oxford.ac.uk>.
|
||||
Reported by Arnaud Desitter <arnaud.desitter@geography.oxford.ac.uk>.
|
||||
|
||||
* math/tgmath.h (carg): Handle real arguments.
|
||||
(conj): Likewise.
|
||||
|
@ -223,6 +223,8 @@ getgrouplist (const char *user, gid_t group, gid_t *groups, int *ngroups)
|
||||
return result;
|
||||
}
|
||||
|
||||
static_link_warning (getgrouplist)
|
||||
|
||||
/* Initialize the group set for the current user
|
||||
by reading the group database and using all groups
|
||||
of which USER is a member. Also include GROUP. */
|
||||
@ -271,3 +273,5 @@ initgroups (const char *user, gid_t group)
|
||||
return result;
|
||||
#endif
|
||||
}
|
||||
|
||||
static_link_warning (initgroups)
|
||||
|
@ -393,6 +393,8 @@ module INTERNAL ISO-8859-14// ISO8859-14 1
|
||||
alias ISO8859-15// ISO-8859-15//
|
||||
alias ISO885915// ISO-8859-15//
|
||||
alias ISO-IR-203// ISO-8859-15//
|
||||
alias ISO_8859-15// ISO-8859-15//
|
||||
alias LATIN-9// ISO-8859-15//
|
||||
alias ISO_8859-15:1998// ISO-8859-15//
|
||||
module ISO-8859-15// INTERNAL ISO8859-15 1
|
||||
module INTERNAL ISO-8859-15// ISO8859-15 1
|
||||
@ -403,6 +405,8 @@ alias ISO885916// ISO-8859-16//
|
||||
alias ISO-IR-226// ISO-8859-16//
|
||||
alias LATIN10// ISO-8859-16//
|
||||
alias L10// ISO-8859-16//
|
||||
alias ISO_8859-16:2001// ISO-8859-16//
|
||||
alias ISO_8859-16// ISO-8859-16//
|
||||
module ISO-8859-16// INTERNAL ISO8859-16 1
|
||||
module INTERNAL ISO-8859-16// ISO8859-16 1
|
||||
|
||||
@ -996,6 +1000,7 @@ module IBM1046// INTERNAL IBM1046 1
|
||||
module INTERNAL IBM1046// IBM1046 1
|
||||
|
||||
# from to module cost
|
||||
alias IBM-1047// IBM1047//
|
||||
alias CP1047// IBM1047//
|
||||
alias 1047// IBM1047//
|
||||
alias OSF10020417// IBM1047//
|
||||
@ -1122,6 +1127,8 @@ module BIG5// EUC-CN// GBBIG5 1
|
||||
# from to module cost
|
||||
alias GB13000// GBK//
|
||||
alias CP936// GBK//
|
||||
alias MS936// GBK//
|
||||
alias WINDOWS-936// GBK//
|
||||
module GBK// INTERNAL GBK 1
|
||||
module INTERNAL GBK// GBK 1
|
||||
|
||||
|
@ -282,6 +282,16 @@
|
||||
link_warning (name, \
|
||||
"warning: " #name " is not implemented and will always fail")
|
||||
|
||||
/* Warning for linking functions calling dlopen into static binaries. */
|
||||
#ifdef SHARED
|
||||
#define static_link_warning(name)
|
||||
#else
|
||||
#define static_link_warning(name) static_link_warning1(name)
|
||||
#define static_link_warning1(name) \
|
||||
link_warning(name, "Using '" #name "' in statically linked applications \
|
||||
requires at runtime the shared libraries from the glibc version used \
|
||||
for linking")
|
||||
#endif
|
||||
|
||||
/* Declare SYMBOL to be TYPE (`function' or `object') and of SIZE bytes,
|
||||
when the assembler supports such declarations (such as in ELF).
|
||||
|
@ -1,3 +1,10 @@
|
||||
2003-06-16 Bruno Haible <bruno@clisp.org>
|
||||
|
||||
* charmaps/ISO-8859-15: Add aliases ISO_8859-15, LATIN-9.
|
||||
* charmaps/ISO-8859-16: Add aliases ISO_8859-16:2001, ISO_8859-16.
|
||||
* charmaps/IBM1047: Add alias IBM-1047.
|
||||
* charmaps/GBK: Add aliases CP936, MS936, WINDOWS-936.
|
||||
|
||||
2003-06-15 Petter Reinholdtsen <pere@hungry.com>
|
||||
|
||||
* locales/fi_FI [LC_TIME]: Correct month names to make the dates
|
||||
|
@ -4,6 +4,9 @@
|
||||
<comment_char> %
|
||||
<escape_char> /
|
||||
|
||||
% alias CP936
|
||||
% alias MS936
|
||||
% alias WINDOWS-936
|
||||
CHARMAP
|
||||
<U0000> /x00 NULL (NUL)
|
||||
<U0001> /x01 START OF HEADING (SOH)
|
||||
|
@ -6,6 +6,7 @@
|
||||
|
||||
% Registry SC09-1391-00 p 150.
|
||||
|
||||
% alias IBM-1047
|
||||
% alias CP1047
|
||||
% alias 1047
|
||||
CHARMAP
|
||||
|
@ -3,6 +3,8 @@
|
||||
<escape_char> /
|
||||
% automatically generated from the charDB
|
||||
|
||||
% alias ISO_8859-15
|
||||
% alias LATIN-9
|
||||
CHARMAP
|
||||
<U0000> /x00 NULL
|
||||
<U0001> /x01 START OF HEADING
|
||||
|
@ -4,6 +4,8 @@
|
||||
% automatically generated from the charDB
|
||||
|
||||
% alias ISO-IR-226
|
||||
% alias ISO_8859-16:2001
|
||||
% alias ISO_8859-16
|
||||
% alias LATIN10
|
||||
% alias L10
|
||||
CHARMAP
|
||||
|
@ -162,3 +162,5 @@ done:
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
static_link_warning (FUNCTION_NAME)
|
||||
|
@ -289,3 +289,5 @@ strong_alias (INTERNAL (REENTRANT_NAME), NEW (REENTRANT_NAME));
|
||||
versioned_symbol (libc, real, name, version)
|
||||
do_default_symbol_version (NEW (REENTRANT_NAME),
|
||||
REENTRANT_NAME, GLIBC_2_1_2);
|
||||
|
||||
static_link_warning (REENTRANT_NAME)
|
||||
|
@ -91,3 +91,5 @@ GETFUNC_NAME (void)
|
||||
__set_errno (save);
|
||||
return result;
|
||||
}
|
||||
|
||||
static_link_warning (GETFUNC_NAME)
|
||||
|
@ -201,3 +201,7 @@ strong_alias (INTERNAL (REENTRANT_GETNAME), NEW (REENTRANT_GETNAME));
|
||||
versioned_symbol (libc, real, name, version)
|
||||
do_default_symbol_version (NEW (REENTRANT_GETNAME),
|
||||
REENTRANT_GETNAME, GLIBC_2_1_2);
|
||||
|
||||
static_link_warning (SETFUNC_NAME)
|
||||
static_link_warning (ENDFUNC_NAME)
|
||||
static_link_warning (REENTRANT_GETNAME)
|
||||
|
@ -1024,6 +1024,8 @@ getaddrinfo (const char *name, const char *service,
|
||||
}
|
||||
libc_hidden_def (getaddrinfo)
|
||||
|
||||
static_link_warning (getaddrinfo)
|
||||
|
||||
void
|
||||
freeaddrinfo (struct addrinfo *ai)
|
||||
{
|
||||
|
@ -31,7 +31,7 @@ struct kernel_stat;
|
||||
#include <string.h>
|
||||
|
||||
|
||||
#ifndef __ASSUME_STAT64_SYSCALL
|
||||
#if !defined __ASSUME_STAT64_SYSCALL || defined XSTAT_IS_XSTAT64
|
||||
int
|
||||
__xstat_conv (int vers, struct kernel_stat *kbuf, void *ubuf)
|
||||
{
|
||||
@ -108,7 +108,7 @@ int
|
||||
__xstat64_conv (int vers, struct kernel_stat *kbuf, void *ubuf)
|
||||
{
|
||||
#ifdef XSTAT_IS_XSTAT64
|
||||
return xstat_conv (vers, kbuf, ubuf);
|
||||
return __xstat_conv (vers, kbuf, ubuf);
|
||||
#else
|
||||
switch (vers)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user