Skip to content

Commit

Permalink
Update gnulib files.
Browse files Browse the repository at this point in the history
  • Loading branch information
jas4711 committed Jan 26, 2010
1 parent ba4d206 commit d8d94c2
Show file tree
Hide file tree
Showing 411 changed files with 16,124 additions and 15,010 deletions.
2 changes: 1 addition & 1 deletion GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# It is necessary if you want to build targets usually of interest
# only to the maintainer.

# Copyright (C) 2001, 2003, 2006-2009 Free Software Foundation, Inc.
# Copyright (C) 2001, 2003, 2006-2010 Free Software Foundation, Inc.

# 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
Expand Down
26 changes: 26 additions & 0 deletions build-aux/arg-nonnull.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
/* A C macro for declaring that specific arguments must not be NULL.
Copyright (C) 2009, 2010 Free Software Foundation, Inc.
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 the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program 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 General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */

/* _GL_ARG_NONNULL((n,...,m)) tells the compiler and static analyzer tools
that the values passed as arguments n, ..., m must be non-NULL pointers.
n = 1 stands for the first argument, n = 2 for the second argument etc. */
#ifndef _GL_ARG_NONNULL
# if (__GNUC__ == 3 && __GNUC_MINOR__ >= 3) || __GNUC__ > 3
# define _GL_ARG_NONNULL(params) __attribute__ ((__nonnull__ params))
# else
# define _GL_ARG_NONNULL(params)
# endif
#endif
2 changes: 1 addition & 1 deletion build-aux/config.rpath
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Output a system dependent set of variables, describing how to set the
# run time search path of shared libraries in an executable.
#
# Copyright 1996-2008 Free Software Foundation, Inc.
# Copyright 1996-2010 Free Software Foundation, Inc.
# Taken from GNU libtool, 2001
# Originally by Gordon Matzigkeit <[email protected]>, 1996
#
Expand Down
8 changes: 4 additions & 4 deletions build-aux/gendocs.sh
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
#!/bin/sh
#!/bin/sh -e
# gendocs.sh -- generate a GNU manual in many formats. This script is
# mentioned in maintain.texi. See the help message below for usage details.

scriptversion=2009-09-09.22
scriptversion=2010-01-02.16

# Copyright 2003, 2004, 2005, 2006, 2007, 2008, 2009
# Copyright 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
# Free Software Foundation, Inc.
#
# This program is free software: you can redistribute it and/or modify
Expand Down Expand Up @@ -268,7 +268,7 @@ else
fi

echo Making .tar.gz for sources...
srcfiles=`ls *.texinfo *.texi *.txi *.eps 2>/dev/null`
srcfiles=`ls *.texinfo *.texi *.txi *.eps 2>/dev/null` || true
tar cvzfh $outdir/$PACKAGE.texi.tar.gz $srcfiles
texi_tgz_size=`calcsize $outdir/$PACKAGE.texi.tar.gz`

Expand Down
53 changes: 26 additions & 27 deletions build-aux/gnupload
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/sh
# Sign files and upload them.

scriptversion=2009-04-28.21; # UTC
scriptversion=2009-12-21.21; # UTC

# Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation
#
Expand Down Expand Up @@ -73,34 +73,33 @@ actual command line options. Use this to keep your defaults. Comments
(#) and empty lines in $conffile are allowed.
Examples:
1. Upload automake-1.8.2b.tar.gz and automake-1.8.2b.tar.bz2 to two sites:
gnupload --to sources.redhat.com:~ftp/pub/automake \\
--to alpha.gnu.org:automake \\
automake-1.8.2b.tar.gz automake-1.8.2b.tar.bz2
2. Same as above, but also create symbolic links to automake-latest.tar.*:
gnupload --to sources.redhat.com:~ftp/pub/automake \\
--to alpha.gnu.org:automake \\
--symlink-regex \\
automake-1.8.2b.tar.gz automake-1.8.2b.tar.bz2
3. Symlink automake-1.8.2b.tar.gz to automake-latest.tar.gz and
automake-1.8.2b.tar.bz2 to automake-latest.tar.bz2 on both sites:
1. Upload foobar-1.0.tar.gz to ftp.gnu.org:
gnupload --to ftp.gnu.org:foobar foobar-1.0.tar.gz
gnupload --to sources.redhat.com:~ftp/pub/automake \\
--to alpha.gnu.org:automake \\
--symlink automake-1.8.2b.tar.gz automake-latest.tar.gz \\
automake-1.8.2b.tar.bz2 automake-latest.tar.bz2
2. Upload foobar-1.0.tar.gz and foobar-1.0.tar.xz to ftp.gnu.org:
gnupload --to ftp.gnu.org:foobar foobar-1.0.tar.gz foobar-1.0.tar.xz
4. Delete automake-1.8.2a.tar.gz and .bz2, remove symlink
automake-latest.tar.gz and upload automake-1.8.2b.tar.gz:
gnupload --to sources.redhat.com:~ftp/pub/automake \\
--to alpha.gnu.org:automake \\
--delete automake-1.8.2a.tar.gz automake-1.8.2a.tar.bz2 \\
--rmsymlink automake-latest.tar.gz \\
-- \\
automake-1.8.2b.tar.gz automake-1.8.2b.tar.bz2
3. Same as above, and also create symbolic links to foobar-latest.tar.*:
gnupload --to ftp.gnu.org:foobar \\
--symlink-regex \\
foobar-1.0.tar.gz foobar-1.0.tar.xz
4. Upload foobar-0.9.90.tar.gz to two sites:
gnupload --to alpha.gnu.org:foobar \\
--to sources.redhat.com:~ftp/pub/foobar \\
foobar-0.9.90.tar.gz
5. Delete oopsbar-0.9.91.tar.gz and upload foobar-0.9.91.tar.gz
(the -- terminates the list of files to delete):
gnupload --to alpha.gnu.org:foobar \\
--to sources.redhat.com:~ftp/pub/foobar \\
--delete oopsbar-0.9.91.tar.gz \\
-- foobar-0.9.91.tar.gz
gnupload uses the ncftpput program to do the transfers; if you don't
happen to have an ncftp package installed, the ncftpput-ftp script in
the build-aux/ directory of the gnulib package
(http://savannah.gnu.org/projects/gnulib) may serve as a replacement.
Report bugs to <[email protected]>.
Send patches to <[email protected]>."
Expand Down
28 changes: 0 additions & 28 deletions build-aux/link-warning.h

This file was deleted.

74 changes: 37 additions & 37 deletions build-aux/pmccabe2html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# pmccabe2html - AWK script to convert pmccabe output to html

# Copyright (C) 2007, 2008, 2009 Free Software Foundation, Inc.
# Copyright (C) 2007, 2008, 2009, 2010 Free Software Foundation, Inc.

# 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
Expand Down Expand Up @@ -64,7 +64,7 @@ BEGIN {
html_prolog = "<a href=\"" url "\">Back to " package_name " Homepage</a><br/><br/>"
}
html_epilog = "<hr color=\"black\" size=\"2\"/> \
Copyright (c) 2007, 2008 Free Software Foundation Inc."
Copyright (c) 2007, 2008 Free Software Foundation, Inc."
html_doctype = "<!DOCTYPE html PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \
\"http://www.w3.org/TR/html401/loose.dtd\">"
html_comment = "<!-- Generated by gnulib's pmccabe2html at " systime() " -->"
Expand Down Expand Up @@ -135,22 +135,22 @@ function html_fnc_table (caption,
{
print "<caption class=\"function_table_caption\">" caption "</caption>"
}
html_fnc_header(fname_p,
mcyclo_p,
cyclo_p,
num_statements_p,
num_lines_p,
first_line_p,
html_fnc_header(fname_p,
mcyclo_p,
cyclo_p,
num_statements_p,
num_lines_p,
first_line_p,
file_p)
for (nfnc = 1; nfnc < nfuncs; nfnc++)
{
html_fnc(nfnc,
fname_p,
mcyclo_p,
cyclo_p,
num_statements_p,
num_lines_p,
first_line_p,
fname_p,
mcyclo_p,
cyclo_p,
num_statements_p,
num_lines_p,
first_line_p,
file_p)
}
print "</table>"
Expand Down Expand Up @@ -307,7 +307,7 @@ function html_fnc (nfun,
if (mcyclo[nfun] > cyclo_high_max)
{
trclass="function_entry_untestable"
}
}
else if (mcyclo[nfun] > cyclo_moderate_max)
{
trclass="function_entry_high"
Expand Down Expand Up @@ -391,7 +391,7 @@ function html_fnc (nfun,
{
print file[nfun]
}

print "</td>"


Expand All @@ -409,7 +409,7 @@ function html_fnc (nfun,
if (num_lines_p) { num_columns++ }
if (first_line_p) { num_columns++ }
if (file_p) { num_columns++ }

print "<td colspan=\"" num_columns "\" height=\"0\">"
print "<div id=\"" fname "_src\" class=\"function_src\" style=\"position: relative; display: none;\">"
print "<pre class=\"function_src\">"
Expand All @@ -419,7 +419,7 @@ function html_fnc (nfun,
sub(/\\</, "&lt;", codeline)
sub(/\\>/, "&gt;", codeline)
sub(/&/, "&amp;", codeline)

print codeline
}
close(fname nfun "_fn.txt")
Expand Down Expand Up @@ -517,7 +517,7 @@ function html_function_cyclo ()
print "Simple module, without much risk"
print "</td>"
print "</tr>"
# Moderate
# Moderate
print "<tr>"
print "<td class=\"ranges_entry_moderate\">"
print "&nbsp;"
Expand Down Expand Up @@ -589,7 +589,7 @@ function wiki_function_cyclo ()
print "==Details for all functions=="

print "Used ranges:"

print "{| class =\"cyclo_ranges_table\""
print "|-"
print "| class=\"cyclo_ranges_header_entry\" | "
Expand Down Expand Up @@ -646,22 +646,22 @@ function wiki_fnc_table (caption,
{
print "|+" caption
}
wiki_fnc_header(fname_p,
mcyclo_p,
cyclo_p,
num_statements_p,
num_lines_p,
first_line_p,
wiki_fnc_header(fname_p,
mcyclo_p,
cyclo_p,
num_statements_p,
num_lines_p,
first_line_p,
file_p)
for (nfnc = 1; nfnc < nfuncs; nfnc++)
{
wiki_fnc(nfnc,
fname_p,
mcyclo_p,
cyclo_p,
num_statements_p,
num_lines_p,
first_line_p,
fname_p,
mcyclo_p,
cyclo_p,
num_statements_p,
num_lines_p,
first_line_p,
file_p)
}
print "|}"
Expand Down Expand Up @@ -724,7 +724,7 @@ function wiki_fnc (nfnc,
if (mcyclo[nfnc] > cyclo_high_max)
{
trclass="cyclo_function_entry_untestable"
}
}
else if (mcyclo[nfnc] > cyclo_moderate_max)
{
trclass="cyclo_function_entry_high"
Expand Down Expand Up @@ -773,7 +773,7 @@ function wiki_fnc (nfnc,
href = source_file_link_tmpl
sub(/%FILENAME%/, file[nfnc], href)
}

# Source file
print "| class=\"cyclo_function_entry_filename\" |" \
((href != "") ? "[" href " " file[nfnc] "]" : "[" file[nfnc] "]")
Expand Down Expand Up @@ -838,7 +838,7 @@ END {
}

# Print prolog
if ((output_lang == "html") &&
if ((output_lang == "html") &&
(html_prolog != ""))
{
print html_prolog
Expand Down Expand Up @@ -884,9 +884,9 @@ END {
wiki_function_cyclo()
}
}

# Print epilog
if ((output_lang == "html") &&
if ((output_lang == "html") &&
(html_epilog != ""))
{
print html_epilog
Expand Down
2 changes: 1 addition & 1 deletion build-aux/useless-if-before-free
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ my $VERSION = '2009-04-16 15:57'; # UTC
# If you change this file with Emacs, please let the write hook
# do its job. Otherwise, update this string manually.

# Copyright (C) 2008, 2009 Free Software Foundation, Inc.
# Copyright (C) 2008-2010 Free Software Foundation, Inc.

# 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
Expand Down
2 changes: 1 addition & 1 deletion build-aux/vc-list-files
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# Print a version string.
scriptversion=2009-07-21.16; # UTC

# Copyright (C) 2006-2009 Free Software Foundation, Inc.
# Copyright (C) 2006-2010 Free Software Foundation, Inc.

# 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
Expand Down
Loading

0 comments on commit d8d94c2

Please sign in to comment.