mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-01 12:20:26 +02:00
Merge branch 'main' into compile-to-js-merge
This commit is contained in:
commit
204cb98646
370 changed files with 7622 additions and 4772 deletions
|
@ -63,10 +63,12 @@ SOURCES = \
|
||||||
language/tree-il/effects.scm \
|
language/tree-il/effects.scm \
|
||||||
language/tree-il/eta-expand.scm \
|
language/tree-il/eta-expand.scm \
|
||||||
language/tree-il/fix-letrec.scm \
|
language/tree-il/fix-letrec.scm \
|
||||||
|
language/tree-il/inlinable-exports.scm \
|
||||||
language/tree-il/letrectify.scm \
|
language/tree-il/letrectify.scm \
|
||||||
language/tree-il/optimize.scm \
|
language/tree-il/optimize.scm \
|
||||||
language/tree-il/peval.scm \
|
language/tree-il/peval.scm \
|
||||||
language/tree-il/primitives.scm \
|
language/tree-il/primitives.scm \
|
||||||
|
language/tree-il/resolve-free-vars.scm \
|
||||||
language/tree-il/spec.scm \
|
language/tree-il/spec.scm \
|
||||||
\
|
\
|
||||||
language/scheme/spec.scm \
|
language/scheme/spec.scm \
|
||||||
|
|
|
@ -35,12 +35,14 @@
|
||||||
eval 'exec perl -wSx "$0" "$@"'
|
eval 'exec perl -wSx "$0" "$@"'
|
||||||
if 0;
|
if 0;
|
||||||
|
|
||||||
my $VERSION = '2020-05-10 16:13'; # UTC
|
my $VERSION = '2021-08-04 09:17'; # UTC
|
||||||
# The definition above must lie within the first 8 lines in order
|
# The definition above must lie within the first 8 lines in order
|
||||||
# for the Emacs time-stamp write hook (at end) to update it.
|
# for the Emacs time-stamp write hook (at end) to update it.
|
||||||
# If you change this file with Emacs, please let the write hook
|
# If you change this file with Emacs, please let the write hook
|
||||||
# do its job. Otherwise, update this string manually.
|
# do its job. Otherwise, update this string manually.
|
||||||
|
|
||||||
|
my $copyright_year = '2021';
|
||||||
|
|
||||||
use strict;
|
use strict;
|
||||||
use Getopt::Long;
|
use Getopt::Long;
|
||||||
use POSIX qw(strftime);
|
use POSIX qw(strftime);
|
||||||
|
@ -49,12 +51,6 @@ use POSIX qw(strftime);
|
||||||
|
|
||||||
my %valid_release_types = map {$_ => 1} qw (alpha beta stable);
|
my %valid_release_types = map {$_ => 1} qw (alpha beta stable);
|
||||||
my @archive_suffixes = qw (tar.gz tar.bz2 tar.lz tar.lzma tar.xz);
|
my @archive_suffixes = qw (tar.gz tar.bz2 tar.lz tar.lzma tar.xz);
|
||||||
my %digest_classes =
|
|
||||||
(
|
|
||||||
'md5' => (eval { require Digest::MD5; } and 'Digest::MD5'),
|
|
||||||
'sha1' => ((eval { require Digest::SHA; } and 'Digest::SHA')
|
|
||||||
or (eval { require Digest::SHA1; } and 'Digest::SHA1'))
|
|
||||||
);
|
|
||||||
my $srcdir = '.';
|
my $srcdir = '.';
|
||||||
|
|
||||||
sub usage ($)
|
sub usage ($)
|
||||||
|
@ -94,7 +90,7 @@ The following are optional:
|
||||||
VERSION is the result of running git describe
|
VERSION is the result of running git describe
|
||||||
in the gnulib source directory.
|
in the gnulib source directory.
|
||||||
required if gnulib is in TOOL_LIST.
|
required if gnulib is in TOOL_LIST.
|
||||||
--no-print-checksums do not emit MD5 or SHA1 checksums
|
--no-print-checksums do not emit SHA1 or SHA256 checksums
|
||||||
--archive-suffix=SUF add SUF to the list of archive suffixes
|
--archive-suffix=SUF add SUF to the list of archive suffixes
|
||||||
--mail-headers=HEADERS a space-separated list of mail headers, e.g.,
|
--mail-headers=HEADERS a space-separated list of mail headers, e.g.,
|
||||||
To: x\@example.com Cc: y-announce\@example.com,...
|
To: x\@example.com Cc: y-announce\@example.com,...
|
||||||
|
@ -161,7 +157,7 @@ sub print_locations ($\@\%@)
|
||||||
|
|
||||||
=item C<print_checksums (@file)
|
=item C<print_checksums (@file)
|
||||||
|
|
||||||
Print the MD5 and SHA1 signature section for each C<@file>.
|
Print the SHA1 and SHA256 signature section for each C<@file>.
|
||||||
|
|
||||||
=cut
|
=cut
|
||||||
|
|
||||||
|
@ -169,23 +165,18 @@ sub print_checksums (@)
|
||||||
{
|
{
|
||||||
my (@file) = @_;
|
my (@file) = @_;
|
||||||
|
|
||||||
print "Here are the MD5 and SHA1 checksums:\n";
|
print "Here are the SHA1 and SHA256 checksums:\n";
|
||||||
print "\n";
|
print "\n";
|
||||||
|
|
||||||
foreach my $meth (qw (md5 sha1))
|
use Digest::file qw(digest_file_hex digest_file_base64);
|
||||||
{
|
|
||||||
my $class = $digest_classes{$meth} or next;
|
|
||||||
foreach my $f (@file)
|
foreach my $f (@file)
|
||||||
{
|
{
|
||||||
open IN, '<', $f
|
print digest_file_hex($f, "SHA-1"), " $f\n";
|
||||||
or die "$ME: $f: cannot open for reading: $!\n";
|
print digest_file_base64($f, "SHA-256"), " $f\n";
|
||||||
binmode IN;
|
|
||||||
my $dig = $class->new->addfile(*IN)->hexdigest;
|
|
||||||
close IN;
|
|
||||||
print "$dig $f\n";
|
|
||||||
}
|
}
|
||||||
}
|
print "\nThe SHA256 checksum is base64 encoded, instead of the\n";
|
||||||
print "\n";
|
print "hexadecimal encoding that most checksum tools default to.\n\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
=item C<print_news_deltas ($news_file, $prev_version, $curr_version)
|
=item C<print_news_deltas ($news_file, $prev_version, $curr_version)
|
||||||
|
@ -413,7 +404,19 @@ sub get_tool_versions ($$)
|
||||||
'archive-suffix=s' => \@archive_suffixes,
|
'archive-suffix=s' => \@archive_suffixes,
|
||||||
|
|
||||||
help => sub { usage 0 },
|
help => sub { usage 0 },
|
||||||
version => sub { print "$ME version $VERSION\n"; exit },
|
version =>
|
||||||
|
sub
|
||||||
|
{
|
||||||
|
print "$ME version $VERSION\n";
|
||||||
|
print "Copyright (C) $copyright_year Free Software Foundation, Inc.\n";
|
||||||
|
print "License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.\n"
|
||||||
|
. "This is free software: you are free to change and redistribute it.\n"
|
||||||
|
. "There is NO WARRANTY, to the extent permitted by law.\n";
|
||||||
|
print "\n";
|
||||||
|
my $author = "Jim Meyering";
|
||||||
|
print "Written by $author.\n";
|
||||||
|
exit
|
||||||
|
},
|
||||||
) or usage 1;
|
) or usage 1;
|
||||||
|
|
||||||
my $fail = 0;
|
my $fail = 0;
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
# gendocs.sh -- generate a GNU manual in many formats. This script is
|
# gendocs.sh -- generate a GNU manual in many formats. This script is
|
||||||
# mentioned in maintain.texi. See the help message below for usage details.
|
# mentioned in maintain.texi. See the help message below for usage details.
|
||||||
|
|
||||||
scriptversion=2021-01-01.00
|
scriptversion=2021-07-19.18
|
||||||
|
|
||||||
# Copyright 2003-2021 Free Software Foundation, Inc.
|
# Copyright 2003-2021 Free Software Foundation, Inc.
|
||||||
#
|
#
|
||||||
|
@ -58,7 +58,7 @@ EMAIL=webmasters@gnu.org # please override with --email
|
||||||
commonarg= # passed to all makeinfo/texi2html invcations.
|
commonarg= # passed to all makeinfo/texi2html invcations.
|
||||||
dirargs= # passed to all tools (-I dir).
|
dirargs= # passed to all tools (-I dir).
|
||||||
dirs= # -I directories.
|
dirs= # -I directories.
|
||||||
htmlarg="--css-ref=/software/gnulib/manual.css -c TOP_NODE_UP_URL=/manual"
|
htmlarg="--css-ref=https://www.gnu.org/software/gnulib/manual.css -c TOP_NODE_UP_URL=/manual"
|
||||||
default_htmlarg=true
|
default_htmlarg=true
|
||||||
infoarg=--no-split
|
infoarg=--no-split
|
||||||
generate_ascii=true
|
generate_ascii=true
|
||||||
|
@ -202,7 +202,7 @@ base=$PACKAGE
|
||||||
|
|
||||||
if $default_htmlarg && test -n "$use_texi2html"; then
|
if $default_htmlarg && test -n "$use_texi2html"; then
|
||||||
# The legacy texi2html doesn't support TOP_NODE_UP_URL
|
# The legacy texi2html doesn't support TOP_NODE_UP_URL
|
||||||
htmlarg="--css-ref=/software/gnulib/manual.css"
|
htmlarg="--css-ref=https://www.gnu.org/software/gnulib/manual.css"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if test -n "$srcfile"; then
|
if test -n "$srcfile"; then
|
||||||
|
|
|
@ -75,10 +75,10 @@ me=$0
|
||||||
year=`expr "$scriptversion" : '\([^-]*\)'`
|
year=`expr "$scriptversion" : '\([^-]*\)'`
|
||||||
version="git-version-gen $scriptversion
|
version="git-version-gen $scriptversion
|
||||||
|
|
||||||
Copyright $year Free Software Foundation, Inc.
|
Copyright (C) ${year} Free Software Foundation, Inc.
|
||||||
There is NO warranty. You may redistribute this software
|
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
|
||||||
under the terms of the GNU General Public License.
|
This is free software: you are free to change and redistribute it.
|
||||||
For more information about these matters, see the files named COPYING."
|
There is NO WARRANTY, to the extent permitted by law."
|
||||||
|
|
||||||
usage="\
|
usage="\
|
||||||
Usage: $me [OPTION]... \$srcdir/.tarball-version [TAG-NORMALIZATION-SED-SCRIPT]
|
Usage: $me [OPTION]... \$srcdir/.tarball-version [TAG-NORMALIZATION-SED-SCRIPT]
|
||||||
|
|
|
@ -1,13 +1,13 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# Sign files and upload them.
|
# Sign files and upload them.
|
||||||
|
|
||||||
scriptversion=2018-05-19.18; # UTC
|
scriptversion=2021-04-11.09; # UTC
|
||||||
|
|
||||||
# Copyright (C) 2004-2021 Free Software Foundation, Inc.
|
# Copyright (C) 2004-2021 Free Software Foundation, Inc.
|
||||||
#
|
#
|
||||||
# This program is free software; you can redistribute it and/or modify
|
# This program is free software; you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
# the Free Software Foundation; either version 3, or (at your option)
|
# the Free Software Foundation; either version 2, or (at your option)
|
||||||
# any later version.
|
# any later version.
|
||||||
#
|
#
|
||||||
# This program is distributed in the hope that it will be useful,
|
# This program is distributed in the hope that it will be useful,
|
||||||
|
@ -27,8 +27,8 @@ set -e
|
||||||
GPG=gpg
|
GPG=gpg
|
||||||
# Choose the proper version of gpg, so as to avoid a
|
# Choose the proper version of gpg, so as to avoid a
|
||||||
# "gpg-agent is not available in this session" error
|
# "gpg-agent is not available in this session" error
|
||||||
# when gpg-agent is version 3 but gpg is still version 1.
|
# when gpg-agent is version 2 but gpg is still version 1.
|
||||||
# FIXME-2020: remove, once all major distros ship gpg version 3 as /usr/bin/gpg
|
# FIXME-2020: remove, once all major distros ship gpg version 2 as /usr/bin/gpg
|
||||||
gpg_agent_version=`(gpg-agent --version) 2>/dev/null | sed -e '2,$d' -e 's/^[^0-9]*//'`
|
gpg_agent_version=`(gpg-agent --version) 2>/dev/null | sed -e '2,$d' -e 's/^[^0-9]*//'`
|
||||||
case "$gpg_agent_version" in
|
case "$gpg_agent_version" in
|
||||||
2.*)
|
2.*)
|
||||||
|
@ -145,6 +145,12 @@ the build-aux/ directory of the gnulib package
|
||||||
|
|
||||||
Send patches and bug reports to <bug-gnulib@gnu.org>."
|
Send patches and bug reports to <bug-gnulib@gnu.org>."
|
||||||
|
|
||||||
|
copyright_year=`echo "$scriptversion" | sed -e 's/[^0-9].*//'`
|
||||||
|
copyright="Copyright (C) ${copyright_year} Free Software Foundation, Inc.
|
||||||
|
License GPLv2+: GNU GPL version 2 or later <https://gnu.org/licenses/gpl.html>.
|
||||||
|
This is free software: you are free to change and redistribute it.
|
||||||
|
There is NO WARRANTY, to the extent permitted by law."
|
||||||
|
|
||||||
# Read local configuration file
|
# Read local configuration file
|
||||||
if test -r "$conffile"; then
|
if test -r "$conffile"; then
|
||||||
echo "$0: Reading configuration file $conffile"
|
echo "$0: Reading configuration file $conffile"
|
||||||
|
@ -209,7 +215,8 @@ while test -n "$1"; do
|
||||||
;;
|
;;
|
||||||
--version)
|
--version)
|
||||||
echo "gnupload $scriptversion"
|
echo "gnupload $scriptversion"
|
||||||
exit $?
|
echo "$copyright"
|
||||||
|
exit 0
|
||||||
;;
|
;;
|
||||||
--)
|
--)
|
||||||
shift
|
shift
|
||||||
|
|
|
@ -36,12 +36,14 @@
|
||||||
eval 'exec perl -wSx "$0" "$@"'
|
eval 'exec perl -wSx "$0" "$@"'
|
||||||
if 0;
|
if 0;
|
||||||
|
|
||||||
my $VERSION = '2020-04-04 15:07'; # UTC
|
my $VERSION = '2021-04-11 10:11'; # UTC
|
||||||
# The definition above must lie within the first 8 lines in order
|
# The definition above must lie within the first 8 lines in order
|
||||||
# for the Emacs time-stamp write hook (at end) to update it.
|
# for the Emacs time-stamp write hook (at end) to update it.
|
||||||
# If you change this file with Emacs, please let the write hook
|
# If you change this file with Emacs, please let the write hook
|
||||||
# do its job. Otherwise, update this string manually.
|
# do its job. Otherwise, update this string manually.
|
||||||
|
|
||||||
|
my $copyright_year = '2021';
|
||||||
|
|
||||||
use strict;
|
use strict;
|
||||||
use warnings;
|
use warnings;
|
||||||
use Getopt::Long;
|
use Getopt::Long;
|
||||||
|
@ -118,7 +120,19 @@ sub is_NULL ($)
|
||||||
GetOptions
|
GetOptions
|
||||||
(
|
(
|
||||||
help => sub { usage 0 },
|
help => sub { usage 0 },
|
||||||
version => sub { print "$ME version $VERSION\n"; exit },
|
version =>
|
||||||
|
sub
|
||||||
|
{
|
||||||
|
print "$ME version $VERSION\n";
|
||||||
|
print "Copyright (C) $copyright_year Free Software Foundation, Inc.\n";
|
||||||
|
print "License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.\n"
|
||||||
|
. "This is free software: you are free to change and redistribute it.\n"
|
||||||
|
. "There is NO WARRANTY, to the extent permitted by law.\n";
|
||||||
|
print "\n";
|
||||||
|
my $author = "Jim Meyering";
|
||||||
|
print "Written by $author.\n";
|
||||||
|
exit
|
||||||
|
},
|
||||||
list => \$list,
|
list => \$list,
|
||||||
'name=s@' => \@name,
|
'name=s@' => \@name,
|
||||||
) or usage 1;
|
) or usage 1;
|
||||||
|
|
|
@ -3424,6 +3424,7 @@ Like @code{scm_string_set_x}, but the index is given as a @code{size_t}.
|
||||||
@end deftypefn
|
@end deftypefn
|
||||||
|
|
||||||
@rnindex string-fill!
|
@rnindex string-fill!
|
||||||
|
@anchor{x-string-fill!}
|
||||||
@deffn {Scheme Procedure} string-fill! str chr [start [end]]
|
@deffn {Scheme Procedure} string-fill! str chr [start [end]]
|
||||||
@deffnx {C Function} scm_substring_fill_x (str, chr, start, end)
|
@deffnx {C Function} scm_substring_fill_x (str, chr, start, end)
|
||||||
@deffnx {C Function} scm_string_fill_x (str, chr)
|
@deffnx {C Function} scm_string_fill_x (str, chr)
|
||||||
|
@ -6214,12 +6215,12 @@ accessed element in the list.
|
||||||
|
|
||||||
Vectors can contain any kind of Scheme object; it is even possible to
|
Vectors can contain any kind of Scheme object; it is even possible to
|
||||||
have different types of objects in the same vector. For vectors
|
have different types of objects in the same vector. For vectors
|
||||||
containing vectors, you may wish to use arrays, instead. Note, too,
|
containing vectors, you may wish to use @ref{Arrays,arrays} instead.
|
||||||
that vectors are the special case of one dimensional non-uniform arrays
|
Note, too, that vectors are a special case of one dimensional
|
||||||
and that most array procedures operate happily on vectors
|
non-uniform arrays and that array procedures operate happily on vectors.
|
||||||
(@pxref{Arrays}).
|
|
||||||
|
|
||||||
Also see @ref{SRFI-43}, for a comprehensive vector library.
|
Also see @ref{SRFI-43}, @ref{R6RS Support}, or @ref{R7RS Support}, for
|
||||||
|
more comprehensive vector libraries.
|
||||||
|
|
||||||
@menu
|
@menu
|
||||||
* Vector Syntax:: Read syntax for vectors.
|
* Vector Syntax:: Read syntax for vectors.
|
||||||
|
@ -6349,6 +6350,7 @@ Return the contents of position @var{k} of @var{vec}.
|
||||||
@end lisp
|
@end lisp
|
||||||
@end deffn
|
@end deffn
|
||||||
|
|
||||||
|
@anchor{x-scm_c_vector_ref}
|
||||||
@deftypefn {C Function} SCM scm_c_vector_ref (SCM vec, size_t k)
|
@deftypefn {C Function} SCM scm_c_vector_ref (SCM vec, size_t k)
|
||||||
Return the contents of position @var{k} (a @code{size_t}) of
|
Return the contents of position @var{k} (a @code{size_t}) of
|
||||||
@var{vec}.
|
@var{vec}.
|
||||||
|
@ -6376,20 +6378,45 @@ The value returned by @samp{vector-set!} is unspecified.
|
||||||
@end lisp
|
@end lisp
|
||||||
@end deffn
|
@end deffn
|
||||||
|
|
||||||
|
@anchor{x-scm_c_vector_set_x}
|
||||||
@deftypefn {C Function} void scm_c_vector_set_x (SCM vec, size_t k, SCM obj)
|
@deftypefn {C Function} void scm_c_vector_set_x (SCM vec, size_t k, SCM obj)
|
||||||
Store @var{obj} in position @var{k} (a @code{size_t}) of @var{vec}.
|
Store @var{obj} in position @var{k} (a @code{size_t}) of @var{vec}.
|
||||||
@end deftypefn
|
@end deftypefn
|
||||||
|
|
||||||
@rnindex vector-fill!
|
@rnindex vector-fill!
|
||||||
@deffn {Scheme Procedure} vector-fill! vec fill
|
@anchor{x-vector-fill!}
|
||||||
|
@deffn {Scheme Procedure} vector-fill! vec fill [start [end]]
|
||||||
@deffnx {C Function} scm_vector_fill_x (vec, fill)
|
@deffnx {C Function} scm_vector_fill_x (vec, fill)
|
||||||
Store @var{fill} in every position of @var{vec}. The value
|
Store @var{fill} in every position of @var{vec} in the range
|
||||||
returned by @code{vector-fill!} is unspecified.
|
[@var{start} ... @var{end}). @var{start} defaults to 0 and @var{end}
|
||||||
|
defaults to the length of @var{vec}.
|
||||||
|
|
||||||
|
The value returned by @code{vector-fill!} is unspecified.
|
||||||
@end deffn
|
@end deffn
|
||||||
|
|
||||||
@deffn {Scheme Procedure} vector-copy vec
|
@rnindex vector-copy
|
||||||
|
@deffn {Scheme Procedure} vector-copy vec [start [end]]
|
||||||
@deffnx {C Function} scm_vector_copy (vec)
|
@deffnx {C Function} scm_vector_copy (vec)
|
||||||
Return a copy of @var{vec}.
|
Returns a freshly allocated vector containing the elements of @var{vec}
|
||||||
|
in the range [@var{start} ... @var{end}). @var{start} defaults to 0 and
|
||||||
|
@var{end} defaults to the length of @var{vec}.
|
||||||
|
@end deffn
|
||||||
|
|
||||||
|
@rnindex vector-copy!
|
||||||
|
@deffn {Scheme Procedure} vector-copy! dst at src [start [end]]
|
||||||
|
Copy the block of elements from vector @var{src} in the range
|
||||||
|
[@var{start} ... @var{end}) into vector @var{dst}, starting at position
|
||||||
|
@var{at}. @var{at} and @var{start} default to 0 and @var{end} defaults
|
||||||
|
to the length of @var{src}.
|
||||||
|
|
||||||
|
It is an error for @var{dst} to have a length less than @var{at} +
|
||||||
|
(@var{end} - @var{start}).
|
||||||
|
|
||||||
|
The order in which elements are copied is unspecified, except that if the
|
||||||
|
source and destination overlap, copying takes place as if the source is
|
||||||
|
first copied into a temporary vector and then into the destination.
|
||||||
|
|
||||||
|
The value returned by @code{vector-copy!} is unspecified.
|
||||||
@end deffn
|
@end deffn
|
||||||
|
|
||||||
@deffn {Scheme Procedure} vector-move-left! vec1 start1 end1 vec2 start2
|
@deffn {Scheme Procedure} vector-move-left! vec1 start1 end1 vec2 start2
|
||||||
|
@ -6402,6 +6429,8 @@ to @var{vec2} starting at position @var{start2}. @var{start1} and
|
||||||
Therefore, in the case where @var{vec1} and @var{vec2} refer to the
|
Therefore, in the case where @var{vec1} and @var{vec2} refer to the
|
||||||
same vector, @code{vector-move-left!} is usually appropriate when
|
same vector, @code{vector-move-left!} is usually appropriate when
|
||||||
@var{start1} is greater than @var{start2}.
|
@var{start1} is greater than @var{start2}.
|
||||||
|
|
||||||
|
The value returned by @code{vector-move-left!} is unspecified.
|
||||||
@end deffn
|
@end deffn
|
||||||
|
|
||||||
@deffn {Scheme Procedure} vector-move-right! vec1 start1 end1 vec2 start2
|
@deffn {Scheme Procedure} vector-move-right! vec1 start1 end1 vec2 start2
|
||||||
|
@ -6414,64 +6443,56 @@ to @var{vec2} starting at position @var{start2}. @var{start1} and
|
||||||
Therefore, in the case where @var{vec1} and @var{vec2} refer to the
|
Therefore, in the case where @var{vec1} and @var{vec2} refer to the
|
||||||
same vector, @code{vector-move-right!} is usually appropriate when
|
same vector, @code{vector-move-right!} is usually appropriate when
|
||||||
@var{start1} is less than @var{start2}.
|
@var{start1} is less than @var{start2}.
|
||||||
|
|
||||||
|
The value returned by @code{vector-move-right!} is unspecified.
|
||||||
@end deffn
|
@end deffn
|
||||||
|
|
||||||
@node Vector Accessing from C
|
@node Vector Accessing from C
|
||||||
@subsubsection Vector Accessing from C
|
@subsubsection Vector Accessing from C
|
||||||
|
|
||||||
A vector can be read and modified from C with the functions
|
A vector can be read and modified from C with the functions
|
||||||
@code{scm_c_vector_ref} and @code{scm_c_vector_set_x}, for example. In
|
@ref{x-scm_c_vector_ref,@code{scm_c_vector_ref}} and
|
||||||
addition to these functions, there are two more ways to access vectors
|
@ref{x-scm_c_vector_set_x,@code{scm_c_vector_set_x}}. In addition to
|
||||||
from C that might be more efficient in certain situations: you can
|
these functions, there are two other ways to access vectors from C that
|
||||||
restrict yourself to @dfn{simple vectors} and then use the very fast
|
might be more efficient in certain situations: you can use the unsafe
|
||||||
@emph{simple vector macros}; or you can use the very general framework
|
@emph{vector macros}; or you can use the general framework for accessing
|
||||||
for accessing all kinds of arrays (@pxref{Accessing Arrays from C}),
|
all kinds of arrays (@pxref{Accessing Arrays from C}), which is more
|
||||||
which is more verbose, but can deal efficiently with all kinds of
|
verbose, but can deal efficiently with all kinds of vectors (and
|
||||||
vectors (and arrays). For vectors, you can use the
|
arrays). For arrays of rank 1 whose backing store is a vector, you can
|
||||||
@code{scm_vector_elements} and @code{scm_vector_writable_elements}
|
use the @code{scm_vector_elements} and
|
||||||
functions as shortcuts.
|
@code{scm_vector_writable_elements} functions as shortcuts.
|
||||||
|
|
||||||
@deftypefn {C Function} int scm_is_simple_vector (SCM obj)
|
|
||||||
Return non-zero if @var{obj} is a simple vector, else return zero. A
|
|
||||||
simple vector is a vector that can be used with the @code{SCM_SIMPLE_*}
|
|
||||||
macros below.
|
|
||||||
|
|
||||||
The following functions are guaranteed to return simple vectors:
|
|
||||||
@code{scm_make_vector}, @code{scm_c_make_vector}, @code{scm_vector},
|
|
||||||
@code{scm_list_to_vector}.
|
|
||||||
@end deftypefn
|
|
||||||
|
|
||||||
@deftypefn {C Macro} size_t SCM_SIMPLE_VECTOR_LENGTH (SCM vec)
|
@deftypefn {C Macro} size_t SCM_SIMPLE_VECTOR_LENGTH (SCM vec)
|
||||||
Evaluates to the length of the simple vector @var{vec}. No type
|
Evaluates to the length of the vector @var{vec}. No type
|
||||||
checking is done.
|
checking is done.
|
||||||
@end deftypefn
|
@end deftypefn
|
||||||
|
|
||||||
@deftypefn {C Macro} SCM SCM_SIMPLE_VECTOR_REF (SCM vec, size_t idx)
|
@deftypefn {C Macro} SCM SCM_SIMPLE_VECTOR_REF (SCM vec, size_t idx)
|
||||||
Evaluates to the element at position @var{idx} in the simple vector
|
Evaluates to the element at position @var{idx} in the vector @var{vec}.
|
||||||
@var{vec}. No type or range checking is done.
|
No type or range checking is done.
|
||||||
@end deftypefn
|
@end deftypefn
|
||||||
|
|
||||||
@deftypefn {C Macro} void SCM_SIMPLE_VECTOR_SET (SCM vec, size_t idx, SCM val)
|
@deftypefn {C Macro} void SCM_SIMPLE_VECTOR_SET (SCM vec, size_t idx, SCM val)
|
||||||
Sets the element at position @var{idx} in the simple vector
|
Sets the element at position @var{idx} in the vector @var{vec} to
|
||||||
@var{vec} to @var{val}. No type or range checking is done.
|
@var{val}. No type or range checking is done.
|
||||||
@end deftypefn
|
@end deftypefn
|
||||||
|
|
||||||
@deftypefn {C Function} {const SCM *} scm_vector_elements (SCM vec, scm_t_array_handle *handle, size_t *lenp, ssize_t *incp)
|
@deftypefn {C Function} {const SCM *} scm_vector_elements (SCM array, scm_t_array_handle *handle, size_t *lenp, ssize_t *incp)
|
||||||
Acquire a handle for the vector @var{vec} and return a pointer to the
|
Acquire a @ref{Accessing Arrays from C,handle} for @var{array} and
|
||||||
elements of it. This pointer can only be used to read the elements of
|
return a read-only pointer to its elements. @var{array} must be either
|
||||||
@var{vec}. When @var{vec} is not a vector, an error is signaled. The
|
a vector, or an array of rank 1 whose backing store is a vector;
|
||||||
handle must eventually be released with
|
otherwise an error is signaled. The handle must eventually be released
|
||||||
@code{scm_array_handle_release}.
|
with @ref{x-scm_array_handle_release,@code{scm_array_handle_release}}.
|
||||||
|
|
||||||
The variables pointed to by @var{lenp} and @var{incp} are filled with
|
The variables pointed to by @var{lenp} and @var{incp} are filled with
|
||||||
the number of elements of the vector and the increment (number of
|
the number of elements of the array and the increment (number of
|
||||||
elements) between successive elements, respectively. Successive
|
elements) between successive elements, respectively. Successive
|
||||||
elements of @var{vec} need not be contiguous in their underlying
|
elements of @var{array} need not be contiguous in their underlying
|
||||||
``root vector'' returned here; hence the increment is not necessarily
|
``root vector'' returned here; hence the increment is not necessarily
|
||||||
equal to 1 and may well be negative too (@pxref{Shared Arrays}).
|
equal to 1 and may well be negative too (@pxref{Shared Arrays}).
|
||||||
|
|
||||||
The following example shows the typical way to use this function. It
|
The following example shows the typical way to use this function. It
|
||||||
creates a list of all elements of @var{vec} (in reverse order).
|
creates a list of all elements of @var{array} (in reverse order).
|
||||||
|
|
||||||
@example
|
@example
|
||||||
scm_t_array_handle handle;
|
scm_t_array_handle handle;
|
||||||
|
@ -6480,7 +6501,7 @@ ssize_t inc;
|
||||||
const SCM *elt;
|
const SCM *elt;
|
||||||
SCM list;
|
SCM list;
|
||||||
|
|
||||||
elt = scm_vector_elements (vec, &handle, &len, &inc);
|
elt = scm_vector_elements (array, &handle, &len, &inc);
|
||||||
list = SCM_EOL;
|
list = SCM_EOL;
|
||||||
for (i = 0; i < len; i++, elt += inc)
|
for (i = 0; i < len; i++, elt += inc)
|
||||||
list = scm_cons (*elt, list);
|
list = scm_cons (*elt, list);
|
||||||
|
@ -6489,12 +6510,12 @@ scm_array_handle_release (&handle);
|
||||||
|
|
||||||
@end deftypefn
|
@end deftypefn
|
||||||
|
|
||||||
@deftypefn {C Function} {SCM *} scm_vector_writable_elements (SCM vec, scm_t_array_handle *handle, size_t *lenp, ssize_t *incp)
|
@deftypefn {C Function} {SCM *} scm_vector_writable_elements (SCM array, scm_t_array_handle *handle, size_t *lenp, ssize_t *incp)
|
||||||
Like @code{scm_vector_elements} but the pointer can be used to modify
|
Like @code{scm_vector_elements} but the pointer can be used to modify
|
||||||
the vector.
|
the array.
|
||||||
|
|
||||||
The following example shows the typical way to use this function. It
|
The following example shows the typical way to use this function. It
|
||||||
fills a vector with @code{#t}.
|
fills an array with @code{#t}.
|
||||||
|
|
||||||
@example
|
@example
|
||||||
scm_t_array_handle handle;
|
scm_t_array_handle handle;
|
||||||
|
@ -6502,7 +6523,7 @@ size_t i, len;
|
||||||
ssize_t inc;
|
ssize_t inc;
|
||||||
SCM *elt;
|
SCM *elt;
|
||||||
|
|
||||||
elt = scm_vector_writable_elements (vec, &handle, &len, &inc);
|
elt = scm_vector_writable_elements (array, &handle, &len, &inc);
|
||||||
for (i = 0; i < len; i++, elt += inc)
|
for (i = 0; i < len; i++, elt += inc)
|
||||||
*elt = SCM_BOOL_T;
|
*elt = SCM_BOOL_T;
|
||||||
scm_array_handle_release (&handle);
|
scm_array_handle_release (&handle);
|
||||||
|
@ -6802,17 +6823,25 @@ Return is @var{bv1} equals to @var{bv2}---i.e., if they have the same
|
||||||
length and contents.
|
length and contents.
|
||||||
@end deffn
|
@end deffn
|
||||||
|
|
||||||
@deffn {Scheme Procedure} bytevector-fill! bv fill
|
@deffn {Scheme Procedure} bytevector-fill! bv fill [start [end]]
|
||||||
@deffnx {C Function} scm_bytevector_fill_x (bv, fill)
|
@deffnx {C Function} scm_bytevector_fill_x (bv, fill)
|
||||||
Fill bytevector @var{bv} with @var{fill}, a byte.
|
Fill positions [@var{start} ... @var{end}) of bytevector @var{bv} with
|
||||||
|
byte @var{fill}. @var{start} defaults to 0 and @var{end} defaults to the
|
||||||
|
length of @var{bv}.@footnote{R6RS defines @code{(bytevector-fill! bv
|
||||||
|
fill)}. Arguments @var{start} and @var{end} are a Guile extension
|
||||||
|
(cf. @ref{x-vector-fill!,@code{vector-fill!}},
|
||||||
|
@ref{x-string-fill!,@code{string-fill!}}).}
|
||||||
@end deffn
|
@end deffn
|
||||||
|
|
||||||
@deffn {Scheme Procedure} bytevector-copy! source source-start target target-start len
|
@deffn {Scheme Procedure} bytevector-copy! source source-start target target-start len
|
||||||
@deffnx {C Function} scm_bytevector_copy_x (source, source_start, target, target_start, len)
|
@deffnx {C Function} scm_bytevector_copy_x (source, source_start, target, target_start, len)
|
||||||
Copy @var{len} bytes from @var{source} into @var{target}, starting
|
Copy @var{len} bytes from @var{source} into @var{target}, starting
|
||||||
reading from @var{source-start} (a positive index within @var{source})
|
reading from @var{source-start} (a positive index within @var{source})
|
||||||
and start writing at @var{target-start}. It is permitted for the
|
and writing at @var{target-start}.
|
||||||
@var{source} and @var{target} regions to overlap.
|
|
||||||
|
It is permitted for the @var{source} and @var{target} regions to
|
||||||
|
overlap. In that case, copying takes place as if the source is first
|
||||||
|
copied into a temporary bytevector and then into the destination.
|
||||||
@end deffn
|
@end deffn
|
||||||
|
|
||||||
@deffn {Scheme Procedure} bytevector-copy bv
|
@deffn {Scheme Procedure} bytevector-copy bv
|
||||||
|
@ -7997,6 +8026,7 @@ by @var{handle} does not need to be initialized before calling this
|
||||||
function.
|
function.
|
||||||
@end deftypefn
|
@end deftypefn
|
||||||
|
|
||||||
|
@anchor{x-scm_array_handle_release}
|
||||||
@deftypefn {C Function} void scm_array_handle_release (scm_t_array_handle *handle)
|
@deftypefn {C Function} void scm_array_handle_release (scm_t_array_handle *handle)
|
||||||
End the array reservation represented by @var{handle}. After a call to
|
End the array reservation represented by @var{handle}. After a call to
|
||||||
this function, @var{handle} might be used for another reservation.
|
this function, @var{handle} might be used for another reservation.
|
||||||
|
|
|
@ -67,8 +67,8 @@ called, the arguments will be stored into the newly created location for
|
||||||
the formal variables.
|
the formal variables.
|
||||||
@item @var{variable}
|
@item @var{variable}
|
||||||
The procedure takes any number of arguments; when the procedure is
|
The procedure takes any number of arguments; when the procedure is
|
||||||
called, the sequence of actual arguments will converted into a list and
|
called, the sequence of actual arguments will be converted into a list
|
||||||
stored into the newly created location for the formal variable.
|
and stored into the newly created location for the formal variable.
|
||||||
@item (@var{variable1} @dots{} @var{variablen} . @var{variablen+1})
|
@item (@var{variable1} @dots{} @var{variablen} . @var{variablen+1})
|
||||||
If a space-delimited period precedes the last variable, then the
|
If a space-delimited period precedes the last variable, then the
|
||||||
procedure takes @var{n} or more variables where @var{n} is the number
|
procedure takes @var{n} or more variables where @var{n} is the number
|
||||||
|
|
|
@ -1734,9 +1734,9 @@ indicated kind.
|
||||||
@deftypefnx {C Function} {double *} scm_f64vector_writable_elements (SCM vec, scm_t_array_handle *handle, size_t *lenp, ssize_t *incp)
|
@deftypefnx {C Function} {double *} scm_f64vector_writable_elements (SCM vec, scm_t_array_handle *handle, size_t *lenp, ssize_t *incp)
|
||||||
@deftypefnx {C Function} {float *} scm_c32vector_writable_elements (SCM vec, scm_t_array_handle *handle, size_t *lenp, ssize_t *incp)
|
@deftypefnx {C Function} {float *} scm_c32vector_writable_elements (SCM vec, scm_t_array_handle *handle, size_t *lenp, ssize_t *incp)
|
||||||
@deftypefnx {C Function} {double *} scm_c64vector_writable_elements (SCM vec, scm_t_array_handle *handle, size_t *lenp, ssize_t *incp)
|
@deftypefnx {C Function} {double *} scm_c64vector_writable_elements (SCM vec, scm_t_array_handle *handle, size_t *lenp, ssize_t *incp)
|
||||||
Like @code{scm_vector_writable_elements} (@pxref{Vector Accessing from
|
Like @code{scm_vector_writable_elements} (@pxref{Vector Accessing from C}),
|
||||||
C}), but returns a pointer to the elements of a uniform numeric vector
|
but returns a pointer to the elements of a uniform numeric vector of the
|
||||||
of the indicated kind.
|
indicated kind.
|
||||||
@end deftypefn
|
@end deftypefn
|
||||||
|
|
||||||
@node SRFI-4 and Bytevectors
|
@node SRFI-4 and Bytevectors
|
||||||
|
@ -5280,7 +5280,7 @@ By default, @var{equal-proc} is @code{equal?}. It can be any
|
||||||
two-argument procedure, and should answer whether two keys are the
|
two-argument procedure, and should answer whether two keys are the
|
||||||
same for this table's purposes.
|
same for this table's purposes.
|
||||||
|
|
||||||
My default @var{hash-proc} assumes that @code{equal-proc} is no
|
By default @var{hash-proc} assumes that @code{equal-proc} is no
|
||||||
coarser than @code{equal?} unless it is literally @code{string-ci=?}.
|
coarser than @code{equal?} unless it is literally @code{string-ci=?}.
|
||||||
If provided, @var{hash-proc} should be a two-argument procedure that
|
If provided, @var{hash-proc} should be a two-argument procedure that
|
||||||
takes a key and the current table size, and answers a reasonably good
|
takes a key and the current table size, and answers a reasonably good
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
@c -*-texinfo-*-
|
@c -*-texinfo-*-
|
||||||
@c This is part of the GNU Guile Reference Manual.
|
@c This is part of the GNU Guile Reference Manual.
|
||||||
@c Copyright (C) 2013, 2017 Free Software Foundation, Inc.
|
@c Copyright (C) 2013, 2017, 2021 Free Software Foundation, Inc.
|
||||||
@c See the file guile.texi for copying conditions.
|
@c See the file guile.texi for copying conditions.
|
||||||
|
|
||||||
@c SXPath documentation based on SXPath.scm by Oleg Kiselyov,
|
@c SXPath documentation based on SXPath.scm by Oleg Kiselyov,
|
||||||
|
@ -26,7 +26,7 @@ may be represented with the following SXML:
|
||||||
|
|
||||||
SXML is very general, and is capable of representing all of XML.
|
SXML is very general, and is capable of representing all of XML.
|
||||||
Formally, this means that SXML is a conforming implementation of the
|
Formally, this means that SXML is a conforming implementation of the
|
||||||
@uref{XML Information Set,http://www.w3.org/TR/xml-infoset/} standard.
|
@uref{http://www.w3.org/TR/xml-infoset/,XML Information Set} standard.
|
||||||
|
|
||||||
Guile includes several facilities for working with XML and SXML:
|
Guile includes several facilities for working with XML and SXML:
|
||||||
parsers, serializers, and transformers.
|
parsers, serializers, and transformers.
|
||||||
|
|
|
@ -379,16 +379,17 @@ SCM_DEFINE (scm_filename_completion_function, "filename-completion-function", 2,
|
||||||
#define FUNC_NAME s_scm_filename_completion_function
|
#define FUNC_NAME s_scm_filename_completion_function
|
||||||
{
|
{
|
||||||
char *s;
|
char *s;
|
||||||
SCM ans;
|
|
||||||
char *c_text = scm_to_locale_string (text);
|
char *c_text = scm_to_locale_string (text);
|
||||||
#ifdef HAVE_RL_FILENAME_COMPLETION_FUNCTION
|
#ifdef HAVE_RL_FILENAME_COMPLETION_FUNCTION
|
||||||
s = rl_filename_completion_function (c_text, scm_is_true (continuep));
|
s = rl_filename_completion_function (c_text, scm_is_true (continuep));
|
||||||
#else
|
#else
|
||||||
s = filename_completion_function (c_text, scm_is_true (continuep));
|
s = filename_completion_function (c_text, scm_is_true (continuep));
|
||||||
#endif
|
#endif
|
||||||
ans = scm_take_locale_string (s);
|
|
||||||
free (c_text);
|
free (c_text);
|
||||||
return ans;
|
if (!s)
|
||||||
|
return SCM_BOOL_F;
|
||||||
|
|
||||||
|
return scm_take_locale_string (s);
|
||||||
}
|
}
|
||||||
#undef FUNC_NAME
|
#undef FUNC_NAME
|
||||||
|
|
||||||
|
@ -430,12 +431,19 @@ static void init_bouncing_parens ();
|
||||||
static void
|
static void
|
||||||
init_bouncing_parens ()
|
init_bouncing_parens ()
|
||||||
{
|
{
|
||||||
if (strncmp (rl_get_keymap_name (rl_get_keymap ()), "vi", 2))
|
Keymap km = rl_get_keymap ();
|
||||||
|
if (km)
|
||||||
|
{
|
||||||
|
if (strncmp (rl_get_keymap_name (km), "vi", 2))
|
||||||
{
|
{
|
||||||
rl_bind_key (')', match_paren);
|
rl_bind_key (')', match_paren);
|
||||||
rl_bind_key (']', match_paren);
|
rl_bind_key (']', match_paren);
|
||||||
rl_bind_key ('}', match_paren);
|
rl_bind_key ('}', match_paren);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
else
|
||||||
|
scm_error (scm_misc_error_key, "", "readline has not been properly initialized",
|
||||||
|
SCM_EOL, SCM_EOL);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int
|
||||||
|
|
986
lib/Makefile.am
986
lib/Makefile.am
File diff suppressed because it is too large
Load diff
|
@ -29,7 +29,7 @@
|
||||||
# elif ((!defined __cplusplus || defined __clang__) \
|
# elif ((!defined __cplusplus || defined __clang__) \
|
||||||
&& (201112 <= (defined __STDC_VERSION__ ? __STDC_VERSION__ : 0) \
|
&& (201112 <= (defined __STDC_VERSION__ ? __STDC_VERSION__ : 0) \
|
||||||
|| (!defined __STRICT_ANSI__ \
|
|| (!defined __STRICT_ANSI__ \
|
||||||
&& (__4 < __GNUC__ + (7 <= __GNUC_MINOR__) \
|
&& (4 < __GNUC__ + (7 <= __GNUC_MINOR__) \
|
||||||
|| (defined __apple_build_version__ \
|
|| (defined __apple_build_version__ \
|
||||||
? 6000000 <= __apple_build_version__ \
|
? 6000000 <= __apple_build_version__ \
|
||||||
: 3 < __clang_major__ + (5 <= __clang_minor__))))))
|
: 3 < __clang_major__ + (5 <= __clang_minor__))))))
|
||||||
|
|
10
lib/accept.c
10
lib/accept.c
|
@ -2,12 +2,12 @@
|
||||||
|
|
||||||
Copyright (C) 2008-2021 Free Software Foundation, Inc.
|
Copyright (C) 2008-2021 Free Software Foundation, Inc.
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
This file is free software: you can redistribute it and/or modify
|
||||||
it under the terms of the GNU Lesser General Public License as published by
|
it under the terms of the GNU Lesser General Public License as
|
||||||
the Free Software Foundation; either version 3 of the License, or
|
published by the Free Software Foundation; either version 2.1 of the
|
||||||
(at your option) any later version.
|
License, or (at your option) any later version.
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
This file is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
GNU Lesser General Public License for more details.
|
GNU Lesser General Public License for more details.
|
||||||
|
|
|
@ -1,18 +1,18 @@
|
||||||
/* Accept a connection on a socket, with specific opening flags.
|
/* Accept a connection on a socket, with specific opening flags.
|
||||||
Copyright (C) 2009-2021 Free Software Foundation, Inc.
|
Copyright (C) 2009-2021 Free Software Foundation, Inc.
|
||||||
|
|
||||||
This program is free software; you can redistribute it and/or modify
|
This file is free software: you can redistribute it and/or modify
|
||||||
it under the terms of the GNU Lesser General Public License as published by
|
it under the terms of the GNU Lesser General Public License as
|
||||||
the Free Software Foundation; either version 2, or (at your option)
|
published by the Free Software Foundation; either version 3 of the
|
||||||
any later version.
|
License, or (at your option) any later version.
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
This file is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
GNU Lesser General Public License for more details.
|
GNU Lesser General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU Lesser General Public License along
|
You should have received a copy of the GNU Lesser General Public License
|
||||||
with this program; if not, see <https://www.gnu.org/licenses/>. */
|
along with this program. If not, see <https://www.gnu.org/licenses/>. */
|
||||||
|
|
||||||
#include <config.h>
|
#include <config.h>
|
||||||
|
|
||||||
|
|
|
@ -1,18 +1,18 @@
|
||||||
/* Determine alignment of types.
|
/* Determine alignment of types.
|
||||||
Copyright (C) 2003-2004, 2006, 2009-2021 Free Software Foundation, Inc.
|
Copyright (C) 2003-2004, 2006, 2009-2021 Free Software Foundation, Inc.
|
||||||
|
|
||||||
This program is free software; you can redistribute it and/or modify
|
This file is free software: you can redistribute it and/or modify
|
||||||
it under the terms of the GNU Lesser General Public License as published by
|
it under the terms of the GNU Lesser General Public License as
|
||||||
the Free Software Foundation; either version 2, or (at your option)
|
published by the Free Software Foundation; either version 2.1 of the
|
||||||
any later version.
|
License, or (at your option) any later version.
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
This file is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
GNU Lesser General Public License for more details.
|
GNU Lesser General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU Lesser General Public License
|
You should have received a copy of the GNU Lesser General Public License
|
||||||
along with this program; if not, see <https://www.gnu.org/licenses/>. */
|
along with this program. If not, see <https://www.gnu.org/licenses/>. */
|
||||||
|
|
||||||
#ifndef _ALIGNOF_H
|
#ifndef _ALIGNOF_H
|
||||||
#define _ALIGNOF_H
|
#define _ALIGNOF_H
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
/* alloca.c -- allocate automatically reclaimed memory
|
/* alloca.c -- allocate automatically reclaimed memory
|
||||||
(Mostly) portable public-domain implementation -- D A Gwyn
|
This file is in the public domain. */
|
||||||
|
|
||||||
|
/* (Mostly) portable implementation -- D A Gwyn
|
||||||
|
|
||||||
This implementation of the PWB library alloca function,
|
This implementation of the PWB library alloca function,
|
||||||
which is used to allocate space off the run-time stack so
|
which is used to allocate space off the run-time stack so
|
||||||
|
|
|
@ -3,20 +3,18 @@
|
||||||
Copyright (C) 1995, 1999, 2001-2004, 2006-2021 Free Software Foundation,
|
Copyright (C) 1995, 1999, 2001-2004, 2006-2021 Free Software Foundation,
|
||||||
Inc.
|
Inc.
|
||||||
|
|
||||||
This program is free software; you can redistribute it and/or modify it
|
This file is free software: you can redistribute it and/or modify
|
||||||
under the terms of the GNU Lesser General Public License as published
|
it under the terms of the GNU Lesser General Public License as
|
||||||
by the Free Software Foundation; either version 2, or (at your option)
|
published by the Free Software Foundation; either version 2.1 of the
|
||||||
any later version.
|
License, or (at your option) any later version.
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
This file is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
Lesser General Public License for more details.
|
GNU Lesser General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU Lesser General Public
|
You should have received a copy of the GNU Lesser General Public License
|
||||||
License along with this program; if not, see
|
along with this program. If not, see <https://www.gnu.org/licenses/>. */
|
||||||
<https://www.gnu.org/licenses/>.
|
|
||||||
*/
|
|
||||||
|
|
||||||
/* Avoid using the symbol _ALLOCA_H here, as Bison assumes _ALLOCA_H
|
/* Avoid using the symbol _ALLOCA_H here, as Bison assumes _ALLOCA_H
|
||||||
means there is a real alloca function. */
|
means there is a real alloca function. */
|
||||||
|
|
|
@ -2,18 +2,18 @@
|
||||||
|
|
||||||
Copyright (C) 2005-2006, 2008-2021 Free Software Foundation, Inc.
|
Copyright (C) 2005-2006, 2008-2021 Free Software Foundation, Inc.
|
||||||
|
|
||||||
This program is free software; you can redistribute it and/or modify
|
This file is free software: you can redistribute it and/or modify
|
||||||
it under the terms of the GNU Lesser General Public License as published by
|
it under the terms of the GNU Lesser General Public License as
|
||||||
the Free Software Foundation; either version 2, or (at your option)
|
published by the Free Software Foundation; either version 2.1 of the
|
||||||
any later version.
|
License, or (at your option) any later version.
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
This file is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
GNU Lesser General Public License for more details.
|
GNU Lesser General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU Lesser General Public License
|
You should have received a copy of the GNU Lesser General Public License
|
||||||
along with this program; if not, see <https://www.gnu.org/licenses/>. */
|
along with this program. If not, see <https://www.gnu.org/licenses/>. */
|
||||||
|
|
||||||
#ifndef _@GUARD_PREFIX@_ARPA_INET_H
|
#ifndef _@GUARD_PREFIX@_ARPA_INET_H
|
||||||
|
|
||||||
|
|
|
@ -1,18 +1,18 @@
|
||||||
/* Formatted output to strings.
|
/* Formatted output to strings.
|
||||||
Copyright (C) 1999, 2002, 2006, 2009-2021 Free Software Foundation, Inc.
|
Copyright (C) 1999, 2002, 2006, 2009-2021 Free Software Foundation, Inc.
|
||||||
|
|
||||||
This program is free software; you can redistribute it and/or modify
|
This file is free software: you can redistribute it and/or modify
|
||||||
it under the terms of the GNU Lesser General Public License as published by
|
it under the terms of the GNU Lesser General Public License as
|
||||||
the Free Software Foundation; either version 2, or (at your option)
|
published by the Free Software Foundation; either version 2.1 of the
|
||||||
any later version.
|
License, or (at your option) any later version.
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
This file is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
GNU Lesser General Public License for more details.
|
GNU Lesser General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU Lesser General Public License along
|
You should have received a copy of the GNU Lesser General Public License
|
||||||
with this program; if not, see <https://www.gnu.org/licenses/>. */
|
along with this program. If not, see <https://www.gnu.org/licenses/>. */
|
||||||
|
|
||||||
#include <config.h>
|
#include <config.h>
|
||||||
|
|
||||||
|
|
10
lib/assure.h
10
lib/assure.h
|
@ -2,12 +2,12 @@
|
||||||
|
|
||||||
Copyright (C) 2014-2021 Free Software Foundation, Inc.
|
Copyright (C) 2014-2021 Free Software Foundation, Inc.
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
This file is free software: you can redistribute it and/or modify
|
||||||
it under the terms of the GNU Lesser General Public License as published by
|
it under the terms of the GNU Lesser General Public License as
|
||||||
the Free Software Foundation; either version 3 of the License, or
|
published by the Free Software Foundation; either version 2.1 of the
|
||||||
(at your option) any later version.
|
License, or (at your option) any later version.
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
This file is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
GNU Lesser General Public License for more details.
|
GNU Lesser General Public License for more details.
|
||||||
|
|
|
@ -2,15 +2,15 @@
|
||||||
|
|
||||||
Copyright 2020-2021 Free Software Foundation, Inc.
|
Copyright 2020-2021 Free Software Foundation, Inc.
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify it
|
This file is free software: you can redistribute it and/or modify
|
||||||
under the terms of the GNU Lesser General Public License as published
|
it under the terms of the GNU Lesser General Public License as
|
||||||
by the Free Software Foundation; either version 3 of the License, or
|
published by the Free Software Foundation; either version 2.1 of the
|
||||||
(at your option) any later version.
|
License, or (at your option) any later version.
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
This file is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
Lesser General Public License for more details.
|
GNU Lesser General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU Lesser General Public License
|
You should have received a copy of the GNU Lesser General Public License
|
||||||
along with this program. If not, see <https://www.gnu.org/licenses/>. */
|
along with this program. If not, see <https://www.gnu.org/licenses/>. */
|
||||||
|
@ -32,7 +32,7 @@
|
||||||
|
|
||||||
|
|
||||||
/* This file defines two types of attributes:
|
/* This file defines two types of attributes:
|
||||||
* C2X standard attributes. These have macro names that do not begin with
|
* C2x standard attributes. These have macro names that do not begin with
|
||||||
'ATTRIBUTE_'.
|
'ATTRIBUTE_'.
|
||||||
* Selected GCC attributes; see:
|
* Selected GCC attributes; see:
|
||||||
https://gcc.gnu.org/onlinedocs/gcc/Common-Function-Attributes.html
|
https://gcc.gnu.org/onlinedocs/gcc/Common-Function-Attributes.html
|
||||||
|
|
|
@ -3,12 +3,12 @@
|
||||||
Copyright (C) 1990, 1998-2001, 2003-2006, 2009-2021 Free Software
|
Copyright (C) 1990, 1998-2001, 2003-2006, 2009-2021 Free Software
|
||||||
Foundation, Inc.
|
Foundation, Inc.
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
This file is free software: you can redistribute it and/or modify
|
||||||
it under the terms of the GNU Lesser General Public License as published by
|
it under the terms of the GNU Lesser General Public License as
|
||||||
the Free Software Foundation; either version 3 of the License, or
|
published by the Free Software Foundation; either version 2.1 of the
|
||||||
(at your option) any later version.
|
License, or (at your option) any later version.
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
This file is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
GNU Lesser General Public License for more details.
|
GNU Lesser General Public License for more details.
|
||||||
|
|
|
@ -3,12 +3,12 @@
|
||||||
Copyright (C) 1998, 2001, 2003-2006, 2009-2021 Free Software Foundation,
|
Copyright (C) 1998, 2001, 2003-2006, 2009-2021 Free Software Foundation,
|
||||||
Inc.
|
Inc.
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
This file is free software: you can redistribute it and/or modify
|
||||||
it under the terms of the GNU Lesser General Public License as published by
|
it under the terms of the GNU Lesser General Public License as
|
||||||
the Free Software Foundation; either version 3 of the License, or
|
published by the Free Software Foundation; either version 2.1 of the
|
||||||
(at your option) any later version.
|
License, or (at your option) any later version.
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
This file is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
GNU Lesser General Public License for more details.
|
GNU Lesser General Public License for more details.
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
/* Binary mode I/O.
|
/* Binary mode I/O.
|
||||||
Copyright 2017-2021 Free Software Foundation, Inc.
|
Copyright 2017-2021 Free Software Foundation, Inc.
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
This file is free software: you can redistribute it and/or modify
|
||||||
it under the terms of the GNU Lesser General Public License as published by
|
it under the terms of the GNU Lesser General Public License as
|
||||||
the Free Software Foundation; either version 3 of the License, or
|
published by the Free Software Foundation; either version 2.1 of the
|
||||||
(at your option) any later version.
|
License, or (at your option) any later version.
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
This file is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
GNU Lesser General Public License for more details.
|
GNU Lesser General Public License for more details.
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
/* Binary mode I/O.
|
/* Binary mode I/O.
|
||||||
Copyright (C) 2001, 2003, 2005, 2008-2021 Free Software Foundation, Inc.
|
Copyright (C) 2001, 2003, 2005, 2008-2021 Free Software Foundation, Inc.
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
This file is free software: you can redistribute it and/or modify
|
||||||
it under the terms of the GNU Lesser General Public License as published by
|
it under the terms of the GNU Lesser General Public License as
|
||||||
the Free Software Foundation; either version 3 of the License, or
|
published by the Free Software Foundation; either version 2.1 of the
|
||||||
(at your option) any later version.
|
License, or (at your option) any later version.
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
This file is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
GNU Lesser General Public License for more details.
|
GNU Lesser General Public License for more details.
|
||||||
|
|
10
lib/bind.c
10
lib/bind.c
|
@ -2,12 +2,12 @@
|
||||||
|
|
||||||
Copyright (C) 2008-2021 Free Software Foundation, Inc.
|
Copyright (C) 2008-2021 Free Software Foundation, Inc.
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
This file is free software: you can redistribute it and/or modify
|
||||||
it under the terms of the GNU Lesser General Public License as published by
|
it under the terms of the GNU Lesser General Public License as
|
||||||
the Free Software Foundation; either version 3 of the License, or
|
published by the Free Software Foundation; either version 2.1 of the
|
||||||
(at your option) any later version.
|
License, or (at your option) any later version.
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
This file is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
GNU Lesser General Public License for more details.
|
GNU Lesser General Public License for more details.
|
||||||
|
|
10
lib/btowc.c
10
lib/btowc.c
|
@ -2,12 +2,12 @@
|
||||||
Copyright (C) 2008, 2010-2021 Free Software Foundation, Inc.
|
Copyright (C) 2008, 2010-2021 Free Software Foundation, Inc.
|
||||||
Written by Bruno Haible <bruno@clisp.org>, 2008.
|
Written by Bruno Haible <bruno@clisp.org>, 2008.
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
This file is free software: you can redistribute it and/or modify
|
||||||
it under the terms of the GNU Lesser General Public License as published by
|
it under the terms of the GNU Lesser General Public License as
|
||||||
the Free Software Foundation; either version 3 of the License, or
|
published by the Free Software Foundation; either version 2.1 of the
|
||||||
(at your option) any later version.
|
License, or (at your option) any later version.
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
This file is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
GNU Lesser General Public License for more details.
|
GNU Lesser General Public License for more details.
|
||||||
|
|
|
@ -2,12 +2,12 @@
|
||||||
Copyright (C) 2005, 2007, 2009-2021 Free Software Foundation, Inc.
|
Copyright (C) 2005, 2007, 2009-2021 Free Software Foundation, Inc.
|
||||||
Written by Oskar Liljeblad <oskar@osk.mine.nu>, 2005.
|
Written by Oskar Liljeblad <oskar@osk.mine.nu>, 2005.
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
This file is free software: you can redistribute it and/or modify
|
||||||
it under the terms of the GNU Lesser General Public License as published by
|
it under the terms of the GNU Lesser General Public License as
|
||||||
the Free Software Foundation; either version 3 of the License, or
|
published by the Free Software Foundation; either version 2.1 of the
|
||||||
(at your option) any later version.
|
License, or (at your option) any later version.
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
This file is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
GNU Lesser General Public License for more details.
|
GNU Lesser General Public License for more details.
|
||||||
|
|
|
@ -1,3 +1,21 @@
|
||||||
|
/* Character handling in C locale.
|
||||||
|
|
||||||
|
Copyright (C) 2003-2021 Free Software Foundation, Inc.
|
||||||
|
|
||||||
|
This file is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU Lesser General Public License as
|
||||||
|
published by the Free Software Foundation; either version 2.1 of the
|
||||||
|
License, or (at your option) any later version.
|
||||||
|
|
||||||
|
This file is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU Lesser General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU Lesser General Public License
|
||||||
|
along with this program. If not, see <https://www.gnu.org/licenses/>. */
|
||||||
|
|
||||||
#include <config.h>
|
#include <config.h>
|
||||||
|
|
||||||
#define C_CTYPE_INLINE _GL_EXTERN_INLINE
|
#define C_CTYPE_INLINE _GL_EXTERN_INLINE
|
||||||
#include "c-ctype.h"
|
#include "c-ctype.h"
|
||||||
|
|
|
@ -7,18 +7,18 @@
|
||||||
|
|
||||||
Copyright (C) 2000-2003, 2006, 2008-2021 Free Software Foundation, Inc.
|
Copyright (C) 2000-2003, 2006, 2008-2021 Free Software Foundation, Inc.
|
||||||
|
|
||||||
This program is free software; you can redistribute it and/or modify
|
This file is free software: you can redistribute it and/or modify
|
||||||
it under the terms of the GNU Lesser General Public License as published by
|
it under the terms of the GNU Lesser General Public License as
|
||||||
the Free Software Foundation; either version 2 of the License, or
|
published by the Free Software Foundation; either version 2.1 of the
|
||||||
(at your option) any later version.
|
License, or (at your option) any later version.
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
This file is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
GNU Lesser General Public License for more details.
|
GNU Lesser General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU Lesser General Public License
|
You should have received a copy of the GNU Lesser General Public License
|
||||||
along with this program; if not, see <https://www.gnu.org/licenses/>. */
|
along with this program. If not, see <https://www.gnu.org/licenses/>. */
|
||||||
|
|
||||||
#ifndef C_CTYPE_H
|
#ifndef C_CTYPE_H
|
||||||
#define C_CTYPE_H
|
#define C_CTYPE_H
|
||||||
|
|
|
@ -2,18 +2,18 @@
|
||||||
Copyright (C) 1995-1996, 2001, 2003, 2005, 2009-2021 Free Software
|
Copyright (C) 1995-1996, 2001, 2003, 2005, 2009-2021 Free Software
|
||||||
Foundation, Inc.
|
Foundation, Inc.
|
||||||
|
|
||||||
This program is free software; you can redistribute it and/or modify
|
This file is free software: you can redistribute it and/or modify
|
||||||
it under the terms of the GNU Lesser General Public License as published by
|
it under the terms of the GNU Lesser General Public License as
|
||||||
the Free Software Foundation; either version 2, or (at your option)
|
published by the Free Software Foundation; either version 2.1 of the
|
||||||
any later version.
|
License, or (at your option) any later version.
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
This file is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
GNU Lesser General Public License for more details.
|
GNU Lesser General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU Lesser General Public License
|
You should have received a copy of the GNU Lesser General Public License
|
||||||
along with this program; if not, see <https://www.gnu.org/licenses/>. */
|
along with this program. If not, see <https://www.gnu.org/licenses/>. */
|
||||||
|
|
||||||
#ifndef C_STRCASE_H
|
#ifndef C_STRCASE_H
|
||||||
#define C_STRCASE_H
|
#define C_STRCASE_H
|
||||||
|
|
|
@ -1,18 +1,18 @@
|
||||||
/* c-strcasecmp.c -- case insensitive string comparator in C locale
|
/* c-strcasecmp.c -- case insensitive string comparator in C locale
|
||||||
Copyright (C) 1998-1999, 2005-2006, 2009-2021 Free Software Foundation, Inc.
|
Copyright (C) 1998-1999, 2005-2006, 2009-2021 Free Software Foundation, Inc.
|
||||||
|
|
||||||
This program is free software; you can redistribute it and/or modify
|
This file is free software: you can redistribute it and/or modify
|
||||||
it under the terms of the GNU Lesser General Public License as published by
|
it under the terms of the GNU Lesser General Public License as
|
||||||
the Free Software Foundation; either version 2, or (at your option)
|
published by the Free Software Foundation; either version 2.1 of the
|
||||||
any later version.
|
License, or (at your option) any later version.
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
This file is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
GNU Lesser General Public License for more details.
|
GNU Lesser General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU Lesser General Public License
|
You should have received a copy of the GNU Lesser General Public License
|
||||||
along with this program; if not, see <https://www.gnu.org/licenses/>. */
|
along with this program. If not, see <https://www.gnu.org/licenses/>. */
|
||||||
|
|
||||||
#include <config.h>
|
#include <config.h>
|
||||||
|
|
||||||
|
|
|
@ -1,15 +1,15 @@
|
||||||
/* Optimized case-insensitive string comparison in C locale.
|
/* Optimized case-insensitive string comparison in C locale.
|
||||||
Copyright (C) 2001-2002, 2007, 2009-2021 Free Software Foundation, Inc.
|
Copyright (C) 2001-2002, 2007, 2009-2021 Free Software Foundation, Inc.
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify it
|
This file is free software: you can redistribute it and/or modify
|
||||||
under the terms of the GNU Lesser General Public License as published
|
it under the terms of the GNU Lesser General Public License as
|
||||||
by the Free Software Foundation; either version 3 of the License, or
|
published by the Free Software Foundation; either version 2.1 of the
|
||||||
(at your option) any later version.
|
License, or (at your option) any later version.
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
This file is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
Lesser General Public License for more details.
|
GNU Lesser General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU Lesser General Public License
|
You should have received a copy of the GNU Lesser General Public License
|
||||||
along with this program. If not, see <https://www.gnu.org/licenses/>. */
|
along with this program. If not, see <https://www.gnu.org/licenses/>. */
|
||||||
|
|
|
@ -1,18 +1,18 @@
|
||||||
/* c-strncasecmp.c -- case insensitive string comparator in C locale
|
/* c-strncasecmp.c -- case insensitive string comparator in C locale
|
||||||
Copyright (C) 1998-1999, 2005-2006, 2009-2021 Free Software Foundation, Inc.
|
Copyright (C) 1998-1999, 2005-2006, 2009-2021 Free Software Foundation, Inc.
|
||||||
|
|
||||||
This program is free software; you can redistribute it and/or modify
|
This file is free software: you can redistribute it and/or modify
|
||||||
it under the terms of the GNU Lesser General Public License as published by
|
it under the terms of the GNU Lesser General Public License as
|
||||||
the Free Software Foundation; either version 2, or (at your option)
|
published by the Free Software Foundation; either version 2.1 of the
|
||||||
any later version.
|
License, or (at your option) any later version.
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
This file is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
GNU Lesser General Public License for more details.
|
GNU Lesser General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU Lesser General Public License
|
You should have received a copy of the GNU Lesser General Public License
|
||||||
along with this program; if not, see <https://www.gnu.org/licenses/>. */
|
along with this program. If not, see <https://www.gnu.org/licenses/>. */
|
||||||
|
|
||||||
#include <config.h>
|
#include <config.h>
|
||||||
|
|
||||||
|
|
|
@ -74,7 +74,6 @@
|
||||||
# define __pathconf pathconf
|
# define __pathconf pathconf
|
||||||
# define __rawmemchr rawmemchr
|
# define __rawmemchr rawmemchr
|
||||||
# define __readlink readlink
|
# define __readlink readlink
|
||||||
# define __stat stat
|
|
||||||
# if IN_RELOCWRAPPER
|
# if IN_RELOCWRAPPER
|
||||||
/* When building the relocatable program wrapper, use the system's memmove
|
/* When building the relocatable program wrapper, use the system's memmove
|
||||||
function, not the gnulib override, otherwise we would get a link error.
|
function, not the gnulib override, otherwise we would get a link error.
|
||||||
|
@ -105,7 +104,7 @@ file_accessible (char const *file)
|
||||||
return __faccessat (AT_FDCWD, file, F_OK, AT_EACCESS) == 0;
|
return __faccessat (AT_FDCWD, file, F_OK, AT_EACCESS) == 0;
|
||||||
# else
|
# else
|
||||||
struct stat st;
|
struct stat st;
|
||||||
return __stat (file, &st) == 0 || errno == EOVERFLOW;
|
return stat (file, &st) == 0 || errno == EOVERFLOW;
|
||||||
# endif
|
# endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
43
lib/cdefs.h
43
lib/cdefs.h
|
@ -259,9 +259,7 @@
|
||||||
# define __attribute_const__ /* Ignore */
|
# define __attribute_const__ /* Ignore */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined __STDC_VERSION__ && 201710L < __STDC_VERSION__
|
#if __GNUC_PREREQ (2,7) || __glibc_has_attribute (__unused__)
|
||||||
# define __attribute_maybe_unused__ [[__maybe_unused__]]
|
|
||||||
#elif __GNUC_PREREQ (2,7) || __glibc_has_attribute (__unused__)
|
|
||||||
# define __attribute_maybe_unused__ __attribute__ ((__unused__))
|
# define __attribute_maybe_unused__ __attribute__ ((__unused__))
|
||||||
#else
|
#else
|
||||||
# define __attribute_maybe_unused__ /* Ignore */
|
# define __attribute_maybe_unused__ /* Ignore */
|
||||||
|
@ -320,7 +318,9 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* The nonnull function attribute marks pointer parameters that
|
/* The nonnull function attribute marks pointer parameters that
|
||||||
must not be NULL. */
|
must not be NULL. This has the name __nonnull in glibc,
|
||||||
|
and __attribute_nonnull__ in files shared with Gnulib to avoid
|
||||||
|
collision with a different __nonnull in DragonFlyBSD 5.9. */
|
||||||
#ifndef __attribute_nonnull__
|
#ifndef __attribute_nonnull__
|
||||||
# if __GNUC_PREREQ (3,3) || __glibc_has_attribute (__nonnull__)
|
# if __GNUC_PREREQ (3,3) || __glibc_has_attribute (__nonnull__)
|
||||||
# define __attribute_nonnull__(params) __attribute__ ((__nonnull__ params))
|
# define __attribute_nonnull__(params) __attribute__ ((__nonnull__ params))
|
||||||
|
@ -332,6 +332,16 @@
|
||||||
# define __nonnull(params) __attribute_nonnull__ (params)
|
# define __nonnull(params) __attribute_nonnull__ (params)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/* The returns_nonnull function attribute marks the return type of the function
|
||||||
|
as always being non-null. */
|
||||||
|
#ifndef __returns_nonnull
|
||||||
|
# if __GNUC_PREREQ (4, 9) || __glibc_has_attribute (__returns_nonnull__)
|
||||||
|
# define __returns_nonnull __attribute__ ((__returns_nonnull__))
|
||||||
|
# else
|
||||||
|
# define __returns_nonnull
|
||||||
|
# endif
|
||||||
|
#endif
|
||||||
|
|
||||||
/* If fortification mode, we warn about unused results of certain
|
/* If fortification mode, we warn about unused results of certain
|
||||||
function calls which can lead to problems. */
|
function calls which can lead to problems. */
|
||||||
#if __GNUC_PREREQ (3,4) || __glibc_has_attribute (__warn_unused_result__)
|
#if __GNUC_PREREQ (3,4) || __glibc_has_attribute (__warn_unused_result__)
|
||||||
|
@ -485,9 +495,9 @@
|
||||||
[!!sizeof (struct { int __error_if_negative: (expr) ? 2 : -1; })]
|
[!!sizeof (struct { int __error_if_negative: (expr) ? 2 : -1; })]
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* The #ifndef lets Gnulib avoid including these on non-glibc
|
/* Gnulib avoids including these, as they don't work on non-glibc or
|
||||||
platforms, where the includes typically do not exist. */
|
older glibc platforms. */
|
||||||
#ifndef __WORDSIZE
|
#ifndef __GNULIB_CDEFS
|
||||||
# include <bits/wordsize.h>
|
# include <bits/wordsize.h>
|
||||||
# include <bits/long-double.h>
|
# include <bits/long-double.h>
|
||||||
#endif
|
#endif
|
||||||
|
@ -594,9 +604,26 @@ _Static_assert (0, "IEEE 128-bits long double requires redirection on this platf
|
||||||
array according to access mode, or at least one element when
|
array according to access mode, or at least one element when
|
||||||
size-index is not provided:
|
size-index is not provided:
|
||||||
access (access-mode, <ref-index> [, <size-index>]) */
|
access (access-mode, <ref-index> [, <size-index>]) */
|
||||||
#define __attr_access(x) __attribute__ ((__access__ x))
|
# define __attr_access(x) __attribute__ ((__access__ x))
|
||||||
|
# if __GNUC_PREREQ (11, 0)
|
||||||
|
# define __attr_access_none(argno) __attribute__ ((__access__ (__none__, argno)))
|
||||||
|
# else
|
||||||
|
# define __attr_access_none(argno)
|
||||||
|
# endif
|
||||||
#else
|
#else
|
||||||
# define __attr_access(x)
|
# define __attr_access(x)
|
||||||
|
# define __attr_access_none(argno)
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if __GNUC_PREREQ (11, 0)
|
||||||
|
/* Designates dealloc as a function to call to deallocate objects
|
||||||
|
allocated by the declared function. */
|
||||||
|
# define __attr_dealloc(dealloc, argno) \
|
||||||
|
__attribute__ ((__malloc__ (dealloc, argno)))
|
||||||
|
# define __attr_dealloc_free __attr_dealloc (__builtin_free, 1)
|
||||||
|
#else
|
||||||
|
# define __attr_dealloc(dealloc, argno)
|
||||||
|
# define __attr_dealloc_free
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Specify that a function such as setjmp or vfork may return
|
/* Specify that a function such as setjmp or vfork may return
|
||||||
|
|
10
lib/ceil.c
10
lib/ceil.c
|
@ -1,12 +1,12 @@
|
||||||
/* Round towards positive infinity.
|
/* Round towards positive infinity.
|
||||||
Copyright (C) 2007, 2010-2021 Free Software Foundation, Inc.
|
Copyright (C) 2007, 2010-2021 Free Software Foundation, Inc.
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
This file is free software: you can redistribute it and/or modify
|
||||||
it under the terms of the GNU Lesser General Public License as published by
|
it under the terms of the GNU Lesser General Public License as
|
||||||
the Free Software Foundation; either version 3 of the License, or
|
published by the Free Software Foundation; either version 3 of the
|
||||||
(at your option) any later version.
|
License, or (at your option) any later version.
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
This file is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
GNU Lesser General Public License for more details.
|
GNU Lesser General Public License for more details.
|
||||||
|
|
|
@ -2,20 +2,20 @@
|
||||||
|
|
||||||
Copyright (C) 1991, 2004-2006, 2009-2021 Free Software Foundation, Inc.
|
Copyright (C) 1991, 2004-2006, 2009-2021 Free Software Foundation, Inc.
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
This file is free software: you can redistribute it and/or modify
|
||||||
it under the terms of the GNU Lesser General Public License as published by
|
it under the terms of the GNU Lesser General Public License as
|
||||||
the Free Software Foundation; either version 3 of the License, or
|
published by the Free Software Foundation; either version 2.1 of the
|
||||||
(at your option) any later version.
|
License, or (at your option) any later version.
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
This file is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
GNU Lesser General Public License for more details.
|
GNU Lesser General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU Lesser General Public License
|
You should have received a copy of the GNU Lesser General Public License
|
||||||
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
along with this program. If not, see <https://www.gnu.org/licenses/>. */
|
||||||
|
|
||||||
The code is taken from glibc/manual/llio.texi */
|
/* The code is taken from glibc/manual/llio.texi */
|
||||||
|
|
||||||
#include <config.h>
|
#include <config.h>
|
||||||
|
|
||||||
|
|
|
@ -2,20 +2,18 @@
|
||||||
|
|
||||||
Copyright (C) 2004, 2009-2021 Free Software Foundation, Inc.
|
Copyright (C) 2004, 2009-2021 Free Software Foundation, Inc.
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
This file is free software: you can redistribute it and/or modify
|
||||||
it under the terms of the GNU Lesser General Public License as published by
|
it under the terms of the GNU Lesser General Public License as
|
||||||
the Free Software Foundation; either version 3 of the License, or
|
published by the Free Software Foundation; either version 2.1 of the
|
||||||
(at your option) any later version.
|
License, or (at your option) any later version.
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
This file is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
GNU Lesser General Public License for more details.
|
GNU Lesser General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU Lesser General Public License
|
You should have received a copy of the GNU Lesser General Public License
|
||||||
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
along with this program. If not, see <https://www.gnu.org/licenses/>. */
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
|
|
||||||
|
|
10
lib/close.c
10
lib/close.c
|
@ -1,12 +1,12 @@
|
||||||
/* close replacement.
|
/* close replacement.
|
||||||
Copyright (C) 2008-2021 Free Software Foundation, Inc.
|
Copyright (C) 2008-2021 Free Software Foundation, Inc.
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
This file is free software: you can redistribute it and/or modify
|
||||||
it under the terms of the GNU Lesser General Public License as published by
|
it under the terms of the GNU Lesser General Public License as
|
||||||
the Free Software Foundation; either version 3 of the License, or
|
published by the Free Software Foundation; either version 2.1 of the
|
||||||
(at your option) any later version.
|
License, or (at your option) any later version.
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
This file is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
GNU Lesser General Public License for more details.
|
GNU Lesser General Public License for more details.
|
||||||
|
|
|
@ -2,12 +2,12 @@
|
||||||
|
|
||||||
Copyright (C) 2008-2021 Free Software Foundation, Inc.
|
Copyright (C) 2008-2021 Free Software Foundation, Inc.
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
This file is free software: you can redistribute it and/or modify
|
||||||
it under the terms of the GNU Lesser General Public License as published by
|
it under the terms of the GNU Lesser General Public License as
|
||||||
the Free Software Foundation; either version 3 of the License, or
|
published by the Free Software Foundation; either version 2.1 of the
|
||||||
(at your option) any later version.
|
License, or (at your option) any later version.
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
This file is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
GNU Lesser General Public License for more details.
|
GNU Lesser General Public License for more details.
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
/* Copy sign into another 'double' number.
|
/* Copy sign into another 'double' number.
|
||||||
Copyright (C) 2011-2021 Free Software Foundation, Inc.
|
Copyright (C) 2011-2021 Free Software Foundation, Inc.
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
This file is free software: you can redistribute it and/or modify
|
||||||
it under the terms of the GNU Lesser General Public License as published by
|
it under the terms of the GNU Lesser General Public License as
|
||||||
the Free Software Foundation; either version 3 of the License, or
|
published by the Free Software Foundation; either version 3 of the
|
||||||
(at your option) any later version.
|
License, or (at your option) any later version.
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
This file is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
GNU Lesser General Public License for more details.
|
GNU Lesser General Public License for more details.
|
||||||
|
|
103
lib/dirent.in.h
103
lib/dirent.in.h
|
@ -1,12 +1,12 @@
|
||||||
/* A GNU-like <dirent.h>.
|
/* A GNU-like <dirent.h>.
|
||||||
Copyright (C) 2006-2021 Free Software Foundation, Inc.
|
Copyright (C) 2006-2021 Free Software Foundation, Inc.
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
This file is free software: you can redistribute it and/or modify
|
||||||
it under the terms of the GNU Lesser General Public License as published by
|
it under the terms of the GNU Lesser General Public License as
|
||||||
the Free Software Foundation; either version 3 of the License, or
|
published by the Free Software Foundation; either version 2.1 of the
|
||||||
(at your option) any later version.
|
License, or (at your option) any later version.
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
This file is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
GNU Lesser General Public License for more details.
|
GNU Lesser General Public License for more details.
|
||||||
|
@ -74,6 +74,30 @@ typedef struct gl_directory DIR;
|
||||||
|
|
||||||
/* Declare overridden functions. */
|
/* Declare overridden functions. */
|
||||||
|
|
||||||
|
#if @GNULIB_CLOSEDIR@
|
||||||
|
# if @REPLACE_CLOSEDIR@
|
||||||
|
# if !(defined __cplusplus && defined GNULIB_NAMESPACE)
|
||||||
|
# undef closedir
|
||||||
|
# define closedir rpl_closedir
|
||||||
|
# define GNULIB_defined_closedir 1
|
||||||
|
# endif
|
||||||
|
_GL_FUNCDECL_RPL (closedir, int, (DIR *dirp) _GL_ARG_NONNULL ((1)));
|
||||||
|
_GL_CXXALIAS_RPL (closedir, int, (DIR *dirp));
|
||||||
|
# else
|
||||||
|
# if !@HAVE_CLOSEDIR@
|
||||||
|
_GL_FUNCDECL_SYS (closedir, int, (DIR *dirp) _GL_ARG_NONNULL ((1)));
|
||||||
|
# endif
|
||||||
|
_GL_CXXALIAS_SYS (closedir, int, (DIR *dirp));
|
||||||
|
# endif
|
||||||
|
_GL_CXXALIASWARN (closedir);
|
||||||
|
#elif defined GNULIB_POSIXCHECK
|
||||||
|
# undef closedir
|
||||||
|
# if HAVE_RAW_DECL_CLOSEDIR
|
||||||
|
_GL_WARN_ON_USE (closedir, "closedir is not portable - "
|
||||||
|
"use gnulib module closedir for portability");
|
||||||
|
# endif
|
||||||
|
#endif
|
||||||
|
|
||||||
#if @GNULIB_OPENDIR@
|
#if @GNULIB_OPENDIR@
|
||||||
# if @REPLACE_OPENDIR@
|
# if @REPLACE_OPENDIR@
|
||||||
# if !(defined __cplusplus && defined GNULIB_NAMESPACE)
|
# if !(defined __cplusplus && defined GNULIB_NAMESPACE)
|
||||||
|
@ -81,21 +105,37 @@ typedef struct gl_directory DIR;
|
||||||
# define opendir rpl_opendir
|
# define opendir rpl_opendir
|
||||||
# define GNULIB_defined_opendir 1
|
# define GNULIB_defined_opendir 1
|
||||||
# endif
|
# endif
|
||||||
_GL_FUNCDECL_RPL (opendir, DIR *, (const char *dir_name) _GL_ARG_NONNULL ((1)));
|
_GL_FUNCDECL_RPL (opendir, DIR *,
|
||||||
|
(const char *dir_name)
|
||||||
|
_GL_ARG_NONNULL ((1))
|
||||||
|
_GL_ATTRIBUTE_MALLOC _GL_ATTRIBUTE_DEALLOC (closedir, 1));
|
||||||
_GL_CXXALIAS_RPL (opendir, DIR *, (const char *dir_name));
|
_GL_CXXALIAS_RPL (opendir, DIR *, (const char *dir_name));
|
||||||
# else
|
# else
|
||||||
# if !@HAVE_OPENDIR@
|
# if !@HAVE_OPENDIR@ || __GNUC__ >= 11
|
||||||
_GL_FUNCDECL_SYS (opendir, DIR *, (const char *dir_name) _GL_ARG_NONNULL ((1)));
|
_GL_FUNCDECL_SYS (opendir, DIR *,
|
||||||
|
(const char *dir_name)
|
||||||
|
_GL_ARG_NONNULL ((1))
|
||||||
|
_GL_ATTRIBUTE_MALLOC _GL_ATTRIBUTE_DEALLOC (closedir, 1));
|
||||||
# endif
|
# endif
|
||||||
_GL_CXXALIAS_SYS (opendir, DIR *, (const char *dir_name));
|
_GL_CXXALIAS_SYS (opendir, DIR *, (const char *dir_name));
|
||||||
# endif
|
# endif
|
||||||
_GL_CXXALIASWARN (opendir);
|
_GL_CXXALIASWARN (opendir);
|
||||||
#elif defined GNULIB_POSIXCHECK
|
#else
|
||||||
|
# if @GNULIB_CLOSEDIR@ && __GNUC__ >= 11 && !defined opendir
|
||||||
|
/* For -Wmismatched-dealloc: Associate opendir with closedir or
|
||||||
|
rpl_closedir. */
|
||||||
|
_GL_FUNCDECL_SYS (opendir, DIR *,
|
||||||
|
(const char *dir_name)
|
||||||
|
_GL_ARG_NONNULL ((1))
|
||||||
|
_GL_ATTRIBUTE_MALLOC _GL_ATTRIBUTE_DEALLOC (closedir, 1));
|
||||||
|
# endif
|
||||||
|
# if defined GNULIB_POSIXCHECK
|
||||||
# undef opendir
|
# undef opendir
|
||||||
# if HAVE_RAW_DECL_OPENDIR
|
# if HAVE_RAW_DECL_OPENDIR
|
||||||
_GL_WARN_ON_USE (opendir, "opendir is not portable - "
|
_GL_WARN_ON_USE (opendir, "opendir is not portable - "
|
||||||
"use gnulib module opendir for portability");
|
"use gnulib module opendir for portability");
|
||||||
# endif
|
# endif
|
||||||
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if @GNULIB_READDIR@
|
#if @GNULIB_READDIR@
|
||||||
|
@ -126,30 +166,6 @@ _GL_WARN_ON_USE (rewinddir, "rewinddir is not portable - "
|
||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if @GNULIB_CLOSEDIR@
|
|
||||||
# if @REPLACE_CLOSEDIR@
|
|
||||||
# if !(defined __cplusplus && defined GNULIB_NAMESPACE)
|
|
||||||
# undef closedir
|
|
||||||
# define closedir rpl_closedir
|
|
||||||
# define GNULIB_defined_closedir 1
|
|
||||||
# endif
|
|
||||||
_GL_FUNCDECL_RPL (closedir, int, (DIR *dirp) _GL_ARG_NONNULL ((1)));
|
|
||||||
_GL_CXXALIAS_RPL (closedir, int, (DIR *dirp));
|
|
||||||
# else
|
|
||||||
# if !@HAVE_CLOSEDIR@
|
|
||||||
_GL_FUNCDECL_SYS (closedir, int, (DIR *dirp) _GL_ARG_NONNULL ((1)));
|
|
||||||
# endif
|
|
||||||
_GL_CXXALIAS_SYS (closedir, int, (DIR *dirp));
|
|
||||||
# endif
|
|
||||||
_GL_CXXALIASWARN (closedir);
|
|
||||||
#elif defined GNULIB_POSIXCHECK
|
|
||||||
# undef closedir
|
|
||||||
# if HAVE_RAW_DECL_CLOSEDIR
|
|
||||||
_GL_WARN_ON_USE (closedir, "closedir is not portable - "
|
|
||||||
"use gnulib module closedir for portability");
|
|
||||||
# endif
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if @GNULIB_DIRFD@
|
#if @GNULIB_DIRFD@
|
||||||
/* Return the file descriptor associated with the given directory stream,
|
/* Return the file descriptor associated with the given directory stream,
|
||||||
or -1 if none exists. */
|
or -1 if none exists. */
|
||||||
|
@ -200,21 +216,34 @@ _GL_WARN_ON_USE (dirfd, "dirfd is unportable - "
|
||||||
# undef fdopendir
|
# undef fdopendir
|
||||||
# define fdopendir rpl_fdopendir
|
# define fdopendir rpl_fdopendir
|
||||||
# endif
|
# endif
|
||||||
_GL_FUNCDECL_RPL (fdopendir, DIR *, (int fd));
|
_GL_FUNCDECL_RPL (fdopendir, DIR *,
|
||||||
|
(int fd)
|
||||||
|
_GL_ATTRIBUTE_MALLOC _GL_ATTRIBUTE_DEALLOC (closedir, 1));
|
||||||
_GL_CXXALIAS_RPL (fdopendir, DIR *, (int fd));
|
_GL_CXXALIAS_RPL (fdopendir, DIR *, (int fd));
|
||||||
# else
|
# else
|
||||||
# if !@HAVE_FDOPENDIR@ || !@HAVE_DECL_FDOPENDIR@
|
# if !@HAVE_FDOPENDIR@ || !@HAVE_DECL_FDOPENDIR@ || __GNUC__ >= 11
|
||||||
_GL_FUNCDECL_SYS (fdopendir, DIR *, (int fd));
|
_GL_FUNCDECL_SYS (fdopendir, DIR *,
|
||||||
|
(int fd)
|
||||||
|
_GL_ATTRIBUTE_MALLOC _GL_ATTRIBUTE_DEALLOC (closedir, 1));
|
||||||
# endif
|
# endif
|
||||||
_GL_CXXALIAS_SYS (fdopendir, DIR *, (int fd));
|
_GL_CXXALIAS_SYS (fdopendir, DIR *, (int fd));
|
||||||
# endif
|
# endif
|
||||||
_GL_CXXALIASWARN (fdopendir);
|
_GL_CXXALIASWARN (fdopendir);
|
||||||
#elif defined GNULIB_POSIXCHECK
|
#else
|
||||||
|
# if @GNULIB_CLOSEDIR@ && __GNUC__ >= 11 && !defined fdopendir
|
||||||
|
/* For -Wmismatched-dealloc: Associate fdopendir with closedir or
|
||||||
|
rpl_closedir. */
|
||||||
|
_GL_FUNCDECL_SYS (fdopendir, DIR *,
|
||||||
|
(int fd)
|
||||||
|
_GL_ATTRIBUTE_MALLOC _GL_ATTRIBUTE_DEALLOC (closedir, 1));
|
||||||
|
# endif
|
||||||
|
# if defined GNULIB_POSIXCHECK
|
||||||
# undef fdopendir
|
# undef fdopendir
|
||||||
# if HAVE_RAW_DECL_FDOPENDIR
|
# if HAVE_RAW_DECL_FDOPENDIR
|
||||||
_GL_WARN_ON_USE (fdopendir, "fdopendir is unportable - "
|
_GL_WARN_ON_USE (fdopendir, "fdopendir is unportable - "
|
||||||
"use gnulib module fdopendir for portability");
|
"use gnulib module fdopendir for portability");
|
||||||
# endif
|
# endif
|
||||||
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if @GNULIB_SCANDIR@
|
#if @GNULIB_SCANDIR@
|
||||||
|
|
10
lib/dirfd.c
10
lib/dirfd.c
|
@ -2,12 +2,12 @@
|
||||||
|
|
||||||
Copyright (C) 2001, 2006, 2008-2021 Free Software Foundation, Inc.
|
Copyright (C) 2001, 2006, 2008-2021 Free Software Foundation, Inc.
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
This file is free software: you can redistribute it and/or modify
|
||||||
it under the terms of the GNU Lesser General Public License as published by
|
it under the terms of the GNU Lesser General Public License as
|
||||||
the Free Software Foundation; either version 3 of the License, or
|
published by the Free Software Foundation; either version 2.1 of the
|
||||||
(at your option) any later version.
|
License, or (at your option) any later version.
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
This file is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
GNU Lesser General Public License for more details.
|
GNU Lesser General Public License for more details.
|
||||||
|
|
|
@ -3,12 +3,12 @@
|
||||||
Copyright (C) 1990, 1998, 2000-2001, 2003-2006, 2009-2021 Free Software
|
Copyright (C) 1990, 1998, 2000-2001, 2003-2006, 2009-2021 Free Software
|
||||||
Foundation, Inc.
|
Foundation, Inc.
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
This file is free software: you can redistribute it and/or modify
|
||||||
it under the terms of the GNU Lesser General Public License as published by
|
it under the terms of the GNU Lesser General Public License as
|
||||||
the Free Software Foundation; either version 3 of the License, or
|
published by the Free Software Foundation; either version 2.1 of the
|
||||||
(at your option) any later version.
|
License, or (at your option) any later version.
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
This file is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
GNU Lesser General Public License for more details.
|
GNU Lesser General Public License for more details.
|
||||||
|
|
|
@ -3,12 +3,12 @@
|
||||||
Copyright (C) 1998, 2001, 2003-2006, 2009-2021 Free Software Foundation,
|
Copyright (C) 1998, 2001, 2003-2006, 2009-2021 Free Software Foundation,
|
||||||
Inc.
|
Inc.
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
This file is free software: you can redistribute it and/or modify
|
||||||
it under the terms of the GNU Lesser General Public License as published by
|
it under the terms of the GNU Lesser General Public License as
|
||||||
the Free Software Foundation; either version 3 of the License, or
|
published by the Free Software Foundation; either version 2.1 of the
|
||||||
(at your option) any later version.
|
License, or (at your option) any later version.
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
This file is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
GNU Lesser General Public License for more details.
|
GNU Lesser General Public License for more details.
|
||||||
|
@ -20,7 +20,7 @@
|
||||||
# define DIRNAME_H_ 1
|
# define DIRNAME_H_ 1
|
||||||
|
|
||||||
# include <stdbool.h>
|
# include <stdbool.h>
|
||||||
# include <stddef.h>
|
# include <stdlib.h>
|
||||||
# include "filename.h"
|
# include "filename.h"
|
||||||
# include "basename-lgpl.h"
|
# include "basename-lgpl.h"
|
||||||
|
|
||||||
|
@ -33,11 +33,16 @@ extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
# if GNULIB_DIRNAME
|
# if GNULIB_DIRNAME
|
||||||
char *base_name (char const *file) _GL_ATTRIBUTE_MALLOC;
|
char *base_name (char const *file)
|
||||||
char *dir_name (char const *file);
|
_GL_ATTRIBUTE_MALLOC _GL_ATTRIBUTE_DEALLOC_FREE
|
||||||
|
_GL_ATTRIBUTE_RETURNS_NONNULL;
|
||||||
|
char *dir_name (char const *file)
|
||||||
|
_GL_ATTRIBUTE_MALLOC _GL_ATTRIBUTE_DEALLOC_FREE
|
||||||
|
_GL_ATTRIBUTE_RETURNS_NONNULL;
|
||||||
# endif
|
# endif
|
||||||
|
|
||||||
char *mdir_name (char const *file);
|
char *mdir_name (char const *file)
|
||||||
|
_GL_ATTRIBUTE_MALLOC _GL_ATTRIBUTE_DEALLOC_FREE;
|
||||||
size_t dir_len (char const *file) _GL_ATTRIBUTE_PURE;
|
size_t dir_len (char const *file) _GL_ATTRIBUTE_PURE;
|
||||||
|
|
||||||
bool strip_trailing_slashes (char *file);
|
bool strip_trailing_slashes (char *file);
|
||||||
|
|
10
lib/dup2.c
10
lib/dup2.c
|
@ -2,12 +2,12 @@
|
||||||
|
|
||||||
Copyright (C) 1999, 2004-2007, 2009-2021 Free Software Foundation, Inc.
|
Copyright (C) 1999, 2004-2007, 2009-2021 Free Software Foundation, Inc.
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
This file is free software: you can redistribute it and/or modify
|
||||||
it under the terms of the GNU Lesser General Public License as published by
|
it under the terms of the GNU Lesser General Public License as
|
||||||
the Free Software Foundation; either version 3 of the License, or
|
published by the Free Software Foundation; either version 2.1 of the
|
||||||
(at your option) any later version.
|
License, or (at your option) any later version.
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
This file is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
GNU Lesser General Public License for more details.
|
GNU Lesser General Public License for more details.
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
/* Duplicate a locale object.
|
/* Duplicate a locale object.
|
||||||
Copyright (C) 2009-2021 Free Software Foundation, Inc.
|
Copyright (C) 2009-2021 Free Software Foundation, Inc.
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
This file is free software: you can redistribute it and/or modify
|
||||||
it under the terms of the GNU Lesser General Public License as published by
|
it under the terms of the GNU Lesser General Public License as
|
||||||
the Free Software Foundation; either version 3 of the License, or
|
published by the Free Software Foundation; either version 3 of the
|
||||||
(at your option) any later version.
|
License, or (at your option) any later version.
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
This file is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
GNU Lesser General Public License for more details.
|
GNU Lesser General Public License for more details.
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
/* Type-safe arrays which grow dynamically.
|
/* Type-safe arrays which grow dynamically.
|
||||||
Copyright 2021 Free Software Foundation, Inc.
|
Copyright 2021 Free Software Foundation, Inc.
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
This file is free software: you can redistribute it and/or modify
|
||||||
it under the terms of the GNU Lesser General Public License as published by
|
it under the terms of the GNU Lesser General Public License as
|
||||||
the Free Software Foundation; either version 3 of the License, or
|
published by the Free Software Foundation; either version 2.1 of the
|
||||||
(at your option) any later version.
|
License, or (at your option) any later version.
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
This file is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
GNU Lesser General Public License for more details.
|
GNU Lesser General Public License for more details.
|
||||||
|
@ -257,18 +257,22 @@ static DYNARRAY_ELEMENT *
|
||||||
|
|
||||||
#if defined DYNARRAY_STRUCT || defined DYNARRAY_ELEMENT || defined DYNARRAY_PREFIX
|
#if defined DYNARRAY_STRUCT || defined DYNARRAY_ELEMENT || defined DYNARRAY_PREFIX
|
||||||
|
|
||||||
# include <libc-config.h>
|
# ifndef _GL_LIKELY
|
||||||
|
/* Rely on __builtin_expect, as provided by the module 'builtin-expect'. */
|
||||||
|
# define _GL_LIKELY(cond) __builtin_expect ((cond), 1)
|
||||||
|
# define _GL_UNLIKELY(cond) __builtin_expect ((cond), 0)
|
||||||
|
# endif
|
||||||
|
|
||||||
/* Define auxiliary structs and declare auxiliary functions, common to all
|
/* Define auxiliary structs and declare auxiliary functions, common to all
|
||||||
instantiations of dynarray. */
|
instantiations of dynarray. */
|
||||||
# include <malloc/dynarray.h>
|
# include <malloc/dynarray.gl.h>
|
||||||
|
|
||||||
/* Define the instantiation, specified through
|
/* Define the instantiation, specified through
|
||||||
DYNARRAY_STRUCT
|
DYNARRAY_STRUCT
|
||||||
DYNARRAY_ELEMENT
|
DYNARRAY_ELEMENT
|
||||||
DYNARRAY_PREFIX
|
DYNARRAY_PREFIX
|
||||||
etc. */
|
etc. */
|
||||||
# include <malloc/dynarray-skeleton.c>
|
# include <malloc/dynarray-skeleton.gl.h>
|
||||||
|
|
||||||
#else
|
#else
|
||||||
|
|
||||||
|
|
|
@ -2,18 +2,18 @@
|
||||||
|
|
||||||
Copyright (C) 2008-2021 Free Software Foundation, Inc.
|
Copyright (C) 2008-2021 Free Software Foundation, Inc.
|
||||||
|
|
||||||
This program is free software; you can redistribute it and/or modify
|
This file is free software: you can redistribute it and/or modify
|
||||||
it under the terms of the GNU Lesser General Public License as published by
|
it under the terms of the GNU Lesser General Public License as
|
||||||
the Free Software Foundation; either version 2, or (at your option)
|
published by the Free Software Foundation; either version 2.1 of the
|
||||||
any later version.
|
License, or (at your option) any later version.
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
This file is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
GNU Lesser General Public License for more details.
|
GNU Lesser General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU Lesser General Public License
|
You should have received a copy of the GNU Lesser General Public License
|
||||||
along with this program; if not, see <https://www.gnu.org/licenses/>. */
|
along with this program. If not, see <https://www.gnu.org/licenses/>. */
|
||||||
|
|
||||||
#ifndef _@GUARD_PREFIX@_ERRNO_H
|
#ifndef _@GUARD_PREFIX@_ERRNO_H
|
||||||
|
|
||||||
|
|
10
lib/fcntl.c
10
lib/fcntl.c
|
@ -2,12 +2,12 @@
|
||||||
|
|
||||||
Copyright (C) 2009-2021 Free Software Foundation, Inc.
|
Copyright (C) 2009-2021 Free Software Foundation, Inc.
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
This file is free software: you can redistribute it and/or modify
|
||||||
it under the terms of the GNU Lesser General Public License as published by
|
it under the terms of the GNU Lesser General Public License as
|
||||||
the Free Software Foundation; either version 3 of the License, or
|
published by the Free Software Foundation; either version 2.1 of the
|
||||||
(at your option) any later version.
|
License, or (at your option) any later version.
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
This file is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
GNU Lesser General Public License for more details.
|
GNU Lesser General Public License for more details.
|
||||||
|
|
|
@ -2,12 +2,12 @@
|
||||||
|
|
||||||
Copyright (C) 2006-2021 Free Software Foundation, Inc.
|
Copyright (C) 2006-2021 Free Software Foundation, Inc.
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
This file is free software: you can redistribute it and/or modify
|
||||||
it under the terms of the GNU Lesser General Public License as published by
|
it under the terms of the GNU Lesser General Public License as
|
||||||
the Free Software Foundation; either version 3 of the License, or
|
published by the Free Software Foundation; either version 2.1 of the
|
||||||
(at your option) any later version.
|
License, or (at your option) any later version.
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
This file is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
GNU Lesser General Public License for more details.
|
GNU Lesser General Public License for more details.
|
||||||
|
|
|
@ -2,15 +2,15 @@
|
||||||
Copyright (C) 2009-2021 Free Software Foundation, Inc.
|
Copyright (C) 2009-2021 Free Software Foundation, Inc.
|
||||||
Written by Bruno Haible <bruno@clisp.org>, 2009.
|
Written by Bruno Haible <bruno@clisp.org>, 2009.
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify it
|
This file is free software: you can redistribute it and/or modify
|
||||||
under the terms of the GNU Lesser General Public License as published
|
it under the terms of the GNU Lesser General Public License as
|
||||||
by the Free Software Foundation; either version 3 of the License, or
|
published by the Free Software Foundation; either version 2.1 of the
|
||||||
(at your option) any later version.
|
License, or (at your option) any later version.
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
This file is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
Lesser General Public License for more details.
|
GNU Lesser General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU Lesser General Public License
|
You should have received a copy of the GNU Lesser General Public License
|
||||||
along with this program. If not, see <https://www.gnu.org/licenses/>. */
|
along with this program. If not, see <https://www.gnu.org/licenses/>. */
|
||||||
|
|
|
@ -1,15 +1,15 @@
|
||||||
/* Hook for making file descriptor functions close(), ioctl() extensible.
|
/* Hook for making file descriptor functions close(), ioctl() extensible.
|
||||||
Copyright (C) 2009-2021 Free Software Foundation, Inc.
|
Copyright (C) 2009-2021 Free Software Foundation, Inc.
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify it
|
This file is free software: you can redistribute it and/or modify
|
||||||
under the terms of the GNU Lesser General Public License as published
|
it under the terms of the GNU Lesser General Public License as
|
||||||
by the Free Software Foundation; either version 3 of the License, or
|
published by the Free Software Foundation; either version 2.1 of the
|
||||||
(at your option) any later version.
|
License, or (at your option) any later version.
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
This file is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
Lesser General Public License for more details.
|
GNU Lesser General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU Lesser General Public License
|
You should have received a copy of the GNU Lesser General Public License
|
||||||
along with this program. If not, see <https://www.gnu.org/licenses/>. */
|
along with this program. If not, see <https://www.gnu.org/licenses/>. */
|
||||||
|
|
12
lib/float+.h
12
lib/float+.h
|
@ -2,18 +2,18 @@
|
||||||
Copyright (C) 2007, 2009-2021 Free Software Foundation, Inc.
|
Copyright (C) 2007, 2009-2021 Free Software Foundation, Inc.
|
||||||
Written by Bruno Haible <bruno@clisp.org>, 2007.
|
Written by Bruno Haible <bruno@clisp.org>, 2007.
|
||||||
|
|
||||||
This program is free software; you can redistribute it and/or modify
|
This file is free software: you can redistribute it and/or modify
|
||||||
it under the terms of the GNU Lesser General Public License as published by
|
it under the terms of the GNU Lesser General Public License as
|
||||||
the Free Software Foundation; either version 2, or (at your option)
|
published by the Free Software Foundation; either version 2.1 of the
|
||||||
any later version.
|
License, or (at your option) any later version.
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
This file is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
GNU Lesser General Public License for more details.
|
GNU Lesser General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU Lesser General Public License
|
You should have received a copy of the GNU Lesser General Public License
|
||||||
along with this program; if not, see <https://www.gnu.org/licenses/>. */
|
along with this program. If not, see <https://www.gnu.org/licenses/>. */
|
||||||
|
|
||||||
#ifndef _FLOATPLUS_H
|
#ifndef _FLOATPLUS_H
|
||||||
#define _FLOATPLUS_H
|
#define _FLOATPLUS_H
|
||||||
|
|
10
lib/float.c
10
lib/float.c
|
@ -2,12 +2,12 @@
|
||||||
Copyright (C) 2011-2021 Free Software Foundation, Inc.
|
Copyright (C) 2011-2021 Free Software Foundation, Inc.
|
||||||
Written by Bruno Haible <bruno@clisp.org>, 2011.
|
Written by Bruno Haible <bruno@clisp.org>, 2011.
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
This file is free software: you can redistribute it and/or modify
|
||||||
it under the terms of the GNU Lesser General Public License as published by
|
it under the terms of the GNU Lesser General Public License as
|
||||||
the Free Software Foundation; either version 3 of the License, or
|
published by the Free Software Foundation; either version 2.1 of the
|
||||||
(at your option) any later version.
|
License, or (at your option) any later version.
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
This file is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
GNU Lesser General Public License for more details.
|
GNU Lesser General Public License for more details.
|
||||||
|
|
|
@ -2,12 +2,12 @@
|
||||||
|
|
||||||
Copyright (C) 2007-2021 Free Software Foundation, Inc.
|
Copyright (C) 2007-2021 Free Software Foundation, Inc.
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
This file is free software: you can redistribute it and/or modify
|
||||||
it under the terms of the GNU Lesser General Public License as published by
|
it under the terms of the GNU Lesser General Public License as
|
||||||
the Free Software Foundation; either version 3 of the License, or
|
published by the Free Software Foundation; either version 2.1 of the
|
||||||
(at your option) any later version.
|
License, or (at your option) any later version.
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
This file is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
GNU Lesser General Public License for more details.
|
GNU Lesser General Public License for more details.
|
||||||
|
|
10
lib/floor.c
10
lib/floor.c
|
@ -1,12 +1,12 @@
|
||||||
/* Round towards negative infinity.
|
/* Round towards negative infinity.
|
||||||
Copyright (C) 2007, 2010-2021 Free Software Foundation, Inc.
|
Copyright (C) 2007, 2010-2021 Free Software Foundation, Inc.
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
This file is free software: you can redistribute it and/or modify
|
||||||
it under the terms of the GNU Lesser General Public License as published by
|
it under the terms of the GNU Lesser General Public License as
|
||||||
the Free Software Foundation; either version 3 of the License, or
|
published by the Free Software Foundation; either version 3 of the
|
||||||
(at your option) any later version.
|
License, or (at your option) any later version.
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
This file is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
GNU Lesser General Public License for more details.
|
GNU Lesser General Public License for more details.
|
||||||
|
|
10
lib/free.c
10
lib/free.c
|
@ -2,12 +2,12 @@
|
||||||
|
|
||||||
Copyright (C) 2003, 2006, 2009-2021 Free Software Foundation, Inc.
|
Copyright (C) 2003, 2006, 2009-2021 Free Software Foundation, Inc.
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
This file is free software: you can redistribute it and/or modify
|
||||||
it under the terms of the GNU Lesser General Public License as published by
|
it under the terms of the GNU Lesser General Public License as
|
||||||
the Free Software Foundation; either version 3 of the License, or
|
published by the Free Software Foundation; either version 2.1 of the
|
||||||
(at your option) any later version.
|
License, or (at your option) any later version.
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
This file is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
GNU Lesser General Public License for more details.
|
GNU Lesser General Public License for more details.
|
||||||
|
|
10
lib/frexp.c
10
lib/frexp.c
|
@ -1,12 +1,12 @@
|
||||||
/* Split a double into fraction and mantissa.
|
/* Split a double into fraction and mantissa.
|
||||||
Copyright (C) 2007-2021 Free Software Foundation, Inc.
|
Copyright (C) 2007-2021 Free Software Foundation, Inc.
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
This file is free software: you can redistribute it and/or modify
|
||||||
it under the terms of the GNU Lesser General Public License as published by
|
it under the terms of the GNU Lesser General Public License as
|
||||||
the Free Software Foundation; either version 3 of the License, or
|
published by the Free Software Foundation; either version 2.1 of the
|
||||||
(at your option) any later version.
|
License, or (at your option) any later version.
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
This file is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
GNU Lesser General Public License for more details.
|
GNU Lesser General Public License for more details.
|
||||||
|
|
10
lib/fstat.c
10
lib/fstat.c
|
@ -1,12 +1,12 @@
|
||||||
/* fstat() replacement.
|
/* fstat() replacement.
|
||||||
Copyright (C) 2011-2021 Free Software Foundation, Inc.
|
Copyright (C) 2011-2021 Free Software Foundation, Inc.
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
This file is free software: you can redistribute it and/or modify
|
||||||
it under the terms of the GNU Lesser General Public License as published by
|
it under the terms of the GNU Lesser General Public License as
|
||||||
the Free Software Foundation; either version 3 of the License, or
|
published by the Free Software Foundation; either version 2.1 of the
|
||||||
(at your option) any later version.
|
License, or (at your option) any later version.
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
This file is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
GNU Lesser General Public License for more details.
|
GNU Lesser General Public License for more details.
|
||||||
|
|
14
lib/fsync.c
14
lib/fsync.c
|
@ -9,15 +9,15 @@
|
||||||
|
|
||||||
Copyright (C) 2008-2021 Free Software Foundation, Inc.
|
Copyright (C) 2008-2021 Free Software Foundation, Inc.
|
||||||
|
|
||||||
This library is free software; you can redistribute it and/or
|
This file is free software: you can redistribute it and/or modify
|
||||||
modify it under the terms of the GNU Lesser General Public
|
it under the terms of the GNU Lesser General Public License as
|
||||||
License as published by the Free Software Foundation; either
|
published by the Free Software Foundation; either version 2.1 of the
|
||||||
version 2.1 of the License, or (at your option) any later version.
|
License, or (at your option) any later version.
|
||||||
|
|
||||||
This library is distributed in the hope that it will be useful,
|
This file is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
Lesser General Public License for more details.
|
GNU Lesser General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU Lesser General Public License
|
You should have received a copy of the GNU Lesser General Public License
|
||||||
along with this program. If not, see <https://www.gnu.org/licenses/>. */
|
along with this program. If not, see <https://www.gnu.org/licenses/>. */
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
/* An interface to read that retries after partial reads and interrupts.
|
/* An interface to read that retries after partial reads and interrupts.
|
||||||
Copyright (C) 2002-2003, 2009-2021 Free Software Foundation, Inc.
|
Copyright (C) 2002-2003, 2009-2021 Free Software Foundation, Inc.
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
This file is free software: you can redistribute it and/or modify
|
||||||
it under the terms of the GNU Lesser General Public License as published by
|
it under the terms of the GNU Lesser General Public License as
|
||||||
the Free Software Foundation; either version 3 of the License, or
|
published by the Free Software Foundation; either version 2.1 of the
|
||||||
(at your option) any later version.
|
License, or (at your option) any later version.
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
This file is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
GNU Lesser General Public License for more details.
|
GNU Lesser General Public License for more details.
|
||||||
|
|
|
@ -2,12 +2,12 @@
|
||||||
|
|
||||||
Copyright (C) 2002, 2009-2021 Free Software Foundation, Inc.
|
Copyright (C) 2002, 2009-2021 Free Software Foundation, Inc.
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
This file is free software: you can redistribute it and/or modify
|
||||||
it under the terms of the GNU Lesser General Public License as published by
|
it under the terms of the GNU Lesser General Public License as
|
||||||
the Free Software Foundation; either version 3 of the License, or
|
published by the Free Software Foundation; either version 2.1 of the
|
||||||
(at your option) any later version.
|
License, or (at your option) any later version.
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
This file is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
GNU Lesser General Public License for more details.
|
GNU Lesser General Public License for more details.
|
||||||
|
|
|
@ -2,12 +2,12 @@
|
||||||
|
|
||||||
Copyright (C) 1993-1994, 1997-2006, 2009-2021 Free Software Foundation, Inc.
|
Copyright (C) 1993-1994, 1997-2006, 2009-2021 Free Software Foundation, Inc.
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
This file is free software: you can redistribute it and/or modify
|
||||||
it under the terms of the GNU Lesser General Public License as published by
|
it under the terms of the GNU Lesser General Public License as
|
||||||
the Free Software Foundation; either version 3 of the License, or
|
published by the Free Software Foundation; either version 2.1 of the
|
||||||
(at your option) any later version.
|
License, or (at your option) any later version.
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
This file is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
GNU Lesser General Public License for more details.
|
GNU Lesser General Public License for more details.
|
||||||
|
|
|
@ -2,12 +2,12 @@
|
||||||
|
|
||||||
Copyright (C) 2002-2003, 2009-2021 Free Software Foundation, Inc.
|
Copyright (C) 2002-2003, 2009-2021 Free Software Foundation, Inc.
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
This file is free software: you can redistribute it and/or modify
|
||||||
it under the terms of the GNU Lesser General Public License as published by
|
it under the terms of the GNU Lesser General Public License as
|
||||||
the Free Software Foundation; either version 3 of the License, or
|
published by the Free Software Foundation; either version 2.1 of the
|
||||||
(at your option) any later version.
|
License, or (at your option) any later version.
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
This file is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
GNU Lesser General Public License for more details.
|
GNU Lesser General Public License for more details.
|
||||||
|
|
|
@ -3,18 +3,18 @@
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
Contributed by Philip Blundell <pjb27@cam.ac.uk>, 1997.
|
Contributed by Philip Blundell <pjb27@cam.ac.uk>, 1997.
|
||||||
|
|
||||||
This program is free software; you can redistribute it and/or modify
|
This file is free software: you can redistribute it and/or modify
|
||||||
it under the terms of the GNU Lesser General Public License as published by
|
it under the terms of the GNU Lesser General Public License as
|
||||||
the Free Software Foundation; either version 2, or (at your option)
|
published by the Free Software Foundation; either version 2.1 of the
|
||||||
any later version.
|
License, or (at your option) any later version.
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
This file is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
GNU Lesser General Public License for more details.
|
GNU Lesser General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU Lesser General Public License
|
You should have received a copy of the GNU Lesser General Public License
|
||||||
along with this program; if not, see <https://www.gnu.org/licenses/>. */
|
along with this program. If not, see <https://www.gnu.org/licenses/>. */
|
||||||
|
|
||||||
#ifndef _LIBC
|
#ifndef _LIBC
|
||||||
# include <config.h>
|
# include <config.h>
|
||||||
|
|
|
@ -2,18 +2,18 @@
|
||||||
Copyright (C) 1997, 2001-2002, 2004-2021 Free Software Foundation, Inc.
|
Copyright (C) 1997, 2001-2002, 2004-2021 Free Software Foundation, Inc.
|
||||||
Contributed by Simon Josefsson <simon@josefsson.org>.
|
Contributed by Simon Josefsson <simon@josefsson.org>.
|
||||||
|
|
||||||
This program is free software; you can redistribute it and/or modify
|
This file is free software: you can redistribute it and/or modify
|
||||||
it under the terms of the GNU Lesser General Public License as published by
|
it under the terms of the GNU Lesser General Public License as
|
||||||
the Free Software Foundation; either version 2, or (at your option)
|
published by the Free Software Foundation; either version 2.1 of the
|
||||||
any later version.
|
License, or (at your option) any later version.
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
This file is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
GNU Lesser General Public License for more details.
|
GNU Lesser General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU Lesser General Public License
|
You should have received a copy of the GNU Lesser General Public License
|
||||||
along with this program; if not, see <https://www.gnu.org/licenses/>. */
|
along with this program. If not, see <https://www.gnu.org/licenses/>. */
|
||||||
|
|
||||||
/* Don't use __attribute__ __nonnull__ in this compilation unit. Otherwise gcc
|
/* Don't use __attribute__ __nonnull__ in this compilation unit. Otherwise gcc
|
||||||
optimizes away the sa == NULL test below. */
|
optimizes away the sa == NULL test below. */
|
||||||
|
|
|
@ -2,12 +2,12 @@
|
||||||
Copyright (C) 2008-2021 Free Software Foundation, Inc.
|
Copyright (C) 2008-2021 Free Software Foundation, Inc.
|
||||||
Written by Bruno Haible <bruno@clisp.org>, 2008.
|
Written by Bruno Haible <bruno@clisp.org>, 2008.
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
This file is free software: you can redistribute it and/or modify
|
||||||
it under the terms of the GNU Lesser General Public License as published by
|
it under the terms of the GNU Lesser General Public License as
|
||||||
the Free Software Foundation; either version 3 of the License, or
|
published by the Free Software Foundation; either version 2.1 of the
|
||||||
(at your option) any later version.
|
License, or (at your option) any later version.
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
This file is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
GNU Lesser General Public License for more details.
|
GNU Lesser General Public License for more details.
|
||||||
|
|
|
@ -2,12 +2,12 @@
|
||||||
|
|
||||||
Copyright (C) 2010-2021 Free Software Foundation, Inc.
|
Copyright (C) 2010-2021 Free Software Foundation, Inc.
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
This file is free software: you can redistribute it and/or modify
|
||||||
it under the terms of the GNU Lesser General Public License as published by
|
it under the terms of the GNU Lesser General Public License as
|
||||||
the Free Software Foundation; either version 3 of the License, or
|
published by the Free Software Foundation; either version 2.1 of the
|
||||||
(at your option) any later version.
|
License, or (at your option) any later version.
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
This file is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
GNU Lesser General Public License for more details.
|
GNU Lesser General Public License for more details.
|
||||||
|
|
|
@ -2,12 +2,12 @@
|
||||||
|
|
||||||
Copyright (C) 2008-2021 Free Software Foundation, Inc.
|
Copyright (C) 2008-2021 Free Software Foundation, Inc.
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
This file is free software: you can redistribute it and/or modify
|
||||||
it under the terms of the GNU Lesser General Public License as published by
|
it under the terms of the GNU Lesser General Public License as
|
||||||
the Free Software Foundation; either version 3 of the License, or
|
published by the Free Software Foundation; either version 2.1 of the
|
||||||
(at your option) any later version.
|
License, or (at your option) any later version.
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
This file is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
GNU Lesser General Public License for more details.
|
GNU Lesser General Public License for more details.
|
||||||
|
|
|
@ -2,12 +2,12 @@
|
||||||
|
|
||||||
Copyright 2020-2021 Free Software Foundation, Inc.
|
Copyright 2020-2021 Free Software Foundation, Inc.
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
This file is free software: you can redistribute it and/or modify
|
||||||
it under the terms of the GNU Lesser General Public License as published by
|
it under the terms of the GNU Lesser General Public License as
|
||||||
the Free Software Foundation; either version 3 of the License, or
|
published by the Free Software Foundation; either version 2.1 of the
|
||||||
(at your option) any later version.
|
License, or (at your option) any later version.
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
This file is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
GNU Lesser General Public License for more details.
|
GNU Lesser General Public License for more details.
|
||||||
|
@ -178,7 +178,11 @@ getrandom (void *buffer, size_t length, unsigned int flags)
|
||||||
+ (flags & GRND_NONBLOCK ? O_NONBLOCK : 0));
|
+ (flags & GRND_NONBLOCK ? O_NONBLOCK : 0));
|
||||||
fd = open (randdevice[devrandom], oflags);
|
fd = open (randdevice[devrandom], oflags);
|
||||||
if (fd < 0)
|
if (fd < 0)
|
||||||
return fd;
|
{
|
||||||
|
if (errno == ENOENT || errno == ENOTDIR)
|
||||||
|
errno = ENOSYS;
|
||||||
|
return -1;
|
||||||
|
}
|
||||||
randfd[devrandom] = fd;
|
randfd[devrandom] = fd;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -2,12 +2,12 @@
|
||||||
|
|
||||||
Copyright (C) 2008-2021 Free Software Foundation, Inc.
|
Copyright (C) 2008-2021 Free Software Foundation, Inc.
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
This file is free software: you can redistribute it and/or modify
|
||||||
it under the terms of the GNU Lesser General Public License as published by
|
it under the terms of the GNU Lesser General Public License as
|
||||||
the Free Software Foundation; either version 3 of the License, or
|
published by the Free Software Foundation; either version 2.1 of the
|
||||||
(at your option) any later version.
|
License, or (at your option) any later version.
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
This file is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
GNU Lesser General Public License for more details.
|
GNU Lesser General Public License for more details.
|
||||||
|
|
|
@ -2,12 +2,12 @@
|
||||||
|
|
||||||
Copyright (C) 2008-2021 Free Software Foundation, Inc.
|
Copyright (C) 2008-2021 Free Software Foundation, Inc.
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
This file is free software: you can redistribute it and/or modify
|
||||||
it under the terms of the GNU Lesser General Public License as published by
|
it under the terms of the GNU Lesser General Public License as
|
||||||
the Free Software Foundation; either version 3 of the License, or
|
published by the Free Software Foundation; either version 2.1 of the
|
||||||
(at your option) any later version.
|
License, or (at your option) any later version.
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
This file is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
GNU Lesser General Public License for more details.
|
GNU Lesser General Public License for more details.
|
||||||
|
|
|
@ -2,18 +2,18 @@
|
||||||
Copyright (C) 1995-1998, 2000-2002, 2004-2006, 2009-2021 Free Software
|
Copyright (C) 1995-1998, 2000-2002, 2004-2006, 2009-2021 Free Software
|
||||||
Foundation, Inc.
|
Foundation, Inc.
|
||||||
|
|
||||||
This program is free software; you can redistribute it and/or modify
|
This file is free software: you can redistribute it and/or modify
|
||||||
it under the terms of the GNU Lesser General Public License as published by
|
it under the terms of the GNU Lesser General Public License as
|
||||||
the Free Software Foundation; either version 2, or (at your option)
|
published by the Free Software Foundation; either version 2.1 of the
|
||||||
any later version.
|
License, or (at your option) any later version.
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
This file is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
GNU Lesser General Public License for more details.
|
GNU Lesser General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU Lesser General Public License along
|
You should have received a copy of the GNU Lesser General Public License
|
||||||
with this program; if not, see <https://www.gnu.org/licenses/>. */
|
along with this program. If not, see <https://www.gnu.org/licenses/>. */
|
||||||
|
|
||||||
#ifndef _LIBGETTEXT_H
|
#ifndef _LIBGETTEXT_H
|
||||||
#define _LIBGETTEXT_H 1
|
#define _LIBGETTEXT_H 1
|
||||||
|
|
|
@ -3,12 +3,12 @@
|
||||||
Copyright (C) 1997-1999, 2002-2004, 2006-2007, 2009-2021 Free Software
|
Copyright (C) 1997-1999, 2002-2004, 2006-2007, 2009-2021 Free Software
|
||||||
Foundation, Inc.
|
Foundation, Inc.
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
This file is free software: you can redistribute it and/or modify
|
||||||
it under the terms of the GNU Lesser General Public License as published by
|
it under the terms of the GNU Lesser General Public License as
|
||||||
the Free Software Foundation; either version 3 of the License, or
|
published by the Free Software Foundation; either version 2.1 of the
|
||||||
(at your option) any later version.
|
License, or (at your option) any later version.
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
This file is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
GNU Lesser General Public License for more details.
|
GNU Lesser General Public License for more details.
|
||||||
|
|
|
@ -2,12 +2,12 @@
|
||||||
|
|
||||||
Copyright (C) 1999, 2003-2004, 2009-2021 Free Software Foundation, Inc.
|
Copyright (C) 1999, 2003-2004, 2009-2021 Free Software Foundation, Inc.
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
This file is free software: you can redistribute it and/or modify
|
||||||
it under the terms of the GNU Lesser General Public License as published by
|
it under the terms of the GNU Lesser General Public License as
|
||||||
the Free Software Foundation; either version 3 of the License, or
|
published by the Free Software Foundation; either version 2.1 of the
|
||||||
(at your option) any later version.
|
License, or (at your option) any later version.
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
This file is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
GNU Lesser General Public License for more details.
|
GNU Lesser General Public License for more details.
|
||||||
|
|
14
lib/iconv.c
14
lib/iconv.c
|
@ -1,18 +1,18 @@
|
||||||
/* Character set conversion.
|
/* Character set conversion.
|
||||||
Copyright (C) 1999-2001, 2007, 2009-2021 Free Software Foundation, Inc.
|
Copyright (C) 1999-2001, 2007, 2009-2021 Free Software Foundation, Inc.
|
||||||
|
|
||||||
This program is free software; you can redistribute it and/or modify
|
This file is free software: you can redistribute it and/or modify
|
||||||
it under the terms of the GNU Lesser General Public License as published by
|
it under the terms of the GNU Lesser General Public License as
|
||||||
the Free Software Foundation; either version 2, or (at your option)
|
published by the Free Software Foundation; either version 2.1 of the
|
||||||
any later version.
|
License, or (at your option) any later version.
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
This file is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
GNU Lesser General Public License for more details.
|
GNU Lesser General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU Lesser General Public License along
|
You should have received a copy of the GNU Lesser General Public License
|
||||||
with this program; if not, see <https://www.gnu.org/licenses/>. */
|
along with this program. If not, see <https://www.gnu.org/licenses/>. */
|
||||||
|
|
||||||
#include <config.h>
|
#include <config.h>
|
||||||
|
|
||||||
|
|
|
@ -2,18 +2,18 @@
|
||||||
|
|
||||||
Copyright (C) 2007-2021 Free Software Foundation, Inc.
|
Copyright (C) 2007-2021 Free Software Foundation, Inc.
|
||||||
|
|
||||||
This program is free software; you can redistribute it and/or modify
|
This file is free software: you can redistribute it and/or modify
|
||||||
it under the terms of the GNU Lesser General Public License as published by
|
it under the terms of the GNU Lesser General Public License as
|
||||||
the Free Software Foundation; either version 2, or (at your option)
|
published by the Free Software Foundation; either version 2.1 of the
|
||||||
any later version.
|
License, or (at your option) any later version.
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
This file is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
GNU Lesser General Public License for more details.
|
GNU Lesser General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU Lesser General Public License
|
You should have received a copy of the GNU Lesser General Public License
|
||||||
along with this program; if not, see <https://www.gnu.org/licenses/>. */
|
along with this program. If not, see <https://www.gnu.org/licenses/>. */
|
||||||
|
|
||||||
#ifndef _@GUARD_PREFIX@_ICONV_H
|
#ifndef _@GUARD_PREFIX@_ICONV_H
|
||||||
|
|
||||||
|
|
|
@ -1,18 +1,18 @@
|
||||||
/* Character set conversion.
|
/* Character set conversion.
|
||||||
Copyright (C) 2007, 2009-2021 Free Software Foundation, Inc.
|
Copyright (C) 2007, 2009-2021 Free Software Foundation, Inc.
|
||||||
|
|
||||||
This program is free software; you can redistribute it and/or modify
|
This file is free software: you can redistribute it and/or modify
|
||||||
it under the terms of the GNU Lesser General Public License as published by
|
it under the terms of the GNU Lesser General Public License as
|
||||||
the Free Software Foundation; either version 2, or (at your option)
|
published by the Free Software Foundation; either version 2.1 of the
|
||||||
any later version.
|
License, or (at your option) any later version.
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
This file is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
GNU Lesser General Public License for more details.
|
GNU Lesser General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU Lesser General Public License along
|
You should have received a copy of the GNU Lesser General Public License
|
||||||
with this program; if not, see <https://www.gnu.org/licenses/>. */
|
along with this program. If not, see <https://www.gnu.org/licenses/>. */
|
||||||
|
|
||||||
#include <config.h>
|
#include <config.h>
|
||||||
|
|
||||||
|
|
|
@ -1,18 +1,18 @@
|
||||||
/* Character set conversion.
|
/* Character set conversion.
|
||||||
Copyright (C) 2007, 2020-2021 Free Software Foundation, Inc.
|
Copyright (C) 2007, 2020-2021 Free Software Foundation, Inc.
|
||||||
|
|
||||||
This program is free software; you can redistribute it and/or modify
|
This file is free software: you can redistribute it and/or modify
|
||||||
it under the terms of the GNU Lesser General Public License as published by
|
it under the terms of the GNU Lesser General Public License as
|
||||||
the Free Software Foundation; either version 2, or (at your option)
|
published by the Free Software Foundation; either version 2.1 of the
|
||||||
any later version.
|
License, or (at your option) any later version.
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
This file is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
GNU Lesser General Public License for more details.
|
GNU Lesser General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU Lesser General Public License along
|
You should have received a copy of the GNU Lesser General Public License
|
||||||
with this program; if not, see <https://www.gnu.org/licenses/>. */
|
along with this program. If not, see <https://www.gnu.org/licenses/>. */
|
||||||
|
|
||||||
struct mapping { int standard_name; const char vendor_name[10 + 1]; };
|
struct mapping { int standard_name; const char vendor_name[10 + 1]; };
|
||||||
%struct-type
|
%struct-type
|
||||||
|
|
|
@ -1,18 +1,18 @@
|
||||||
/* Character set conversion.
|
/* Character set conversion.
|
||||||
Copyright (C) 2007, 2020-2021 Free Software Foundation, Inc.
|
Copyright (C) 2007, 2020-2021 Free Software Foundation, Inc.
|
||||||
|
|
||||||
This program is free software; you can redistribute it and/or modify
|
This file is free software: you can redistribute it and/or modify
|
||||||
it under the terms of the GNU Lesser General Public License as published by
|
it under the terms of the GNU Lesser General Public License as
|
||||||
the Free Software Foundation; either version 2, or (at your option)
|
published by the Free Software Foundation; either version 2.1 of the
|
||||||
any later version.
|
License, or (at your option) any later version.
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
This file is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
GNU Lesser General Public License for more details.
|
GNU Lesser General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU Lesser General Public License along
|
You should have received a copy of the GNU Lesser General Public License
|
||||||
with this program; if not, see <https://www.gnu.org/licenses/>. */
|
along with this program. If not, see <https://www.gnu.org/licenses/>. */
|
||||||
|
|
||||||
struct mapping { int standard_name; const char vendor_name[9 + 1]; };
|
struct mapping { int standard_name; const char vendor_name[9 + 1]; };
|
||||||
%struct-type
|
%struct-type
|
||||||
|
|
|
@ -1,18 +1,18 @@
|
||||||
/* Character set conversion.
|
/* Character set conversion.
|
||||||
Copyright (C) 2007, 2020-2021 Free Software Foundation, Inc.
|
Copyright (C) 2007, 2020-2021 Free Software Foundation, Inc.
|
||||||
|
|
||||||
This program is free software; you can redistribute it and/or modify
|
This file is free software: you can redistribute it and/or modify
|
||||||
it under the terms of the GNU Lesser General Public License as published by
|
it under the terms of the GNU Lesser General Public License as
|
||||||
the Free Software Foundation; either version 2, or (at your option)
|
published by the Free Software Foundation; either version 2.1 of the
|
||||||
any later version.
|
License, or (at your option) any later version.
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
This file is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
GNU Lesser General Public License for more details.
|
GNU Lesser General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU Lesser General Public License along
|
You should have received a copy of the GNU Lesser General Public License
|
||||||
with this program; if not, see <https://www.gnu.org/licenses/>. */
|
along with this program. If not, see <https://www.gnu.org/licenses/>. */
|
||||||
|
|
||||||
struct mapping { int standard_name; const char vendor_name[10 + 1]; };
|
struct mapping { int standard_name; const char vendor_name[10 + 1]; };
|
||||||
%struct-type
|
%struct-type
|
||||||
|
|
|
@ -1,18 +1,18 @@
|
||||||
/* Character set conversion.
|
/* Character set conversion.
|
||||||
Copyright (C) 2007, 2020-2021 Free Software Foundation, Inc.
|
Copyright (C) 2007, 2020-2021 Free Software Foundation, Inc.
|
||||||
|
|
||||||
This program is free software; you can redistribute it and/or modify
|
This file is free software: you can redistribute it and/or modify
|
||||||
it under the terms of the GNU Lesser General Public License as published by
|
it under the terms of the GNU Lesser General Public License as
|
||||||
the Free Software Foundation; either version 2, or (at your option)
|
published by the Free Software Foundation; either version 2.1 of the
|
||||||
any later version.
|
License, or (at your option) any later version.
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
This file is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
GNU Lesser General Public License for more details.
|
GNU Lesser General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU Lesser General Public License along
|
You should have received a copy of the GNU Lesser General Public License
|
||||||
with this program; if not, see <https://www.gnu.org/licenses/>. */
|
along with this program. If not, see <https://www.gnu.org/licenses/>. */
|
||||||
|
|
||||||
struct mapping { int standard_name; const char vendor_name[10 + 1]; };
|
struct mapping { int standard_name; const char vendor_name[10 + 1]; };
|
||||||
%struct-type
|
%struct-type
|
||||||
|
|
|
@ -1,18 +1,18 @@
|
||||||
/* Character set conversion.
|
/* Character set conversion.
|
||||||
Copyright (C) 2007, 2009, 2020-2021 Free Software Foundation, Inc.
|
Copyright (C) 2007, 2009, 2020-2021 Free Software Foundation, Inc.
|
||||||
|
|
||||||
This program is free software; you can redistribute it and/or modify
|
This file is free software: you can redistribute it and/or modify
|
||||||
it under the terms of the GNU Lesser General Public License as published by
|
it under the terms of the GNU Lesser General Public License as
|
||||||
the Free Software Foundation; either version 2, or (at your option)
|
published by the Free Software Foundation; either version 2.1 of the
|
||||||
any later version.
|
License, or (at your option) any later version.
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
This file is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
GNU Lesser General Public License for more details.
|
GNU Lesser General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU Lesser General Public License along
|
You should have received a copy of the GNU Lesser General Public License
|
||||||
with this program; if not, see <https://www.gnu.org/licenses/>. */
|
along with this program. If not, see <https://www.gnu.org/licenses/>. */
|
||||||
|
|
||||||
struct mapping { int standard_name; const char vendor_name[10 + 1]; };
|
struct mapping { int standard_name; const char vendor_name[10 + 1]; };
|
||||||
%struct-type
|
%struct-type
|
||||||
|
|
|
@ -1,18 +1,18 @@
|
||||||
/* Character set conversion.
|
/* Character set conversion.
|
||||||
Copyright (C) 2019-2021 Free Software Foundation, Inc.
|
Copyright (C) 2019-2021 Free Software Foundation, Inc.
|
||||||
|
|
||||||
This program is free software; you can redistribute it and/or modify
|
This file is free software: you can redistribute it and/or modify
|
||||||
it under the terms of the GNU Lesser General Public License as published by
|
it under the terms of the GNU Lesser General Public License as
|
||||||
the Free Software Foundation; either version 2, or (at your option)
|
published by the Free Software Foundation; either version 2.1 of the
|
||||||
any later version.
|
License, or (at your option) any later version.
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
This file is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
GNU Lesser General Public License for more details.
|
GNU Lesser General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU Lesser General Public License along
|
You should have received a copy of the GNU Lesser General Public License
|
||||||
with this program; if not, see <https://www.gnu.org/licenses/>. */
|
along with this program. If not, see <https://www.gnu.org/licenses/>. */
|
||||||
|
|
||||||
struct mapping { int standard_name; const char vendor_name[10 + 1]; };
|
struct mapping { int standard_name; const char vendor_name[10 + 1]; };
|
||||||
%struct-type
|
%struct-type
|
||||||
|
|
|
@ -1,18 +1,18 @@
|
||||||
/* Character set conversion.
|
/* Character set conversion.
|
||||||
Copyright (C) 2007, 2009-2021 Free Software Foundation, Inc.
|
Copyright (C) 2007, 2009-2021 Free Software Foundation, Inc.
|
||||||
|
|
||||||
This program is free software; you can redistribute it and/or modify
|
This file is free software: you can redistribute it and/or modify
|
||||||
it under the terms of the GNU Lesser General Public License as published by
|
it under the terms of the GNU Lesser General Public License as
|
||||||
the Free Software Foundation; either version 2, or (at your option)
|
published by the Free Software Foundation; either version 2.1 of the
|
||||||
any later version.
|
License, or (at your option) any later version.
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
This file is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
GNU Lesser General Public License for more details.
|
GNU Lesser General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU Lesser General Public License along
|
You should have received a copy of the GNU Lesser General Public License
|
||||||
with this program; if not, see <https://www.gnu.org/licenses/>. */
|
along with this program. If not, see <https://www.gnu.org/licenses/>. */
|
||||||
|
|
||||||
#include <config.h>
|
#include <config.h>
|
||||||
|
|
||||||
|
|
|
@ -2,12 +2,12 @@
|
||||||
Copyright (C) 2001-2007, 2009-2021 Free Software Foundation, Inc.
|
Copyright (C) 2001-2007, 2009-2021 Free Software Foundation, Inc.
|
||||||
Written by Bruno Haible.
|
Written by Bruno Haible.
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
This file is free software: you can redistribute it and/or modify
|
||||||
it under the terms of the GNU Lesser General Public License as published by
|
it under the terms of the GNU Lesser General Public License as
|
||||||
the Free Software Foundation; either version 3 of the License, or
|
published by the Free Software Foundation; either version 2.1 of the
|
||||||
(at your option) any later version.
|
License, or (at your option) any later version.
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
This file is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
GNU Lesser General Public License for more details.
|
GNU Lesser General Public License for more details.
|
||||||
|
|
|
@ -2,18 +2,18 @@
|
||||||
|
|
||||||
Copyright (C) 2005-2006, 2008-2021 Free Software Foundation, Inc.
|
Copyright (C) 2005-2006, 2008-2021 Free Software Foundation, Inc.
|
||||||
|
|
||||||
This program is free software; you can redistribute it and/or modify
|
This file is free software: you can redistribute it and/or modify
|
||||||
it under the terms of the GNU Lesser General Public License as published by
|
it under the terms of the GNU Lesser General Public License as
|
||||||
the Free Software Foundation; either version 2, or (at your option)
|
published by the Free Software Foundation; either version 2.1 of the
|
||||||
any later version.
|
License, or (at your option) any later version.
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
This file is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
GNU Lesser General Public License for more details.
|
GNU Lesser General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU Lesser General Public License
|
You should have received a copy of the GNU Lesser General Public License
|
||||||
along with this program; if not, see <https://www.gnu.org/licenses/>. */
|
along with this program. If not, see <https://www.gnu.org/licenses/>. */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 1996-1999 by Internet Software Consortium.
|
* Copyright (c) 1996-1999 by Internet Software Consortium.
|
||||||
|
|
|
@ -2,12 +2,12 @@
|
||||||
|
|
||||||
Copyright (C) 2006, 2008-2021 Free Software Foundation, Inc.
|
Copyright (C) 2006, 2008-2021 Free Software Foundation, Inc.
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
This file is free software: you can redistribute it and/or modify
|
||||||
it under the terms of the GNU Lesser General Public License as published by
|
it under the terms of the GNU Lesser General Public License as
|
||||||
the Free Software Foundation; either version 3 of the License, or
|
published by the Free Software Foundation; either version 2.1 of the
|
||||||
(at your option) any later version.
|
License, or (at your option) any later version.
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
This file is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
GNU Lesser General Public License for more details.
|
GNU Lesser General Public License for more details.
|
||||||
|
|
|
@ -2,12 +2,12 @@
|
||||||
Written by Paul Eggert, Bruno Haible, Derek Price.
|
Written by Paul Eggert, Bruno Haible, Derek Price.
|
||||||
This file is part of gnulib.
|
This file is part of gnulib.
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
This file is free software: you can redistribute it and/or modify
|
||||||
it under the terms of the GNU Lesser General Public License as published by
|
it under the terms of the GNU Lesser General Public License as
|
||||||
the Free Software Foundation; either version 3 of the License, or
|
published by the Free Software Foundation; either version 2.1 of the
|
||||||
(at your option) any later version.
|
License, or (at your option) any later version.
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
This file is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
GNU Lesser General Public License for more details.
|
GNU Lesser General Public License for more details.
|
||||||
|
|
|
@ -1,18 +1,18 @@
|
||||||
/* Test for finite value (zero, subnormal, or normal, and not infinite or NaN).
|
/* Test for finite value (zero, subnormal, or normal, and not infinite or NaN).
|
||||||
Copyright (C) 2007-2021 Free Software Foundation, Inc.
|
Copyright (C) 2007-2021 Free Software Foundation, Inc.
|
||||||
|
|
||||||
This program is free software; you can redistribute it and/or modify
|
This file is free software: you can redistribute it and/or modify
|
||||||
it under the terms of the GNU Lesser General Public License as published by
|
it under the terms of the GNU Lesser General Public License as
|
||||||
the Free Software Foundation; either version 2, or (at your option)
|
published by the Free Software Foundation; either version 3 of the
|
||||||
any later version.
|
License, or (at your option) any later version.
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
This file is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
GNU Lesser General Public License for more details.
|
GNU Lesser General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU Lesser General Public License along
|
You should have received a copy of the GNU Lesser General Public License
|
||||||
with this program; if not, see <https://www.gnu.org/licenses/>. */
|
along with this program. If not, see <https://www.gnu.org/licenses/>. */
|
||||||
|
|
||||||
/* Written by Ben Pfaff <blp@gnu.org>, 2007. */
|
/* Written by Ben Pfaff <blp@gnu.org>, 2007. */
|
||||||
|
|
||||||
|
|
14
lib/isinf.c
14
lib/isinf.c
|
@ -1,18 +1,18 @@
|
||||||
/* Test for positive or negative infinity.
|
/* Test for positive or negative infinity.
|
||||||
Copyright (C) 2007-2021 Free Software Foundation, Inc.
|
Copyright (C) 2007-2021 Free Software Foundation, Inc.
|
||||||
|
|
||||||
This program is free software; you can redistribute it and/or modify
|
This file is free software: you can redistribute it and/or modify
|
||||||
it under the terms of the GNU Lesser General Public License as published by
|
it under the terms of the GNU Lesser General Public License as
|
||||||
the Free Software Foundation; either version 2, or (at your option)
|
published by the Free Software Foundation; either version 3 of the
|
||||||
any later version.
|
License, or (at your option) any later version.
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
This file is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
GNU Lesser General Public License for more details.
|
GNU Lesser General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU Lesser General Public License along
|
You should have received a copy of the GNU Lesser General Public License
|
||||||
with this program; if not, see <https://www.gnu.org/licenses/>. */
|
along with this program. If not, see <https://www.gnu.org/licenses/>. */
|
||||||
|
|
||||||
/* Written by Ben Pfaff <blp@gnu.org>, 2008. */
|
/* Written by Ben Pfaff <blp@gnu.org>, 2008. */
|
||||||
|
|
||||||
|
|
10
lib/isnan.c
10
lib/isnan.c
|
@ -1,12 +1,12 @@
|
||||||
/* Test for NaN that does not need libm.
|
/* Test for NaN that does not need libm.
|
||||||
Copyright (C) 2007-2021 Free Software Foundation, Inc.
|
Copyright (C) 2007-2021 Free Software Foundation, Inc.
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
This file is free software: you can redistribute it and/or modify
|
||||||
it under the terms of the GNU Lesser General Public License as published by
|
it under the terms of the GNU Lesser General Public License as
|
||||||
the Free Software Foundation; either version 3 of the License, or
|
published by the Free Software Foundation; either version 2.1 of the
|
||||||
(at your option) any later version.
|
License, or (at your option) any later version.
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
This file is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
GNU Lesser General Public License for more details.
|
GNU Lesser General Public License for more details.
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
/* Test for NaN that does not need libm.
|
/* Test for NaN that does not need libm.
|
||||||
Copyright (C) 2007-2021 Free Software Foundation, Inc.
|
Copyright (C) 2007-2021 Free Software Foundation, Inc.
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
This file is free software: you can redistribute it and/or modify
|
||||||
it under the terms of the GNU Lesser General Public License as published by
|
it under the terms of the GNU Lesser General Public License as
|
||||||
the Free Software Foundation; either version 3 of the License, or
|
published by the Free Software Foundation; either version 2.1 of the
|
||||||
(at your option) any later version.
|
License, or (at your option) any later version.
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
This file is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
GNU Lesser General Public License for more details.
|
GNU Lesser General Public License for more details.
|
||||||
|
|
10
lib/isnand.c
10
lib/isnand.c
|
@ -1,12 +1,12 @@
|
||||||
/* Test for NaN that does not need libm.
|
/* Test for NaN that does not need libm.
|
||||||
Copyright (C) 2008-2021 Free Software Foundation, Inc.
|
Copyright (C) 2008-2021 Free Software Foundation, Inc.
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
This file is free software: you can redistribute it and/or modify
|
||||||
it under the terms of the GNU Lesser General Public License as published by
|
it under the terms of the GNU Lesser General Public License as
|
||||||
the Free Software Foundation; either version 3 of the License, or
|
published by the Free Software Foundation; either version 2.1 of the
|
||||||
(at your option) any later version.
|
License, or (at your option) any later version.
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
This file is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
GNU Lesser General Public License for more details.
|
GNU Lesser General Public License for more details.
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
/* Test for NaN that does not need libm.
|
/* Test for NaN that does not need libm.
|
||||||
Copyright (C) 2007-2021 Free Software Foundation, Inc.
|
Copyright (C) 2007-2021 Free Software Foundation, Inc.
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
This file is free software: you can redistribute it and/or modify
|
||||||
it under the terms of the GNU Lesser General Public License as published by
|
it under the terms of the GNU Lesser General Public License as
|
||||||
the Free Software Foundation; either version 3 of the License, or
|
published by the Free Software Foundation; either version 2.1 of the
|
||||||
(at your option) any later version.
|
License, or (at your option) any later version.
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
This file is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
GNU Lesser General Public License for more details.
|
GNU Lesser General Public License for more details.
|
||||||
|
|
10
lib/isnanf.c
10
lib/isnanf.c
|
@ -1,12 +1,12 @@
|
||||||
/* Test for NaN that does not need libm.
|
/* Test for NaN that does not need libm.
|
||||||
Copyright (C) 2007, 2009-2021 Free Software Foundation, Inc.
|
Copyright (C) 2007, 2009-2021 Free Software Foundation, Inc.
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
This file is free software: you can redistribute it and/or modify
|
||||||
it under the terms of the GNU Lesser General Public License as published by
|
it under the terms of the GNU Lesser General Public License as
|
||||||
the Free Software Foundation; either version 3 of the License, or
|
published by the Free Software Foundation; either version 2.1 of the
|
||||||
(at your option) any later version.
|
License, or (at your option) any later version.
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
This file is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
GNU Lesser General Public License for more details.
|
GNU Lesser General Public License for more details.
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
/* Test for NaN that does not need libm.
|
/* Test for NaN that does not need libm.
|
||||||
Copyright (C) 2007-2021 Free Software Foundation, Inc.
|
Copyright (C) 2007-2021 Free Software Foundation, Inc.
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
This file is free software: you can redistribute it and/or modify
|
||||||
it under the terms of the GNU Lesser General Public License as published by
|
it under the terms of the GNU Lesser General Public License as
|
||||||
the Free Software Foundation; either version 3 of the License, or
|
published by the Free Software Foundation; either version 2.1 of the
|
||||||
(at your option) any later version.
|
License, or (at your option) any later version.
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
This file is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
GNU Lesser General Public License for more details.
|
GNU Lesser General Public License for more details.
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue