1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-10-12 19:04:54 +03:00
* iconvdata/Makefile (modules): Add GBBIG5.
	(distribute): Add gbbig5.c.
	* iconvdata/gbbig5.c: New file.
	* iconvdata/gconv-modules: Add entries for GBBIG5 module.

2001-02-13  Philip Blundell  <pb@futuretv.com>

	* manual/crypt.texi: Remove outdated references to crypt add-on.

	* manual/creature.texi: Improve wording slightly.

2001-02-13  Ulrich Drepper  <drepper@redhat.com>
This commit is contained in:
Ulrich Drepper
2001-02-13 23:36:45 +00:00
parent 2958e6cc5f
commit cf6960d7ca
6 changed files with 5040 additions and 26 deletions

View File

@@ -1,3 +1,16 @@
2001-02-13 Ulrich Drepper <drepper@redhat.com>
* iconvdata/Makefile (modules): Add GBBIG5.
(distribute): Add gbbig5.c.
* iconvdata/gbbig5.c: New file.
* iconvdata/gconv-modules: Add entries for GBBIG5 module.
2001-02-13 Philip Blundell <pb@futuretv.com>
* manual/crypt.texi: Remove outdated references to crypt add-on.
* manual/creature.texi: Improve wording slightly.
2001-02-13 Ulrich Drepper <drepper@redhat.com> 2001-02-13 Ulrich Drepper <drepper@redhat.com>
* io/ftw.c: Always use readdir64. * io/ftw.c: Always use readdir64.

View File

@@ -47,7 +47,7 @@ modules := ISO8859-1 ISO8859-2 ISO8859-3 ISO8859-4 ISO8859-5 \
ISO_5428 ISO_10367-BOX MAC-IS MAC-UK NATS-DANO NATS-SEFI \ ISO_5428 ISO_10367-BOX MAC-IS MAC-UK NATS-DANO NATS-SEFI \
SAMI-WS2 ISO-IR-197 TIS-620 KOI8-U GBK ISIRI-3342 GBGBK \ SAMI-WS2 ISO-IR-197 TIS-620 KOI8-U GBK ISIRI-3342 GBGBK \
ISO-2022-CN libISOIR165 UTF-16 UNICODE UTF-7 BIG5HKSCS \ ISO-2022-CN libISOIR165 UTF-16 UNICODE UTF-7 BIG5HKSCS \
GB18030 ISO-2022-CN-EXT VISCII GB18030 ISO-2022-CN-EXT VISCII GBBIG5
modules.so := $(addsuffix .so, $(modules)) modules.so := $(addsuffix .so, $(modules))
@@ -136,7 +136,7 @@ distribute := gconv-modules extra-module.mk gap.awk gaptab.awk \
isiri-3342.c isiri-3342.h gbgbk.c iso-2022-cn.c cns11643l2.h \ isiri-3342.c isiri-3342.h gbgbk.c iso-2022-cn.c cns11643l2.h \
iso8859-16.c utf-16.c unicode.c utf-7.c big5hkscs.c \ iso8859-16.c utf-16.c unicode.c utf-7.c big5hkscs.c \
iso-ir-165.c iso-ir-165.h gb18030.c iso-2022-cn-ext.c \ iso-ir-165.c iso-ir-165.h gb18030.c iso-2022-cn-ext.c \
ibm932.c ibm932.h ibm943.c ibm943.h ibm932.c ibm932.h ibm943.c ibm943.h gbbig5.c
# We build the transformation modules only when we build shared libs. # We build the transformation modules only when we build shared libs.
ifeq (yes,$(build-shared)) ifeq (yes,$(build-shared))

5007
iconvdata/gbbig5.c Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -1,5 +1,5 @@
# GNU libc iconv configuration. # GNU libc iconv configuration.
# Copyright (C) 1997, 1998, 1999, 2000 Free Software Foundation, Inc. # Copyright (C) 1997, 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
# This file is part of the GNU C Library. # This file is part of the GNU C Library.
# Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997. # Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997.
# #
@@ -975,6 +975,10 @@ alias CN-GB// EUC-CN//
module EUC-CN// INTERNAL EUC-CN 1 module EUC-CN// INTERNAL EUC-CN 1
module INTERNAL EUC-CN// EUC-CN 1 module INTERNAL EUC-CN// EUC-CN 1
# from to module cost
module EUC-CN// BIG5// GBBIG5 1
module BIG5// EUC-CN// GBBIG5 1
# from to module cost # from to module cost
alias GB13000// GBK// alias GB13000// GBK//
alias CP936// GBK// alias CP936// GBK//

View File

