mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-21 12:30:06 +00:00
Update.
2000-10-29 Ulrich Drepper <drepper@redhat.com> * iconvdata/big5.c: Update. Patch by Tung-Han Hsieh <thhsieh@twcpro.phys.ntu.edu.tw>. * iconvdata/Makefile (distribute): Add BIG5.irreversible. * iconvdata/BIG5.irreversible: New file.
This commit is contained in:
parent
da2a3ca6e2
commit
c6042c732e
@ -1,3 +1,11 @@
|
||||
2000-10-29 Ulrich Drepper <drepper@redhat.com>
|
||||
|
||||
* iconvdata/big5.c: Update.
|
||||
Patch by Tung-Han Hsieh <thhsieh@twcpro.phys.ntu.edu.tw>.
|
||||
|
||||
* iconvdata/Makefile (distribute): Add BIG5.irreversible.
|
||||
* iconvdata/BIG5.irreversible: New file.
|
||||
|
||||
2000-10-29 Greg Louis <glouis@dynamicro.on.ca>
|
||||
|
||||
* posix/regex.h (__restrict_arr): Move definition out of #ifndef block.
|
||||
|
10
iconvdata/BIG5.irreversible
Normal file
10
iconvdata/BIG5.irreversible
Normal file
@ -0,0 +1,10 @@
|
||||
0xA2CC 0x5341
|
||||
0xA2CE 0x5345
|
||||
0xF9E9 0x255E
|
||||
0xF9EA 0x256A
|
||||
0xF9EB 0x2561
|
||||
0xF9F9 0x2550
|
||||
0xF9FA 0x256D
|
||||
0xF9FB 0x256E
|
||||
0xF9FC 0x2570
|
||||
0xF9FD 0x256F
|
@ -98,7 +98,7 @@ distribute := gconv-modules extra-module.mk gap.awk gaptab.awk \
|
||||
run-iconv-test.sh tst-tables.sh tst-table.sh \
|
||||
tst-table-charmap.sh tst-table-from.c tst-table-to.c \
|
||||
EUC-JP.irreversible ISIRI-3342.irreversible SJIS.irreversible \
|
||||
EUC-KR.irreversible BIG5HKSCS.irreversible \
|
||||
EUC-KR.irreversible BIG5HKSCS.irreversible BIG5.irreversible \
|
||||
8bit-generic.c 8bit-gap.c \
|
||||
ansi_x3.110.c asmo_449.c big5.c cp737.c cp737.h \
|
||||
cp775.c cp775.h ibm874.c cns11643.c cns11643.h \
|
||||
|
7058
iconvdata/big5.c
7058
iconvdata/big5.c
File diff suppressed because it is too large
Load Diff
@ -1,3 +1,16 @@
|
||||
2000-10-29 Ulrich Drepper <drepper@redhat.com>
|
||||
|
||||
* linuxthreads.texi: Changes terminology to 'type' from 'kind' when
|
||||
discussing mutexes. (As per the Unix98 name for the API.)
|
||||
Changes documentation for pthread_mutexattr_setkind_np() and
|
||||
pthread_mutexattr_getkind_np() over to the Unix98 APIs for the
|
||||
same: pthread_mutexattr_settype() and pthread_mutexattr_gettype().
|
||||
Changes references to PTHREAD_MUTEXATTR_FAST_NP to
|
||||
PTHREAD_MUTEXATTR_ADAPTIVE_NP.
|
||||
Begins to introduce discussion of the ``timed'' mutex type. This
|
||||
discussion is currently incomplete.
|
||||
Patch by Bruce <bruce@puremagic.com>.
|
||||
|
||||
2000-10-26 Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
|
||||
Yutaka Niibe <gniibe@chroot.org>
|
||||
|
||||
|
@ -550,15 +550,16 @@ calling thread.
|
||||
If @var{mutexattr} is @code{NULL}, default attributes are used instead.
|
||||
|
||||
The LinuxThreads implementation supports only one mutex attribute,
|
||||
the @var{mutex kind}, which is either ``fast'', ``recursive'', or
|
||||
``error checking''. The kind of a mutex determines whether
|
||||
the @var{mutex type}, which is either ``fast'', ``recursive'', or
|
||||
``error checking''. The type of a mutex determines whether
|
||||
it can be locked again by a thread that already owns it.
|
||||
The default kind is ``fast''.
|
||||
The default type is ``fast''.
|
||||
|
||||
Variables of type @code{pthread_mutex_t} can also be initialized
|
||||
statically, using the constants @code{PTHREAD_MUTEX_INITIALIZER} (for
|
||||
fast mutexes), @code{PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP} (for
|
||||
recursive mutexes), and @code{PTHREAD_ERRORCHECK_MUTEX_INITIALIZER_NP}
|
||||
timed mutexes), @code{PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP} (for
|
||||
recursive mutexes), @code{PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP}
|
||||
(for fast mutexes(, and @code{PTHREAD_ERRORCHECK_MUTEX_INITIALIZER_NP}
|
||||
(for error checking mutexes).
|
||||
|
||||
@code{pthread_mutex_init} always returns 0.
|
||||
@ -574,16 +575,17 @@ already locked by another thread, @code{pthread_mutex_lock} suspends the
|
||||
calling thread until the mutex is unlocked.
|
||||
|
||||
If the mutex is already locked by the calling thread, the behavior of
|
||||
@code{pthread_mutex_lock} depends on the kind of the mutex. If the mutex
|
||||
is of the ``fast'' kind, the calling thread is suspended. It will
|
||||
@code{pthread_mutex_lock} depends on the type of the mutex. If the mutex
|
||||
is of the ``fast'' type, the calling thread is suspended. It will
|
||||
remain suspended forever, because no other thread can unlock the mutex.
|
||||
If the mutex is of the ``error checking'' kind, @code{pthread_mutex_lock}
|
||||
If the mutex is of the ``error checking'' type, @code{pthread_mutex_lock}
|
||||
returns immediately with the error code @code{EDEADLK}. If the mutex is
|
||||
of the ``recursive'' kind, @code{pthread_mutex_lock} succeeds and
|
||||
of the ``recursive'' type, @code{pthread_mutex_lock} succeeds and
|
||||
returns immediately, recording the number of times the calling thread
|
||||
has locked the mutex. An equal number of @code{pthread_mutex_unlock}
|
||||
operations must be performed before the mutex returns to the unlocked
|
||||
state.
|
||||
@c This doesn't discuss PTHREAD_MUTEX_TIMED_NP mutex attributes. FIXME
|
||||
@end deftypefun
|
||||
|
||||
@comment pthread.h
|
||||
@ -621,9 +623,9 @@ This function was introduced in the POSIX.1d revision of the POSIX standard.
|
||||
@deftypefun int pthread_mutex_unlock (pthread_mutex_t *@var{mutex})
|
||||
@code{pthread_mutex_unlock} unlocks the given mutex. The mutex is
|
||||
assumed to be locked and owned by the calling thread on entrance to
|
||||
@code{pthread_mutex_unlock}. If the mutex is of the ``fast'' kind,
|
||||
@code{pthread_mutex_unlock}. If the mutex is of the ``fast'' type,
|
||||
@code{pthread_mutex_unlock} always returns it to the unlocked state. If
|
||||
it is of the ``recursive'' kind, it decrements the locking count of the
|
||||
it is of the ``recursive'' type, it decrements the locking count of the
|
||||
mutex (number of @code{pthread_mutex_lock} operations performed on it by
|
||||
the calling thread), and only when this count reaches zero is the mutex
|
||||
actually unlocked.
|
||||
@ -696,45 +698,52 @@ LinuxThreads implementation.
|
||||
This function always returns 0.
|
||||
@end deftypefun
|
||||
|
||||
LinuxThreads supports only one mutex attribute: the mutex kind, which is
|
||||
either @code{PTHREAD_MUTEX_FAST_NP} for ``fast'' mutexes,
|
||||
@code{PTHREAD_MUTEX_RECURSIVE_NP} for ``recursive'' mutexes, or
|
||||
LinuxThreads supports only one mutex attribute: the mutex type, which is
|
||||
either @code{PTHREAD_MUTEX_ADAPTIVE_NP} for ``fast'' mutexes,
|
||||
@code{PTHREAD_MUTEX_RECURSIVE_NP} for ``recursive'' mutexes,
|
||||
@code{PTHREAD_MUTEX_TIMED_NP} for ``timed'' mutexes, or
|
||||
@code{PTHREAD_MUTEX_ERRORCHECK_NP} for ``error checking'' mutexes. As
|
||||
the @code{NP} suffix indicates, this is a non-portable extension to the
|
||||
POSIX standard and should not be employed in portable programs.
|
||||
|
||||
The mutex kind determines what happens if a thread attempts to lock a
|
||||
The mutex type determines what happens if a thread attempts to lock a
|
||||
mutex it already owns with @code{pthread_mutex_lock}. If the mutex is of
|
||||
the ``fast'' kind, @code{pthread_mutex_lock} simply suspends the calling
|
||||
thread forever. If the mutex is of the ``error checking'' kind,
|
||||
the ``fast'' type, @code{pthread_mutex_lock} simply suspends the calling
|
||||
thread forever. If the mutex is of the ``error checking'' type,
|
||||
@code{pthread_mutex_lock} returns immediately with the error code
|
||||
@code{EDEADLK}. If the mutex is of the ``recursive'' kind, the call to
|
||||
@code{EDEADLK}. If the mutex is of the ``recursive'' type, the call to
|
||||
@code{pthread_mutex_lock} returns immediately with a success return
|
||||
code. The number of times the thread owning the mutex has locked it is
|
||||
recorded in the mutex. The owning thread must call
|
||||
@code{pthread_mutex_unlock} the same number of times before the mutex
|
||||
returns to the unlocked state.
|
||||
|
||||
The default mutex kind is ``fast'', that is, @code{PTHREAD_MUTEX_FAST_NP}.
|
||||
The default mutex type is ``timed'', that is, @code{PTHREAD_MUTEX_TIMED_NP}.
|
||||
@c This doesn't describe how a ``timed'' mutex behaves. FIXME
|
||||
|
||||
@comment pthread.h
|
||||
@comment GNU
|
||||
@deftypefun int pthread_mutexattr_setkind_np (pthread_mutexattr_t *@var{attr}, int @var{kind})
|
||||
@code{pthread_mutexattr_setkind_np} sets the mutex kind attribute in
|
||||
@var{attr} to the value specified by @var{kind}.
|
||||
@deftypefun int pthread_mutexattr_settype (pthread_mutexattr_t *@var{attr}, int @var{type})
|
||||
@code{pthread_mutexattr_settyp3} sets the mutex type attribute in
|
||||
@var{attr} to the value specified by @var{type}.
|
||||
|
||||
If @var{kind} is not @code{PTHREAD_MUTEX_FAST_NP},
|
||||
@code{PTHREAD_MUTEX_RECURSIVE_NP}, or
|
||||
If @var{type} is not @code{PTHREAD_MUTEX_ADAPTIVE_NP},
|
||||
@code{PTHREAD_MUTEX_RECURSIVE_NP}, @code{PTHREAD_MUTEX_TIMED_NP}, or
|
||||
@code{PTHREAD_MUTEX_ERRORCHECK_NP}, this function will return
|
||||
@code{EINVAL} and leave @var{attr} unchanged.
|
||||
|
||||
The standard Unix98 identifiers @code{PTHREAD_MUTEX_DEFAULT},
|
||||
@code{PTHREAD_MUTEX_NORMAL}, @code{PTHREAD_MUTEX_RECURSIVE},
|
||||
and @code{PTHREAD_MUTEX_ERRORCHECK} are also permitted.
|
||||
|
||||
@end deftypefun
|
||||
|
||||
@comment pthread.h
|
||||
@comment GNU
|
||||
@deftypefun int pthread_mutexattr_getkind_np (const pthread_mutexattr_t *@var{attr}, int *@var{kind})
|
||||
@code{pthread_mutexattr_getkind_np} retrieves the current value of the
|
||||
mutex kind attribute in @var{attr} and stores it in the location pointed
|
||||
to by @var{kind}.
|
||||
@deftypefun int pthread_mutexattr_gettype (const pthread_mutexattr_t *@var{attr}, int *@var{type})
|
||||
@code{pthread_mutexattr_gettype} retrieves the current value of the
|
||||
mutex type attribute in @var{attr} and stores it in the location pointed
|
||||
to by @var{type}.
|
||||
|
||||
This function always returns 0.
|
||||
@end deftypefun
|
||||
|
@ -1,5 +1,8 @@
|
||||
2000-10-29 Ulrich Drepper <drepper@redhat.com>
|
||||
|
||||
* charmaps/BIG5: Update.
|
||||
Patch by Tung-Han Hsieh <thhsieh@twcpro.phys.ntu.edu.tw>.
|
||||
|
||||
* locales/mk_MK: Use iso14651_t1 file.
|
||||
Patch by Damjan <arhiv@freemail.org.mk>.
|
||||
|
||||
|
@ -5,20 +5,23 @@
|
||||
<escape_char> /
|
||||
%
|
||||
% Chinese charmap for BIG5 (CP950)
|
||||
% version: 0.9
|
||||
% version: 0.91
|
||||
% Contact: Tung-Han Hsieh <thhsieh@linux.org.tw>
|
||||
% Yuan-Chung Cheng <platin@ms31.hinet.net>
|
||||
% Distribution and use is free, even for comercial purpose.
|
||||
%
|
||||
% This charmap is converted from:
|
||||
% ftp://ftp.unicode.org/Public/MAPPINGS/VENDORS/MICSFT/WINDOWS/CP950.TXT
|
||||
% and also merged several characters (/xc6/xa1-/xc7fc) from:
|
||||
% and also merged several characters (/xc6/xa1-/xc7/xfc) from:
|
||||
% Aprhic Tech. CO., LTD. Big5 <==> Unicode mapping table.
|
||||
%
|
||||
% Unmapped Big5 characters:
|
||||
% Irrevsible mapping Big5 characters (using %IRREVERSIBLE% notation):
|
||||
% /xa2/xcc, /xa2/xce, /xf9/xe9, /xf9/xea, /xf9/xeb,
|
||||
% /xf9/xf9, /xf9/xfa, /xf9/xfb, /xf9/xfc, /xf9/xfd
|
||||
%
|
||||
% The mapping /xa3/xe1 <==> <U20AC> is removed because only CP950.TXT contains
|
||||
% this mapping, but not found in elsewhere. It might be a mistake.
|
||||
%
|
||||
% alias BIG5-CP950
|
||||
|
||||
CHARMAP
|
||||
@ -417,9 +420,9 @@ CHARMAP
|
||||
<U3027> /xa2/xc9 HANGZHOU NUMERAL SEVEN
|
||||
<U3028> /xa2/xca HANGZHOU NUMERAL EIGHT
|
||||
<U3029> /xa2/xcb HANGZHOU NUMERAL NINE
|
||||
% <U5341> /xa2/xcc <CJK>
|
||||
%IRREVERSIBLE%<U5341> /xa2/xcc <CJK>
|
||||
<U5344> /xa2/xcd <CJK>
|
||||
% <U5345> /xa2/xce <CJK>
|
||||
%IRREVERSIBLE%<U5345> /xa2/xce <CJK>
|
||||
<UFF21> /xa2/xcf FULLWIDTH LATIN CAPITAL LETTER A
|
||||
<UFF22> /xa2/xd0 FULLWIDTH LATIN CAPITAL LETTER B
|
||||
<UFF23> /xa2/xd1 FULLWIDTH LATIN CAPITAL LETTER C
|
||||
@ -562,7 +565,6 @@ CHARMAP
|
||||
<U02CA> /xa3/xbd MODIFIER LETTER ACUTE ACCENT
|
||||
<U02C7> /xa3/xbe CARON
|
||||
<U02CB> /xa3/xbf MODIFIER LETTER GRAVE ACCENT
|
||||
<U20AC> /xa3/xe1 EURO SIGN
|
||||
<U4E00> /xa4/x40 <CJK>
|
||||
<U4E59> /xa4/x41 <CJK>
|
||||
<U4E01> /xa4/x42 <CJK>
|
||||
@ -14050,9 +14052,9 @@ CHARMAP
|
||||
<U2552> /xf9/xe6 BOX DRAWINGS DOWN SINGLE AND RIGHT DOUBLE
|
||||
<U2564> /xf9/xe7 BOX DRAWINGS DOWN SINGLE AND HORIZONTAL DOUBLE
|
||||
<U2555> /xf9/xe8 BOX DRAWINGS DOWN SINGLE AND LEFT DOUBLE
|
||||
% <U255E> /xf9/xe9 BOX DRAWINGS VERTICAL SINGLE AND RIGHT DOUBLE
|
||||
% <U256A> /xf9/xea BOX DRAWINGS VERTICAL SINGLE AND HORIZONTAL DOUBLE
|
||||
% <U2561> /xf9/xeb BOX DRAWINGS VERTICAL SINGLE AND LEFT DOUBLE
|
||||
%IRREVERSIBLE%<U255E> /xf9/xe9 BOX DRAWINGS VERTICAL SINGLE AND RIGHT DOUBLE
|
||||
%IRREVERSIBLE%<U256A> /xf9/xea BOX DRAWINGS VERTICAL SINGLE AND HORIZONTAL DOUBLE
|
||||
%IRREVERSIBLE%<U2561> /xf9/xeb BOX DRAWINGS VERTICAL SINGLE AND LEFT DOUBLE
|
||||
<U2558> /xf9/xec BOX DRAWINGS UP SINGLE AND RIGHT DOUBLE
|
||||
<U2567> /xf9/xed BOX DRAWINGS UP SINGLE AND HORIZONTAL DOUBLE
|
||||
<U255B> /xf9/xee BOX DRAWINGS UP SINGLE AND LEFT DOUBLE
|
||||
@ -14066,11 +14068,11 @@ CHARMAP
|
||||
<U2568> /xf9/xf6 BOX DRAWINGS UP DOUBLE AND HORIZONTAL SINGLE
|
||||
<U255C> /xf9/xf7 BOX DRAWINGS UP DOUBLE AND LEFT SINGLE
|
||||
<U2551> /xf9/xf8 BOX DRAWINGS DOUBLE VERTICAL
|
||||
% <U2550> /xf9/xf9 BOX DRAWINGS DOUBLE HORIZONTAL
|
||||
% <U256D> /xf9/xfa BOX DRAWINGS LIGHT ARC DOWN AND RIGHT
|
||||
% <U256E> /xf9/xfb BOX DRAWINGS LIGHT ARC DOWN AND LEFT
|
||||
% <U2570> /xf9/xfc BOX DRAWINGS LIGHT ARC UP AND RIGHT
|
||||
% <U256F> /xf9/xfd BOX DRAWINGS LIGHT ARC UP AND LEFT
|
||||
%IRREVERSIBLE%<U2550> /xf9/xf9 BOX DRAWINGS DOUBLE HORIZONTAL
|
||||
%IRREVERSIBLE%<U256D> /xf9/xfa BOX DRAWINGS LIGHT ARC DOWN AND RIGHT
|
||||
%IRREVERSIBLE%<U256E> /xf9/xfb BOX DRAWINGS LIGHT ARC DOWN AND LEFT
|
||||
%IRREVERSIBLE%<U2570> /xf9/xfc BOX DRAWINGS LIGHT ARC UP AND RIGHT
|
||||
%IRREVERSIBLE%<U256F> /xf9/xfd BOX DRAWINGS LIGHT ARC UP AND LEFT
|
||||
<U2593> /xf9/xfe DARK SHADE
|
||||
END CHARMAP
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user