mirror of
git://sourceware.org/git/glibc.git
synced 2024-11-21 01:12:26 +08:00
bba7bb78f3
* nss/nss_files/files-parse.c (parse_list): Count null in EOL calc. Move DB code into separate -ldb library. * db/Makefile (extra-libs): New variable, list libdb. (routines): Renamed to libdb-routines. * shlib-versions: Add libdb=2. * nss/network-lookup.c (DEFAULT_CONFIG): New macro. * nss/host-lookup.c (DEFAULT_CONFIG): New macro. * nss/nsswitch.c (nss_parse_service_list): Use __strncasecmp instead of strncasecmp. Extend syntax to grok [!foo=bar]. * sysdeps/generic/strncase.c: Define __strncasecmp with strncasecmp as weak alias. * string/string.h: Declare __strncasecmp. * nss/nsswitch.c (nss_parse_file): Call __getline, not getline. (service_alias): Variable removed. (nss_parse_service_list): New function, broken out of nss_getline. Remove alias conversion; we will just use symlinks. (__nss_database_lookup): Take new string arg DEFCONFIG. If no entry exists, make one with service list parsed from that. * nss/nsswitch.h: Update protocol for __nss_database_lookup. * nss/XXX-lookup.c (DEFAULT_CONFIG): New macro, set to 0 if undefined. (DB_LOOKUP_FCT): Pass it to _nss_database_lookup. * grp/initgroups.c: Rewritten using getgrent. Handle unlimited group list size. * sunrpc/xdr.c (xdr_int): #if 0 out unresolved references in dead code. Wed Jun 26 01:56:50 1996 Ulrich Drepper <drepper@cygnus.com> * locale/programs/locale.c (long_options): Short form of --version option is `-V'. (main): Recognize `-V' as option, not `-v'. Call `usage' instead of printing error message for illegal option. (usage): Document `-V'.
46 lines
1.5 KiB
Plaintext
46 lines
1.5 KiB
Plaintext
# This file defines the shared library version numbers we will install.
|
|
|
|
# The following lines list filename patterns matching canonical configurations,
|
|
# and the associated versions to use for various libraries. The entire
|
|
# list is processed, with earlier entries taking precedence over later
|
|
# entries. So loose patterns at the end of the list can give defaults.
|
|
|
|
# Configuration Library versions
|
|
# ------------- ------- --------
|
|
|
|
# The interface to -lm depends only on cpu, not on operating system.
|
|
i?86-*-* libm=6
|
|
m68k-*-* libm=6
|
|
alpha-*-* libm=6
|
|
|
|
# We provide libc.so.6 for Linux kernel versions 1.3.95 and later.
|
|
i?86-*-linux* libc=6
|
|
m68k-*-linux* libc=6
|
|
alpha-*-linux* libc=6
|
|
|
|
# libmachuser.so.1 corresponds to mach/*.defs as of Utah's UK22 release.
|
|
*-*-gnu* libmachuser=1
|
|
|
|
# libhurduser.so.0.0 corresponds to hurd/*.defs as of 7 May 1996.
|
|
*-*-gnu* libhurduser=0.0
|
|
|
|
# The -ldl interface (see <dlfcn.h>) is the same on all platforms.
|
|
*-*-* libdl=2
|
|
|
|
# So far the -lutil interface is the same on all platforms, except for the
|
|
# `struct utmp' format, which depends on libc.
|
|
*-*-* libutil=1
|
|
|
|
# Version number 2 is used on other systems for the BIND 4.9.4 resolver
|
|
# interface.
|
|
*-*-* libresolv=2
|
|
|
|
# Interface revision of nss_* modules. This must match NSS_SHLIB_REVISION
|
|
# in nss/nsswitch.h, which determines the library names used for service
|
|
# names given in /etc/nsswitch.conf.
|
|
*-*-* libnss_files=1
|
|
*-*-* libnss_dns=1
|
|
|
|
# We use libdb.so.2 for the interface in version 1.85 of the Berkeley DB code.
|
|
*-*-* libdb=2
|