@@ -131,7 +131,7 @@ Single Unix Specification, @w{version 2}.
@comment X/Open @comment X/Open
@defvr Macro _LARGEFILE_SOURCE @defvr Macro _LARGEFILE_SOURCE
If this macro is defined some extra functions are available which If this macro is defined some extra functions are available which
rectify a few shortcomings in all previous standards. More concrete rectify a few shortcomings in all previous standards. Specifically,
the functions @code{fseeko} and @code{ftello} are available. Without the functions @code{fseeko} and @code{ftello} are available. Without
these functions the difference between the @w{ISO C} interface these functions the difference between the @w{ISO C} interface
(@code{fseek}, @code{ftell}) and the low-level POSIX interface (@code{fseek}, @code{ftell}) and the low-level POSIX interface
@@ -156,16 +156,16 @@ contain @code{64} to indicate the intention, e.g., @code{off_t}
vs. @code{off64_t} and @code{fseeko} vs. @code{fseeko64}. vs. @code{off64_t} and @code{fseeko} vs. @code{fseeko64}.
This macro was introduced as part of the Large File Support extension This macro was introduced as part of the Large File Support extension
(LFS). It is a transition interface for the time @w{64 bit} offsets are (LFS). It is a transition interface for the period when @w{64 bit}
not generally used (see @code{_FILE_OFFSET_BITS}). offsets are not generally used (see @code{_FILE_OFFSET_BITS}).
@end defvr @end defvr
@comment (NONE) @comment (NONE)
@comment X/Open @comment X/Open
@defvr Macro _FILE_OFFSET_BITS @defvr Macro _FILE_OFFSET_BITS
This macro determines which file system interface shall be used, one This macro determines which file system interface shall be used, one
replacing the other. While @code{_LARGEFILE64_SOURCE} makes the @w{64 replacing the other. Whereas @code{_LARGEFILE64_SOURCE} makes the @w{64
bit} interface available as an additional interface bit} interface available as an additional interface,
@code{_FILE_OFFSET_BITS} allows the @w{64 bit} interface to @code{_FILE_OFFSET_BITS} allows the @w{64 bit} interface to
replace the old interface. replace the old interface.
@@ -176,9 +176,9 @@ systems.
If the macro is defined to the value @code{64}, the large file interface If the macro is defined to the value @code{64}, the large file interface
replaces the old interface. I.e., the functions are not made available replaces the old interface. I.e., the functions are not made available
under different names as @code{_LARGEFILE64_SOURCE} does. Instead the under different names (as they are with @code{_LARGEFILE64_SOURCE}).
old function names now reference the new functions, e.g., a call to Instead the old function names now reference the new functions, e.g., a
@code{fseeko} now indeed calls @code{fseeko64}. call to @code{fseeko} now indeed calls @code{fseeko64}.
This macro should only be selected if the system provides mechanisms for This macro should only be selected if the system provides mechanisms for
handling large files. On @w{64 bit} systems this macro has no effect handling large files. On @w{64 bit} systems this macro has no effect

View File

@@ -152,14 +152,11 @@ For the DES-based algorithm, the @var{salt} should consist of two
characters from the alphabet @code{./0-9A-Za-z}, and the result of characters from the alphabet @code{./0-9A-Za-z}, and the result of
@code{crypt} will be those two characters followed by 11 more from the @code{crypt} will be those two characters followed by 11 more from the
same alphabet, 13 in total. Only the first 8 characters in the same alphabet, 13 in total. Only the first 8 characters in the
@var{key} are significant. If the @code{crypt} add-on is not installed, @var{key} are significant.
trying to use the DES-based algorithm will return an empty string and
set @code{errno} to @code{EOPNOTSUPP}.
The MD5-based algorithm is available in the GNU C library even if the The MD5-based algorithm has no limit on the useful length of the
@code{crypt} add-on is not installed. It also has no limit on the password used, and is slightly more secure. It is therefore preferred
useful length of the password used, and is slightly more secure. It is over the DES-based algorithm.
therefore preferred over the DES-based algorithm.
When the user enters their password for the first time, the @var{salt} When the user enters their password for the first time, the @var{salt}
should be set to a new string which is reasonably random. To verify a should be set to a new string which is reasonably random. To verify a
@@ -271,11 +268,6 @@ The @code{setkey_r} and @code{encrypt_r} functions are GNU extensions.
@code{setkey}, @code{encrypt}, @code{setkey_r}, and @code{encrypt_r} are @code{setkey}, @code{encrypt}, @code{setkey_r}, and @code{encrypt_r} are
defined in @file{crypt.h}. defined in @file{crypt.h}.
If the @code{crypt} add-on is not used to build the library, programs
that use these four functions will crash when the functions are called.
If this is a problem, the @code{ecb_crypt} function described below is
recommended instead.
@comment rpc/des_crypt.h @comment rpc/des_crypt.h
@comment SUNRPC @comment SUNRPC
@deftypefun int ecb_crypt (char *@var{key}, char *@var{blocks}, unsigned @var{len}, unsigned @var{mode}) @deftypefun int ecb_crypt (char *@var{key}, char *@var{blocks}, unsigned @var{len}, unsigned @var{mode})
@@ -340,9 +332,7 @@ The encryption succeeded, but there was no hardware device available.
@comment rpc/des_crypt.h @comment rpc/des_crypt.h
@comment SUNRPC @comment SUNRPC
@item DESERR_HWERROR @item DESERR_HWERROR
The encryption failed because of a hardware problem. In the GNU The encryption failed because of a hardware problem.
library, this error code is also returned if the @code{crypt} add-on was
not used to build the library.
@comment rpc/des_crypt.h @comment rpc/des_crypt.h
@comment SUNRPC @comment SUNRPC