mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-22 10:50:07 +00:00
Update.
2000-02-22 Ulrich Drepper <drepper@redhat.com> * locales/mk_MK: New file. Contributed by Damjan Georgievski <gdamjan@freemail.org.mk> * SUPPORTED: Add mk_MK ISO-8859-1.
This commit is contained in:
parent
384cbe9b1e
commit
49c091e523
@ -357,7 +357,7 @@ struct hol_cluster
|
|||||||
const char *header;
|
const char *header;
|
||||||
|
|
||||||
/* Used to order clusters within the same group with the same parent,
|
/* Used to order clusters within the same group with the same parent,
|
||||||
according to the order in which they occured in the parent argp's child
|
according to the order in which they occurred in the parent argp's child
|
||||||
list. */
|
list. */
|
||||||
int index;
|
int index;
|
||||||
|
|
||||||
@ -1419,7 +1419,7 @@ argp_args_usage (const struct argp *argp, const struct argp_state *state,
|
|||||||
following the `\v' character (nothing for strings without). Each separate
|
following the `\v' character (nothing for strings without). Each separate
|
||||||
bit of documentation is separated a blank line, and if PRE_BLANK is true,
|
bit of documentation is separated a blank line, and if PRE_BLANK is true,
|
||||||
then the first is as well. If FIRST_ONLY is true, only the first
|
then the first is as well. If FIRST_ONLY is true, only the first
|
||||||
occurance is output. Returns true if anything was output. */
|
occurrence is output. Returns true if anything was output. */
|
||||||
static int
|
static int
|
||||||
argp_doc (const struct argp *argp, const struct argp_state *state,
|
argp_doc (const struct argp *argp, const struct argp_state *state,
|
||||||
int post, int pre_blank, int first_only,
|
int post, int pre_blank, int first_only,
|
||||||
|
@ -184,7 +184,7 @@ typedef error_t (*argp_parser_t) (int key, char *arg,
|
|||||||
argp's, and perhaps a function to filter help output. When actually
|
argp's, and perhaps a function to filter help output. When actually
|
||||||
parsing options, getopt is called with the union of all the argp
|
parsing options, getopt is called with the union of all the argp
|
||||||
structures chained together through their CHILD pointers, with conflicts
|
structures chained together through their CHILD pointers, with conflicts
|
||||||
being resolved in favor of the first occurance in the chain. */
|
being resolved in favor of the first occurrence in the chain. */
|
||||||
struct argp
|
struct argp
|
||||||
{
|
{
|
||||||
/* An array of argp_option structures, terminated by an entry with both
|
/* An array of argp_option structures, terminated by an entry with both
|
||||||
|
@ -59,7 +59,7 @@ _dl_new_object (char *realname, const char *libname, int type,
|
|||||||
while (l->l_next)
|
while (l->l_next)
|
||||||
l = l->l_next;
|
l = l->l_next;
|
||||||
new->l_prev = l;
|
new->l_prev = l;
|
||||||
/* new->l_next = NULL; Would be necesary but we use calloc. */
|
/* new->l_next = NULL; Would be necessary but we use calloc. */
|
||||||
l->l_next = new;
|
l->l_next = new;
|
||||||
|
|
||||||
/* Add the global scope. */
|
/* Add the global scope. */
|
||||||
|
@ -249,7 +249,7 @@ _dl_open (const char *file, int mode, const void *caller)
|
|||||||
|
|
||||||
if (errstring)
|
if (errstring)
|
||||||
{
|
{
|
||||||
/* Some error occured during loading. */
|
/* Some error occurred during loading. */
|
||||||
char *local_errstring;
|
char *local_errstring;
|
||||||
|
|
||||||
/* Remove the object from memory. It may be in an inconsistent
|
/* Remove the object from memory. It may be in an inconsistent
|
||||||
|
@ -1055,7 +1055,7 @@ typedef struct
|
|||||||
#define EF_MIPS_ARCH_4 0x30000000 /* -mips4 code. */
|
#define EF_MIPS_ARCH_4 0x30000000 /* -mips4 code. */
|
||||||
#define EF_MIPS_ARCH_5 0x40000000 /* -mips5 code. */
|
#define EF_MIPS_ARCH_5 0x40000000 /* -mips5 code. */
|
||||||
|
|
||||||
/* The following are non-official names and should ot be used. */
|
/* The following are non-official names and should not be used. */
|
||||||
|
|
||||||
#define E_MIPS_ARCH_1 0x00000000 /* -mips1 code. */
|
#define E_MIPS_ARCH_1 0x00000000 /* -mips1 code. */
|
||||||
#define E_MIPS_ARCH_2 0x10000000 /* -mips2 code. */
|
#define E_MIPS_ARCH_2 0x10000000 /* -mips2 code. */
|
||||||
|
@ -642,7 +642,7 @@ of this helper program; chances are you did not intend to run this program.\n\
|
|||||||
_dl_rtld_map.l_prev = _dl_loaded;
|
_dl_rtld_map.l_prev = _dl_loaded;
|
||||||
|
|
||||||
/* We have two ways to specify objects to preload: via environment
|
/* We have two ways to specify objects to preload: via environment
|
||||||
variable and via the file /etc/ld.so.preload. The later can also
|
variable and via the file /etc/ld.so.preload. The latter can also
|
||||||
be used when security is enabled. */
|
be used when security is enabled. */
|
||||||
preloads = NULL;
|
preloads = NULL;
|
||||||
npreloads = 0;
|
npreloads = 0;
|
||||||
|
@ -56,7 +56,7 @@ __gconv_open (const char *toset, const char *fromset, __gconv_t *handle,
|
|||||||
nsteps * sizeof (struct __gconv_step_data));
|
nsteps * sizeof (struct __gconv_step_data));
|
||||||
|
|
||||||
/* Call all initialization functions for the transformation
|
/* Call all initialization functions for the transformation
|
||||||
step implemenations. */
|
step implementations. */
|
||||||
for (cnt = 0; cnt < nsteps; ++cnt)
|
for (cnt = 0; cnt < nsteps; ++cnt)
|
||||||
{
|
{
|
||||||
/* If this is the last step we must not allocate an
|
/* If this is the last step we must not allocate an
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
2000-02-22 Ulrich Drepper <drepper@redhat.com>
|
||||||
|
|
||||||
|
* locales/mk_MK: New file.
|
||||||
|
Contributed by Damjan Georgievski <gdamjan@freemail.org.mk>
|
||||||
|
* SUPPORTED: Add mk_MK ISO-8859-1.
|
||||||
|
|
||||||
2000-02-12 Ulrich Drepper <drepper@redhat.com>
|
2000-02-12 Ulrich Drepper <drepper@redhat.com>
|
||||||
|
|
||||||
* SUPPORTED: Add gl_ES.ISO-8859-1.
|
* SUPPORTED: Add gl_ES.ISO-8859-1.
|
||||||
|
@ -42,6 +42,7 @@ iw_IL ISO-8859-8
|
|||||||
kl_GL ISO-8859-1
|
kl_GL ISO-8859-1
|
||||||
lt_LT ISO-8859-13
|
lt_LT ISO-8859-13
|
||||||
lv_LV ISO-8859-13
|
lv_LV ISO-8859-13
|
||||||
|
mk_MK ISO-8859-5
|
||||||
nl_BE ISO-8859-1
|
nl_BE ISO-8859-1
|
||||||
nl_NL ISO-8859-1
|
nl_NL ISO-8859-1
|
||||||
no_NO ISO-8859-1
|
no_NO ISO-8859-1
|
||||||
|
3057
localedata/locales/mk_MK
Normal file
3057
localedata/locales/mk_MK
Normal file
File diff suppressed because it is too large
Load Diff
@ -19,7 +19,7 @@
|
|||||||
# 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
# 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
|
|
||||||
# The format of this file is pretty simple: Each line contains a test
|
# The format of this file is pretty simple: Each line contains a test
|
||||||
# for strfmon. Fields are seperated by TABs. Lines that start with a
|
# for strfmon. Fields are separated by TABs. Lines that start with a
|
||||||
# '#' are comments and are ignored.
|
# '#' are comments and are ignored.
|
||||||
#
|
#
|
||||||
# Field Deskription
|
# Field Deskription
|
||||||
|
@ -31,7 +31,7 @@ while read locale string result dummy; do
|
|||||||
fi
|
fi
|
||||||
done <<EOF
|
done <<EOF
|
||||||
#& These are the tests for rpmatch in glibc. Each line contains one test,
|
#& These are the tests for rpmatch in glibc. Each line contains one test,
|
||||||
#& comments start with #& in the first column. The fields are seperated
|
#& comments start with #& in the first column. The fields are separated
|
||||||
#& by paragraph signs and contain: the locale, the string, the expected
|
#& by paragraph signs and contain: the locale, the string, the expected
|
||||||
#& return value of rpmatch(3). If the test fails, test-rpmatch prints
|
#& return value of rpmatch(3). If the test fails, test-rpmatch prints
|
||||||
#& all these informations
|
#& all these informations
|
||||||
|
@ -38,7 +38,7 @@ struct xtmp
|
|||||||
time_t xt_time; /* Time entry was made. */
|
time_t xt_time; /* Time entry was made. */
|
||||||
char xt_user[XT_NAMESIZE]; /* Username (not NUL terminated). */
|
char xt_user[XT_NAMESIZE]; /* Username (not NUL terminated). */
|
||||||
char xt_host[XT_HOSTSIZE]; /* Hostname for remote login. */
|
char xt_host[XT_HOSTSIZE]; /* Hostname for remote login. */
|
||||||
long xt_addr; /* Internet adress of remote host. */
|
long xt_addr; /* Internet address of remote host. */
|
||||||
};
|
};
|
||||||
|
|
||||||
#define _HAVE_XT_TYPE 1
|
#define _HAVE_XT_TYPE 1
|
||||||
|
@ -2260,7 +2260,7 @@ is provided mostly for compatibility with existing code; using
|
|||||||
@code{strtod} is more robust.
|
@code{strtod} is more robust.
|
||||||
@end deftypefun
|
@end deftypefun
|
||||||
|
|
||||||
The GNU C library also provides @samp{_l} versions of thse functions,
|
The GNU C library also provides @samp{_l} versions of these functions,
|
||||||
which take an additional argument, the locale to use in conversion.
|
which take an additional argument, the locale to use in conversion.
|
||||||
@xref{Parsing of Integers}.
|
@xref{Parsing of Integers}.
|
||||||
|
|
||||||
|
@ -524,7 +524,7 @@ The code to emit the escape sequence to get back to the initial state is
|
|||||||
interesting. The @code{wcsrtombs} function can be used to determine the
|
interesting. The @code{wcsrtombs} function can be used to determine the
|
||||||
necessary output code (@pxref{Converting Strings}). Please note that on
|
necessary output code (@pxref{Converting Strings}). Please note that on
|
||||||
GNU systems it is not necessary to perform this extra action for the
|
GNU systems it is not necessary to perform this extra action for the
|
||||||
conversion from multibyte text ot wide character text since the wide
|
conversion from multibyte text to wide character text since the wide
|
||||||
character encoding is not stateful. But there is nothing mentioned in
|
character encoding is not stateful. But there is nothing mentioned in
|
||||||
any standard which prohibits making @code{wchar_t} using a stateful
|
any standard which prohibits making @code{wchar_t} using a stateful
|
||||||
encoding.
|
encoding.
|
||||||
@ -703,7 +703,7 @@ bytes in the multibyte input string. This method yields to a
|
|||||||
pessimistic guess about the size of the result and if many wide
|
pessimistic guess about the size of the result and if many wide
|
||||||
character strings have to be constructed this way or the strings are
|
character strings have to be constructed this way or the strings are
|
||||||
long, the extra memory required allocated because the input string
|
long, the extra memory required allocated because the input string
|
||||||
contains multibzte characters might be significant. It would be
|
contains multibyte characters might be significant. It would be
|
||||||
possible to resize the allocated memory block to the correct size before
|
possible to resize the allocated memory block to the correct size before
|
||||||
returning it. A better solution might be to allocate just the right
|
returning it. A better solution might be to allocate just the right
|
||||||
amount of space for the result right away. Unfortunately there is no
|
amount of space for the result right away. Unfortunately there is no
|
||||||
@ -1633,15 +1633,15 @@ of the conversions from @var{fromset} to @var{toset}.
|
|||||||
|
|
||||||
The GNU C library implementation of @code{iconv_open} has one
|
The GNU C library implementation of @code{iconv_open} has one
|
||||||
significant extension to other implementations. To ease the extension
|
significant extension to other implementations. To ease the extension
|
||||||
of the set of available conversions the implementation allows to store
|
of the set of available conversions the implementation allows storing
|
||||||
the necessary files with data and code in arbitrary many directories.
|
the necessary files with data and code in arbitrarily many directories.
|
||||||
How this extensions have to be written will be explained below
|
How this extension has to be written will be explained below
|
||||||
(@pxref{glibc iconv Implementation}). Here it is only important to say
|
(@pxref{glibc iconv Implementation}). Here it is only important to say
|
||||||
that all directories mentioned in the @code{GCONV_PATH} environment
|
that all directories mentioned in the @code{GCONV_PATH} environment
|
||||||
variable are considered if they contain a file @file{gconv-modules}.
|
variable are considered if they contain a file @file{gconv-modules}.
|
||||||
These directories need not necessarily be created by the system
|
These directories need not necessarily be created by the system
|
||||||
administrator. In fact, this extension is introduced to help users
|
administrator. In fact, this extension is introduced to help users
|
||||||
writing and using own, new conversions. Of course this does not work
|
writing and using their own, new conversions. Of course this does not work
|
||||||
for security reasons in SUID binaries; in this case only the system
|
for security reasons in SUID binaries; in this case only the system
|
||||||
directory is considered and this normally is
|
directory is considered and this normally is
|
||||||
@file{@var{prefix}/lib/gconv}. The @code{GCONV_PATH} environment
|
@file{@var{prefix}/lib/gconv}. The @code{GCONV_PATH} environment
|
||||||
@ -2048,7 +2048,7 @@ the GNU C library has none of the problems mentioned above. What
|
|||||||
follows is a step-by-step analysis of the points raised above. The
|
follows is a step-by-step analysis of the points raised above. The
|
||||||
evaluation is based on the current state of the development (as of
|
evaluation is based on the current state of the development (as of
|
||||||
January 1999). The development of the @code{iconv} functions is not
|
January 1999). The development of the @code{iconv} functions is not
|
||||||
complete, but basic funtionality has solidified.
|
complete, but basic functionality has solidified.
|
||||||
|
|
||||||
The GNU C library's @code{iconv} implementation uses shared loadable
|
The GNU C library's @code{iconv} implementation uses shared loadable
|
||||||
modules to implement the conversions. A very small number of
|
modules to implement the conversions. A very small number of
|
||||||
@ -2187,7 +2187,7 @@ set.
|
|||||||
Explaining why the above @file{gconv-modules} files allows the
|
Explaining why the above @file{gconv-modules} files allows the
|
||||||
@code{iconv} implementation to resolve the specific ISO-2022-JP to
|
@code{iconv} implementation to resolve the specific ISO-2022-JP to
|
||||||
EUC-JP conversion module instead of the conversion coming with the
|
EUC-JP conversion module instead of the conversion coming with the
|
||||||
library itself is straighforward. Since the later conversion takes two
|
library itself is straightforward. Since the latter conversion takes two
|
||||||
steps (from ISO-2022-JP to @w{ISO 10646} and then from @w{ISO 10646} to
|
steps (from ISO-2022-JP to @w{ISO 10646} and then from @w{ISO 10646} to
|
||||||
EUC-JP) the cost is @math{1+1 = 2}. But the above @file{gconv-modules}
|
EUC-JP) the cost is @math{1+1 = 2}. But the above @file{gconv-modules}
|
||||||
file specifies that the new conversion modules can perform this
|
file specifies that the new conversion modules can perform this
|
||||||
@ -2230,7 +2230,7 @@ so that one can write new ones. This section describes the interface as
|
|||||||
it is in use in January 1999. The interface will change in future a bit
|
it is in use in January 1999. The interface will change in future a bit
|
||||||
but hopefully only in an upward compatible way.
|
but hopefully only in an upward compatible way.
|
||||||
|
|
||||||
The definitions necessary to write new modules are publically available
|
The definitions necessary to write new modules are publicly available
|
||||||
in the non-standard header @file{gconv.h}. The following text will
|
in the non-standard header @file{gconv.h}. The following text will
|
||||||
therefore describe the definitions from this header file. But first it
|
therefore describe the definitions from this header file. But first it
|
||||||
is necessary to get an overview.
|
is necessary to get an overview.
|
||||||
@ -2411,13 +2411,13 @@ the GNU C library also use the @code{iconv} functionality which
|
|||||||
increases the number of uses of the same functions even more.
|
increases the number of uses of the same functions even more.
|
||||||
|
|
||||||
For this reason the modules do not get loaded exclusively for one
|
For this reason the modules do not get loaded exclusively for one
|
||||||
conversion. Instead a module once loaded can be used by arbitrary many
|
conversion. Instead a module once loaded can be used by arbitrarily many
|
||||||
@code{iconv} or @code{mbsrtowcs} calls at the same time. The splitting
|
@code{iconv} or @code{mbsrtowcs} calls at the same time. The splitting
|
||||||
of the information between conversion function specific information and
|
of the information between conversion function specific information and
|
||||||
conversion data makes this possible. The last section showed the two
|
conversion data makes this possible. The last section showed the two
|
||||||
data structure used to do this.
|
data structures used to do this.
|
||||||
|
|
||||||
This is of course also reflected in the interface and semantic of the
|
This is of course also reflected in the interface and semantics of the
|
||||||
functions the modules must provide. There are three functions which
|
functions the modules must provide. There are three functions which
|
||||||
must have the following names:
|
must have the following names:
|
||||||
|
|
||||||
|
@ -26,10 +26,10 @@ functions with names that smaller ones reserve to the user program. This
|
|||||||
is not mere pedantry --- it has been a problem in practice. For instance,
|
is not mere pedantry --- it has been a problem in practice. For instance,
|
||||||
some non-GNU programs define functions named @code{getline} that have
|
some non-GNU programs define functions named @code{getline} that have
|
||||||
nothing to do with this library's @code{getline}. They would not be
|
nothing to do with this library's @code{getline}. They would not be
|
||||||
compilable if all features were enabled indescriminantly.
|
compilable if all features were enabled indiscriminately.
|
||||||
|
|
||||||
This should not be used to verify that a program conforms to a limited
|
This should not be used to verify that a program conforms to a limited
|
||||||
standard. It is insufficent for this purpose, as it will not protect you
|
standard. It is insufficient for this purpose, as it will not protect you
|
||||||
from including header files outside the standard, or relying on semantics
|
from including header files outside the standard, or relying on semantics
|
||||||
undefined within the standard.
|
undefined within the standard.
|
||||||
|
|
||||||
|
@ -30,7 +30,7 @@ const char *argp_program_bug_address =
|
|||||||
static char doc[] =
|
static char doc[] =
|
||||||
"Argp example #2 -- a pretty minimal program using argp";
|
"Argp example #2 -- a pretty minimal program using argp";
|
||||||
|
|
||||||
/* Our argpument parser. The @code{options}, @code{parser}, and
|
/* Our argument parser. The @code{options}, @code{parser}, and
|
||||||
@code{args_doc} fields are zero because we have neither options or
|
@code{args_doc} fields are zero because we have neither options or
|
||||||
arguments; @code{doc} and @code{argp_program_bug_address} will be
|
arguments; @code{doc} and @code{argp_program_bug_address} will be
|
||||||
used in the output for @samp{--help}, and the @samp{--version}
|
used in the output for @samp{--help}, and the @samp{--version}
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
a special key specifying something else; the only
|
a special key specifying something else; the only
|
||||||
special keys we use here are ARGP_KEY_ARG, meaning
|
special keys we use here are ARGP_KEY_ARG, meaning
|
||||||
a non-option argument, and ARGP_KEY_END, meaning
|
a non-option argument, and ARGP_KEY_END, meaning
|
||||||
that all argumens have been parsed
|
that all arguments have been parsed
|
||||||
ARG -- For an option KEY, the string value of its
|
ARG -- For an option KEY, the string value of its
|
||||||
argument, or NULL if it has none
|
argument, or NULL if it has none
|
||||||
STATE-- A pointer to a struct argp_state, containing
|
STATE-- A pointer to a struct argp_state, containing
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
is longer, describing the behavior in more detail. All
|
is longer, describing the behavior in more detail. All
|
||||||
documentation strings are automatically filled for output,
|
documentation strings are automatically filled for output,
|
||||||
although newlines may be included to force a line break at a
|
although newlines may be included to force a line break at a
|
||||||
particular point. All documenation strings are also passed to
|
particular point. All documentation strings are also passed to
|
||||||
the `gettext' function, for possible translation into the
|
the `gettext' function, for possible translation into the
|
||||||
current locale. */
|
current locale. */
|
||||||
|
|
||||||
|
@ -28,7 +28,7 @@ make_named_socket (const char *filename)
|
|||||||
the offset of the start of the filename,
|
the offset of the start of the filename,
|
||||||
plus its length,
|
plus its length,
|
||||||
plus one for the terminating null byte.
|
plus one for the terminating null byte.
|
||||||
Alternativly you can just do:
|
Alternatively you can just do:
|
||||||
size = SUN_LEN (&name);
|
size = SUN_LEN (&name);
|
||||||
*/
|
*/
|
||||||
size = (offsetof (struct sockaddr_un, sun_path)
|
size = (offsetof (struct sockaddr_un, sun_path)
|
||||||
|
@ -40,7 +40,7 @@ directly.)
|
|||||||
or vice-versa.
|
or vice-versa.
|
||||||
* Stream/Descriptor Precautions:: Precautions needed if you use both
|
* Stream/Descriptor Precautions:: Precautions needed if you use both
|
||||||
descriptors and streams.
|
descriptors and streams.
|
||||||
* Scatter-Gather:: Fast I/O to discontinous buffers.
|
* Scatter-Gather:: Fast I/O to discontinuous buffers.
|
||||||
* Memory-mapped I/O:: Using files like memory.
|
* Memory-mapped I/O:: Using files like memory.
|
||||||
* Waiting for I/O:: How to check for input or output
|
* Waiting for I/O:: How to check for input or output
|
||||||
on multiple file descriptors.
|
on multiple file descriptors.
|
||||||
@ -1148,7 +1148,7 @@ Error Signals}).
|
|||||||
|
|
||||||
Note that most hardware designs cannot support write permission without
|
Note that most hardware designs cannot support write permission without
|
||||||
read permission, and many do not distinguish read and execute permission.
|
read permission, and many do not distinguish read and execute permission.
|
||||||
Thus, you may recieve wider permissions than you ask for, and mappings of
|
Thus, you may receive wider permissions than you ask for, and mappings of
|
||||||
write-only files may be denied even if you do not use @code{PROT_READ}.
|
write-only files may be denied even if you do not use @code{PROT_READ}.
|
||||||
|
|
||||||
@var{flags} contains flags that control the nature of the map.
|
@var{flags} contains flags that control the nature of the map.
|
||||||
@ -1192,7 +1192,7 @@ Anonymous maps are used as the basic primitive to extend the heap on some
|
|||||||
systems. They are also useful to share data between multiple tasks
|
systems. They are also useful to share data between multiple tasks
|
||||||
without creating a file.
|
without creating a file.
|
||||||
|
|
||||||
On some systems using private anonymous mmaps is more efficent than using
|
On some systems using private anonymous mmaps is more efficient than using
|
||||||
@code{malloc} for large blocks. This is not an issue with the GNU C library,
|
@code{malloc} for large blocks. This is not an issue with the GNU C library,
|
||||||
as the included @code{malloc} automatically uses @code{mmap} where appropriate.
|
as the included @code{malloc} automatically uses @code{mmap} where appropriate.
|
||||||
|
|
||||||
@ -1270,8 +1270,8 @@ aligned.
|
|||||||
|
|
||||||
When using shared mappings, the kernel can write the file at any time
|
When using shared mappings, the kernel can write the file at any time
|
||||||
before the mapping is removed. To be certain data has actually been
|
before the mapping is removed. To be certain data has actually been
|
||||||
written to the file and will be accessable to non-memory-mapped I/O, it
|
written to the file and will be accessible to non-memory-mapped I/O, it
|
||||||
is neccessary to use this function.
|
is necessary to use this function.
|
||||||
|
|
||||||
It operates on the region @var{address} to (@var{address} + @var{length}).
|
It operates on the region @var{address} to (@var{address} + @var{length}).
|
||||||
It may be used on part of a mapping or multiple mappings, however the
|
It may be used on part of a mapping or multiple mappings, however the
|
||||||
@ -1579,7 +1579,7 @@ until the program ends. To avoid this, calls to @code{fsync} should be
|
|||||||
protected using cancellation handlers.
|
protected using cancellation handlers.
|
||||||
@c ref pthread_cleanup_push / pthread_cleanup_pop
|
@c ref pthread_cleanup_push / pthread_cleanup_pop
|
||||||
|
|
||||||
The return value of the function is zero if no error occured. Otherwise
|
The return value of the function is zero if no error occurred. Otherwise
|
||||||
it is @math{-1} and the global variable @var{errno} is set to the
|
it is @math{-1} and the global variable @var{errno} is set to the
|
||||||
following values:
|
following values:
|
||||||
@table @code
|
@table @code
|
||||||
@ -1612,7 +1612,7 @@ required by @code{fdatasyn}.
|
|||||||
|
|
||||||
The prototype for @code{fdatasync} is in @file{unistd.h}.
|
The prototype for @code{fdatasync} is in @file{unistd.h}.
|
||||||
|
|
||||||
The return value of the function is zero if no error occured. Otherwise
|
The return value of the function is zero if no error occurred. Otherwise
|
||||||
it is @math{-1} and the global variable @var{errno} is set to the
|
it is @math{-1} and the global variable @var{errno} is set to the
|
||||||
following values:
|
following values:
|
||||||
@table @code
|
@table @code
|
||||||
@ -1836,7 +1836,7 @@ might also be signaled asynchronously.
|
|||||||
@item EINVAL
|
@item EINVAL
|
||||||
The @code{aiocbp->aio_offset} or @code{aiocbp->aio_reqpiro} value is
|
The @code{aiocbp->aio_offset} or @code{aiocbp->aio_reqpiro} value is
|
||||||
invalid. This condition need not be recognized before enqueueing the
|
invalid. This condition need not be recognized before enqueueing the
|
||||||
request and so this error might also be signaled asynchrously.
|
request and so this error might also be signaled asynchronously.
|
||||||
@end table
|
@end table
|
||||||
|
|
||||||
If @code{aio_read} returns zero, the current status of the request
|
If @code{aio_read} returns zero, the current status of the request
|
||||||
|
@ -267,7 +267,7 @@ hashing table used through the whole program. The table is allocated
|
|||||||
in local memory out of control of the programmer. As an extension the
|
in local memory out of control of the programmer. As an extension the
|
||||||
GNU C library provides an additional set of functions with an reentrant
|
GNU C library provides an additional set of functions with an reentrant
|
||||||
interface which provide a similar interface but which allow to keep
|
interface which provide a similar interface but which allow to keep
|
||||||
arbitrary many hashing tables.
|
arbitrarily many hashing tables.
|
||||||
|
|
||||||
It is possible to use more than one hashing table in the program run if
|
It is possible to use more than one hashing table in the program run if
|
||||||
the former table is first destroyed by a call to @code{hdestroy}.
|
the former table is first destroyed by a call to @code{hdestroy}.
|
||||||
@ -390,7 +390,7 @@ entry in the table is not the return value of the functions. It is
|
|||||||
returned by storing it in a pointer variables pointed to by the
|
returned by storing it in a pointer variables pointed to by the
|
||||||
@var{retval} parameter. The return value of the function is an integer
|
@var{retval} parameter. The return value of the function is an integer
|
||||||
value indicating success if it is non-zero and failure if it is zero.
|
value indicating success if it is non-zero and failure if it is zero.
|
||||||
In the later case the global variable @var{errno} signals the reason for
|
In the latter case the global variable @var{errno} signals the reason for
|
||||||
the failure.
|
the failure.
|
||||||
|
|
||||||
@table @code
|
@table @code
|
||||||
|
@ -1772,7 +1772,7 @@ that the status cannot change in the middle of accessing it. Once
|
|||||||
@code{p->have_status} is set, it means that the child process is stopped
|
@code{p->have_status} is set, it means that the child process is stopped
|
||||||
or terminated, and in either case, it cannot stop or terminate again
|
or terminated, and in either case, it cannot stop or terminate again
|
||||||
until the program has taken notice. @xref{Atomic Usage}, for more
|
until the program has taken notice. @xref{Atomic Usage}, for more
|
||||||
information about coping with interruptions during accessings of a
|
information about coping with interruptions during accesses of a
|
||||||
variable.
|
variable.
|
||||||
|
|
||||||
Here is another way you can test whether the handler has run since the
|
Here is another way you can test whether the handler has run since the
|
||||||
|
@ -1321,7 +1321,7 @@ numbers are represented is the form
|
|||||||
@w{[@code{-}]@code{0x}@var{h}@code{.}@var{hhh}@code{p}[@code{+}|@code{-}]@var{dd}}.
|
@w{[@code{-}]@code{0x}@var{h}@code{.}@var{hhh}@code{p}[@code{+}|@code{-}]@var{dd}}.
|
||||||
At the left of the decimal-point character exactly one digit is print.
|
At the left of the decimal-point character exactly one digit is print.
|
||||||
This character is only @code{0} if the number is denormalized.
|
This character is only @code{0} if the number is denormalized.
|
||||||
Otherwise the value is unspecified; it is implemention dependent how many
|
Otherwise the value is unspecified; it is implementation dependent how many
|
||||||
bits are used. The number of hexadecimal digits on the right side of
|
bits are used. The number of hexadecimal digits on the right side of
|
||||||
the decimal-point character is equal to the precision. If the precision
|
the decimal-point character is equal to the precision. If the precision
|
||||||
is zero it is determined to be large enough to provide an exact
|
is zero it is determined to be large enough to provide an exact
|
||||||
|
@ -491,7 +491,7 @@ common example:
|
|||||||
@cindex __va_copy
|
@cindex __va_copy
|
||||||
@cindex va_copy
|
@cindex va_copy
|
||||||
@smallexample
|
@smallexample
|
||||||
/* @r{This function concats arbitrary many strings. The last}
|
/* @r{This function concatenates arbitrarily many strings. The last}
|
||||||
@r{parameter must be @code{NULL}.} */
|
@r{parameter must be @code{NULL}.} */
|
||||||
char *
|
char *
|
||||||
concat (const char *str, ...)
|
concat (const char *str, ...)
|
||||||
@ -536,7 +536,7 @@ bytes for the end of the string so that we can append the next string.
|
|||||||
For all strings in total the comparisons necessary to find the end of
|
For all strings in total the comparisons necessary to find the end of
|
||||||
the intermediate results sums up to 5500! If we combine the copying
|
the intermediate results sums up to 5500! If we combine the copying
|
||||||
with the search for the allocation we can write this function more
|
with the search for the allocation we can write this function more
|
||||||
efficent:
|
efficient:
|
||||||
|
|
||||||
@smallexample
|
@smallexample
|
||||||
char *
|
char *
|
||||||
@ -1575,7 +1575,7 @@ the same elements, which is returned in @var{argz} and @var{argz_len}.
|
|||||||
@deftypefun {error_t} argz_create_sep (const char *@var{string}, int @var{sep}, char **@var{argz}, size_t *@var{argz_len})
|
@deftypefun {error_t} argz_create_sep (const char *@var{string}, int @var{sep}, char **@var{argz}, size_t *@var{argz_len})
|
||||||
The @code{argz_create_sep} function converts the null-terminated string
|
The @code{argz_create_sep} function converts the null-terminated string
|
||||||
@var{string} into an argz vector (returned in @var{argz} and
|
@var{string} into an argz vector (returned in @var{argz} and
|
||||||
@var{argz_len}) by splitting it into elements at every occurance of the
|
@var{argz_len}) by splitting it into elements at every occurrence of the
|
||||||
character @var{sep}.
|
character @var{sep}.
|
||||||
@end deftypefun
|
@end deftypefun
|
||||||
|
|
||||||
@ -1625,7 +1625,7 @@ argz vector @code{*@var{argz}}, and updates @code{*@var{argz}} and
|
|||||||
@comment GNU
|
@comment GNU
|
||||||
@deftypefun {error_t} argz_add_sep (char **@var{argz}, size_t *@var{argz_len}, const char *@var{str}, int @var{delim})
|
@deftypefun {error_t} argz_add_sep (char **@var{argz}, size_t *@var{argz_len}, const char *@var{str}, int @var{delim})
|
||||||
The @code{argz_add_sep} function is similar to @code{argz_add}, but
|
The @code{argz_add_sep} function is similar to @code{argz_add}, but
|
||||||
@var{str} is split into separate elements in the result at occurances of
|
@var{str} is split into separate elements in the result at occurrences of
|
||||||
the character @var{delim}. This is useful, for instance, for
|
the character @var{delim}. This is useful, for instance, for
|
||||||
adding the components of a Unix search path to an argz vector, by using
|
adding the components of a Unix search path to an argz vector, by using
|
||||||
a value of @code{':'} for @var{delim}.
|
a value of @code{':'} for @var{delim}.
|
||||||
@ -1700,7 +1700,7 @@ invariant is maintained for argz vectors created by the functions here.
|
|||||||
@comment argz.h
|
@comment argz.h
|
||||||
@comment GNU
|
@comment GNU
|
||||||
@deftypefun error_t argz_replace (@w{char **@var{argz}, size_t *@var{argz_len}}, @w{const char *@var{str}, const char *@var{with}}, @w{unsigned *@var{replace_count}})
|
@deftypefun error_t argz_replace (@w{char **@var{argz}, size_t *@var{argz_len}}, @w{const char *@var{str}, const char *@var{with}}, @w{unsigned *@var{replace_count}})
|
||||||
Replace any occurances of the string @var{str} in @var{argz} with
|
Replace any occurrences of the string @var{str} in @var{argz} with
|
||||||
@var{with}, reallocating @var{argz} as necessary. If
|
@var{with}, reallocating @var{argz} as necessary. If
|
||||||
@var{replace_count} is non-zero, @code{*@var{replace_count}} will be
|
@var{replace_count} is non-zero, @code{*@var{replace_count}} will be
|
||||||
incremented by number of replacements performed.
|
incremented by number of replacements performed.
|
||||||
|
@ -420,7 +420,7 @@ to rely on these macros but to be consistent here is the list:
|
|||||||
@vtable @code
|
@vtable @code
|
||||||
@item MNTOPT_DEFAULTS
|
@item MNTOPT_DEFAULTS
|
||||||
Expands to @code{"defaults"}. This option should be used alone since it
|
Expands to @code{"defaults"}. This option should be used alone since it
|
||||||
indicates all values for the custumizable values are chosen to be the
|
indicates all values for the customizable values are chosen to be the
|
||||||
default.
|
default.
|
||||||
@item MNTOPT_RO
|
@item MNTOPT_RO
|
||||||
Expands to @code{"ro"}. See the @code{FSTAB_RO} value, it means the
|
Expands to @code{"ro"}. See the @code{FSTAB_RO} value, it means the
|
||||||
|
@ -1482,7 +1482,7 @@ pointed to by the elements of the result structure.
|
|||||||
If a user with ID @var{uid} is found, the pointer returned in
|
If a user with ID @var{uid} is found, the pointer returned in
|
||||||
@var{result} points to the record which contains the wanted data (i.e.,
|
@var{result} points to the record which contains the wanted data (i.e.,
|
||||||
@var{result} contains the value @var{result_buf}). If no user is found
|
@var{result} contains the value @var{result_buf}). If no user is found
|
||||||
or if an error occured, the pointer returned in @var{result} is a null
|
or if an error occurred, the pointer returned in @var{result} is a null
|
||||||
pointer. The function returns zero or an error code. If the buffer
|
pointer. The function returns zero or an error code. If the buffer
|
||||||
@var{buffer} is too small to contain all the needed information, the
|
@var{buffer} is too small to contain all the needed information, the
|
||||||
error code @code{ERANGE} is returned and @var{errno} is set to
|
error code @code{ERANGE} is returned and @var{errno} is set to
|
||||||
@ -1695,7 +1695,7 @@ pointed to by the elements of the result structure.
|
|||||||
If a group with ID @var{gid} is found, the pointer returned in
|
If a group with ID @var{gid} is found, the pointer returned in
|
||||||
@var{result} points to the record which contains the wanted data (i.e.,
|
@var{result} points to the record which contains the wanted data (i.e.,
|
||||||
@var{result} contains the value @var{result_buf}). If no group is found
|
@var{result} contains the value @var{result_buf}). If no group is found
|
||||||
or if an error occured, the pointer returned in @var{result} is a null
|
or if an error occurred, the pointer returned in @var{result} is a null
|
||||||
pointer. The function returns zero or an error code. If the buffer
|
pointer. The function returns zero or an error code. If the buffer
|
||||||
@var{buffer} is too small to contain all the needed information, the
|
@var{buffer} is too small to contain all the needed information, the
|
||||||
error code @code{ERANGE} is returned and @var{errno} is set to
|
error code @code{ERANGE} is returned and @var{errno} is set to
|
||||||
|
@ -392,7 +392,7 @@ main (void)
|
|||||||
|
|
||||||
if (count_errors)
|
if (count_errors)
|
||||||
{
|
{
|
||||||
printf ("\n%d errors occured.\n", count_errors);
|
printf ("\n%d errors occurred.\n", count_errors);
|
||||||
exit (1);
|
exit (1);
|
||||||
}
|
}
|
||||||
printf ("\n All tests passed successfully.\n");
|
printf ("\n All tests passed successfully.\n");
|
||||||
|
@ -174,7 +174,7 @@ nscd_gethst_r (const char *key, size_t keylen, request_type type,
|
|||||||
char *ignore;
|
char *ignore;
|
||||||
int n;
|
int n;
|
||||||
|
|
||||||
/* A first check whether the buffer is sufficently large is possible. */
|
/* A first check whether the buffer is sufficiently large is possible. */
|
||||||
/* Now allocate the buffer the array for the group members. We must
|
/* Now allocate the buffer the array for the group members. We must
|
||||||
align the pointer and the base of the h_addr_list pointers. */
|
align the pointer and the base of the h_addr_list pointers. */
|
||||||
align1 = ((__alignof__ (char *) - (cp - ((char *) 0)))
|
align1 = ((__alignof__ (char *) - (cp - ((char *) 0)))
|
||||||
|
@ -41,7 +41,7 @@
|
|||||||
#include "nss.h"
|
#include "nss.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
The following define is neccessary for glibc 2.0.6
|
The following define is necessary for glibc 2.0.6
|
||||||
*/
|
*/
|
||||||
#ifndef INET6_ADDRSTRLEN
|
#ifndef INET6_ADDRSTRLEN
|
||||||
# define INET6_ADDRSTRLEN 46
|
# define INET6_ADDRSTRLEN 46
|
||||||
@ -362,9 +362,9 @@ main (void)
|
|||||||
test_services ();
|
test_services ();
|
||||||
|
|
||||||
if (error_count)
|
if (error_count)
|
||||||
printf ("\n %d errors occured!\n", error_count);
|
printf ("\n %d errors occurred!\n", error_count);
|
||||||
else
|
else
|
||||||
printf ("No visible errors occured!\n");
|
printf ("No visible errors occurred!\n");
|
||||||
|
|
||||||
exit (error_count);
|
exit (error_count);
|
||||||
}
|
}
|
||||||
|
@ -6008,7 +6008,7 @@ regcomp (preg, pattern, cflags)
|
|||||||
buffer. */
|
buffer. */
|
||||||
if (re_compile_fastmap (preg) == -2)
|
if (re_compile_fastmap (preg) == -2)
|
||||||
{
|
{
|
||||||
/* Some error occured while computing the fastmap, just forget
|
/* Some error occurred while computing the fastmap, just forget
|
||||||
about it. */
|
about it. */
|
||||||
free (preg->fastmap);
|
free (preg->fastmap);
|
||||||
preg->fastmap = NULL;
|
preg->fastmap = NULL;
|
||||||
|
@ -38,7 +38,7 @@ sub usage {
|
|||||||
sub installation_problem {
|
sub installation_problem {
|
||||||
print "The script has found some problems with your installation!\n";
|
print "The script has found some problems with your installation!\n";
|
||||||
print "Please read the FAQ and the README file and check the following:\n";
|
print "Please read the FAQ and the README file and check the following:\n";
|
||||||
print "- Did you change the gcc specs file (neccessary after upgrading from\n";
|
print "- Did you change the gcc specs file (necessary after upgrading from\n";
|
||||||
print " Linux libc5)?\n";
|
print " Linux libc5)?\n";
|
||||||
print "- Are there any symbolic links of the form libXXX.so to old libraries?\n";
|
print "- Are there any symbolic links of the form libXXX.so to old libraries?\n";
|
||||||
print " Links like libm.so -> libm.so.5 (where libm.so.5 is an old library) are wrong,\n";
|
print " Links like libm.so -> libm.so.5 (where libm.so.5 is an old library) are wrong,\n";
|
||||||
|
@ -48,7 +48,7 @@ canonicalize (const char *name, char *resolved)
|
|||||||
{
|
{
|
||||||
/* As per Single Unix Specification V2 we must return an error if
|
/* As per Single Unix Specification V2 we must return an error if
|
||||||
either parameter is a null pointer. We extend this to allow
|
either parameter is a null pointer. We extend this to allow
|
||||||
the RESOLVED parameter be NULL in case the we are expected to
|
the RESOLVED parameter to be NULL in case the we are expected to
|
||||||
allocate the room for the return value. */
|
allocate the room for the return value. */
|
||||||
__set_errno (EINVAL);
|
__set_errno (EINVAL);
|
||||||
return NULL;
|
return NULL;
|
||||||
|
@ -155,7 +155,7 @@ fmtmsg (long int classification, const char *label, int severity,
|
|||||||
do_action ? action : "",
|
do_action ? action : "",
|
||||||
do_action && do_tag ? " " : "",
|
do_action && do_tag ? " " : "",
|
||||||
do_tag ? tag : "") == EOF)
|
do_tag ? tag : "") == EOF)
|
||||||
/* Oh, oh. An error occured during the output. */
|
/* Oh, oh. An error occurred during the output. */
|
||||||
result = MM_NOMSG;
|
result = MM_NOMSG;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -43,7 +43,7 @@ str_append (char **to, size_t *to_len, const char *buf, const size_t buf_len)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Replace any occurances of the string STR in ARGZ with WITH, reallocating
|
/* Replace any occurrences of the string STR in ARGZ with WITH, reallocating
|
||||||
ARGZ as necessary. If REPLACE_COUNT is non-zero, *REPLACE_COUNT will be
|
ARGZ as necessary. If REPLACE_COUNT is non-zero, *REPLACE_COUNT will be
|
||||||
incremented by number of replacements performed. */
|
incremented by number of replacements performed. */
|
||||||
error_t
|
error_t
|
||||||
|
@ -123,7 +123,7 @@ extern error_t argz_insert (char **__restrict __argz,
|
|||||||
char *__restrict __before,
|
char *__restrict __before,
|
||||||
__const char *__restrict __entry) __THROW;
|
__const char *__restrict __entry) __THROW;
|
||||||
|
|
||||||
/* Replace any occurances of the string STR in ARGZ with WITH, reallocating
|
/* Replace any occurrences of the string STR in ARGZ with WITH, reallocating
|
||||||
ARGZ as necessary. If REPLACE_COUNT is non-zero, *REPLACE_COUNT will be
|
ARGZ as necessary. If REPLACE_COUNT is non-zero, *REPLACE_COUNT will be
|
||||||
incremented by number of replacements performed. */
|
incremented by number of replacements performed. */
|
||||||
extern error_t __argz_replace (char **__restrict __argz,
|
extern error_t __argz_replace (char **__restrict __argz,
|
||||||
|
@ -37,7 +37,7 @@
|
|||||||
to make sure we don't get redefinitions.
|
to make sure we don't get redefinitions.
|
||||||
|
|
||||||
We must use here macros instead of inline functions since the
|
We must use here macros instead of inline functions since the
|
||||||
trick won't work with the later. */
|
trick won't work with the latter. */
|
||||||
|
|
||||||
#ifndef __STRING_INLINE
|
#ifndef __STRING_INLINE
|
||||||
# ifdef __cplusplus
|
# ifdef __cplusplus
|
||||||
|
@ -511,7 +511,7 @@ glob (pattern, flags, errfunc, pglob)
|
|||||||
#endif /* __MSDOS__ || WINDOWS32 */
|
#endif /* __MSDOS__ || WINDOWS32 */
|
||||||
if (filename == NULL)
|
if (filename == NULL)
|
||||||
{
|
{
|
||||||
/* This can mean two things: a simple name or "~name". The later
|
/* This can mean two things: a simple name or "~name". The latter
|
||||||
case is nothing but a notation for a directory. */
|
case is nothing but a notation for a directory. */
|
||||||
if ((flags & (GLOB_TILDE|GLOB_TILDE_CHECK)) && pattern[0] == '~')
|
if ((flags & (GLOB_TILDE|GLOB_TILDE_CHECK)) && pattern[0] == '~')
|
||||||
{
|
{
|
||||||
|
@ -66,7 +66,7 @@ __libc_lock_define_initialized (static, envlock)
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* In the GNU C library implementation we try to be more clever and
|
/* In the GNU C library implementation we try to be more clever and
|
||||||
allow arbitrary many changes of the environment given that the used
|
allow arbitrarily many changes of the environment given that the used
|
||||||
values are from a small set. Outside glibc this will eat up all
|
values are from a small set. Outside glibc this will eat up all
|
||||||
memory after a while. */
|
memory after a while. */
|
||||||
#if defined _LIBC || (defined HAVE_SEARCH_H && defined HAVE_TSEARCH \
|
#if defined _LIBC || (defined HAVE_SEARCH_H && defined HAVE_TSEARCH \
|
||||||
|
@ -53,7 +53,7 @@ ENTRY (memcmp)
|
|||||||
or not depending on last subtraction. */
|
or not depending on last subtraction. */
|
||||||
|
|
||||||
/* At this point %eax == 0, if the byte of block #1 was bigger, and
|
/* At this point %eax == 0, if the byte of block #1 was bigger, and
|
||||||
0xffffffff if the last byte of block #2 was bigger. The later
|
0xffffffff if the last byte of block #2 was bigger. The latter
|
||||||
case is already correct but the former needs a little adjustment.
|
case is already correct but the former needs a little adjustment.
|
||||||
Note that the following operation does not change 0xffffffff. */
|
Note that the following operation does not change 0xffffffff. */
|
||||||
orb $1, %al /* Change 0 to 1. */
|
orb $1, %al /* Change 0 to 1. */
|
||||||
|
@ -79,7 +79,7 @@ waitid (idtype, id, infop, options)
|
|||||||
{
|
{
|
||||||
/* The WHOHANG bit in OPTIONS is set and there are children available
|
/* The WHOHANG bit in OPTIONS is set and there are children available
|
||||||
but none has a status for us. The XPG docs do not mention this
|
but none has a status for us. The XPG docs do not mention this
|
||||||
case so we clear the `siginfo_t' struct and return succesfully. */
|
case so we clear the `siginfo_t' struct and return successfully. */
|
||||||
infop->si_signo = 0;
|
infop->si_signo = 0;
|
||||||
infop->si_code = 0;
|
infop->si_code = 0;
|
||||||
return 0;
|
return 0;
|
||||||
|
@ -513,7 +513,7 @@ tz_compute (tm)
|
|||||||
|| ! compute_change (&tz_rules[1], 1900 + tm->tm_year))
|
|| ! compute_change (&tz_rules[1], 1900 + tm->tm_year))
|
||||||
return 0;
|
return 0;
|
||||||
/* We have to distinguish between northern and southern hemisphere.
|
/* We have to distinguish between northern and southern hemisphere.
|
||||||
For the later the daylight saving time ends in the next year.
|
For the latter the daylight saving time ends in the next year.
|
||||||
It is easier to detect this after first computing the time for the
|
It is easier to detect this after first computing the time for the
|
||||||
wrong year since now we simply can compare the times to switch. */
|
wrong year since now we simply can compare the times to switch. */
|
||||||
if (tz_rules[0].change > tz_rules[1].change
|
if (tz_rules[0].change > tz_rules[1].change
|
||||||
|
Loading…
Reference in New Issue
Block a user