Skip to content

Commit

Permalink
Merge from Gnulib
Browse files Browse the repository at this point in the history
This incorporates:
2018-01-01 maint: Run 'make update-copyright'
2017-12-29 Add cross-compilation results for GNU/Hurd.
2017-12-12 explicit_bzero: port to macOS + Clang 9.0.0
  • Loading branch information
eggert committed Jan 1, 2018
1 parent 312c565 commit 220a9ec
Show file tree
Hide file tree
Showing 256 changed files with 320 additions and 323 deletions.
5 changes: 4 additions & 1 deletion build-aux/config.guess
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Attempt to guess a canonical system name.
# Copyright 1992-2017 Free Software Foundation, Inc.

timestamp='2017-11-07'
timestamp='2017-12-17'

# This file 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 @@ -265,6 +265,9 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
*:Redox:*:*)
echo ${UNAME_MACHINE}-unknown-redox
exit ;;
mips:OSF1:*.*)
echo mips-dec-osf1
exit ;;
alpha:OSF1:*:*)
case $UNAME_RELEASE in
*4.0)
Expand Down
2 changes: 1 addition & 1 deletion build-aux/config.sub
Original file line number Diff line number Diff line change
Expand Up @@ -1416,7 +1416,7 @@ case $os in
| -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
| -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
| -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es* \
| -onefs* | -tirtos* | -phoenix* | -fuchsia* | -redox*)
| -onefs* | -tirtos* | -phoenix* | -fuchsia* | -redox* | -bme*)
# Remember, each alternative MUST END IN *, to match a version number.
;;
-qnx*)
Expand Down
2 changes: 1 addition & 1 deletion build-aux/gitlog-to-changelog
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ my $VERSION = '2017-09-13 06:45'; # UTC
# If you change this file with Emacs, please let the write hook
# do its job. Otherwise, update this string manually.

# Copyright (C) 2008-2017 Free Software Foundation, Inc.
# Copyright (C) 2008-2018 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/move-if-change
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ VERSION='2017-09-13 06:45'; # UTC
# If you change this file with Emacs, please let the write hook
# do its job. Otherwise, update this string manually.

# Copyright (C) 2002-2017 Free Software Foundation, Inc.
# Copyright (C) 2002-2018 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/update-copyright
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ eval '(exit $?0)' && eval 'exec perl -wS -0777 -pi "$0" "$@"'

my $VERSION = '2017-09-13.06:45'; # UTC

# Copyright (C) 2009-2017 Free Software Foundation, Inc.
# Copyright (C) 2009-2018 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
47 changes: 20 additions & 27 deletions doc/misc/texinfo.tex
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
% Load plain if necessary, i.e., if running under initex.
\expandafter\ifx\csname fmtname\endcsname\relax\input plain\fi
%
\def\texinfoversion{2017-11-17.06}
\def\texinfoversion{2017-12-26.21}
%
% Copyright 1985, 1986, 1988, 1990, 1991, 1992, 1993, 1994, 1995,
% 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006,
Expand Down Expand Up @@ -2619,26 +2619,11 @@
% Markup style infrastructure. \defmarkupstylesetup\INITMACRO will
% define and register \INITMACRO to be called on markup style changes.
% \INITMACRO can check \currentmarkupstyle for the innermost
% style and the set of \ifmarkupSTYLE switches for all styles
% currently in effect.
\newif\ifmarkupvar
\newif\ifmarkupsamp
\newif\ifmarkupkey
%\newif\ifmarkupfile % @file == @samp.
%\newif\ifmarkupoption % @option == @samp.
\newif\ifmarkupcode
\newif\ifmarkupkbd
%\newif\ifmarkupenv % @env == @code.
%\newif\ifmarkupcommand % @command == @code.
\newif\ifmarkuptex % @tex (and part of @math, for now).
\newif\ifmarkupexample
\newif\ifmarkupverb
\newif\ifmarkupverbatim
% style.

\let\currentmarkupstyle\empty

\def\setupmarkupstyle#1{%
\csname markup#1true\endcsname
\def\currentmarkupstyle{#1}%
\markupstylesetup
}
Expand Down Expand Up @@ -2700,25 +2685,33 @@
% lilypond developers report. xpdf does work with the regular 0x27.
%
\def\codequoteright{%
\expandafter\ifx\csname SETtxicodequoteundirected\endcsname\relax
\expandafter\ifx\csname SETcodequoteundirected\endcsname\relax
'%
\ifmonospace
\expandafter\ifx\csname SETtxicodequoteundirected\endcsname\relax
\expandafter\ifx\csname SETcodequoteundirected\endcsname\relax
'%
\else \char'15 \fi
\else \char'15 \fi
\else \char'15 \fi
\else
'%
\fi
}
%
% and a similar option for the left quote char vs. a grave accent.
% Modern fonts display ASCII 0x60 as a grave accent, so some people like
% the code environments to do likewise.
%
\def\codequoteleft{%
\expandafter\ifx\csname SETtxicodequotebacktick\endcsname\relax
\expandafter\ifx\csname SETcodequotebacktick\endcsname\relax
% [Knuth] pp. 380,381,391
% \relax disables Spanish ligatures ?` and !` of \tt font.
\relax`%
\ifmonospace
\expandafter\ifx\csname SETtxicodequotebacktick\endcsname\relax
\expandafter\ifx\csname SETcodequotebacktick\endcsname\relax
% [Knuth] pp. 380,381,391
% \relax disables Spanish ligatures ?` and !` of \tt font.
\relax`%
\else \char'22 \fi
\else \char'22 \fi
\else \char'22 \fi
\else
\relax`%
\fi
}

% Commands to set the quote options.
Expand Down
2 changes: 1 addition & 1 deletion lib/acl-errno-valid.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* Test whether ACLs are well supported on this system.
Copyright 2013-2017 Free Software Foundation, Inc.
Copyright 2013-2018 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 lib/acl-internal.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* Test whether a file has a nontrivial ACL. -*- coding: utf-8 -*-
Copyright (C) 2002-2003, 2005-2017 Free Software Foundation, Inc.
Copyright (C) 2002-2003, 2005-2018 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 lib/acl-internal.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* Internal implementation of access control lists. -*- coding: utf-8 -*-
Copyright (C) 2002-2003, 2005-2017 Free Software Foundation, Inc.
Copyright (C) 2002-2003, 2005-2018 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 lib/acl.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* acl.c - access control lists
Copyright (C) 2002, 2008-2017 Free Software Foundation, Inc.
Copyright (C) 2002, 2008-2018 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 lib/acl_entries.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* Return the number of entries in an ACL.
Copyright (C) 2002-2003, 2005-2017 Free Software Foundation, Inc.
Copyright (C) 2002-2003, 2005-2018 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 lib/alloca.in.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* Memory allocation on the stack.
Copyright (C) 1995, 1999, 2001-2004, 2006-2017 Free Software Foundation,
Copyright (C) 1995, 1999, 2001-2004, 2006-2018 Free Software Foundation,
Inc.
This program is free software; you can redistribute it and/or modify it
Expand Down
2 changes: 1 addition & 1 deletion lib/allocator.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* Memory allocators such as malloc+free.
Copyright (C) 2011-2017 Free Software Foundation, Inc.
Copyright (C) 2011-2018 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 lib/arg-nonnull.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* A C macro for declaring that specific arguments must not be NULL.
Copyright (C) 2009-2017 Free Software Foundation, Inc.
Copyright (C) 2009-2018 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
Expand Down
2 changes: 1 addition & 1 deletion lib/at-func.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* Define at-style functions like fstatat, unlinkat, fchownat, etc.
Copyright (C) 2006, 2009-2017 Free Software Foundation, Inc.
Copyright (C) 2006, 2009-2018 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 lib/binary-io.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* Binary mode I/O.
Copyright 2017 Free Software Foundation, Inc.
Copyright 2017-2018 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 lib/binary-io.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* Binary mode I/O.
Copyright (C) 2001, 2003, 2005, 2008-2017 Free Software Foundation, Inc.
Copyright (C) 2001, 2003, 2005, 2008-2018 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 lib/byteswap.in.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* byteswap.h - Byte swapping
Copyright (C) 2005, 2007, 2009-2017 Free Software Foundation, Inc.
Copyright (C) 2005, 2007, 2009-2018 Free Software Foundation, Inc.
Written by Oskar Liljeblad <[email protected]>, 2005.
This program is free software: you can redistribute it and/or modify
Expand Down
2 changes: 1 addition & 1 deletion lib/c++defs.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* C++ compatible function declaration macros.
Copyright (C) 2010-2017 Free Software Foundation, Inc.
Copyright (C) 2010-2018 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
Expand Down
2 changes: 1 addition & 1 deletion lib/c-ctype.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<ctype.h> functions' behaviour depends on the current locale set via
setlocale.
Copyright (C) 2000-2003, 2006, 2008-2017 Free Software Foundation, Inc.
Copyright (C) 2000-2003, 2006, 2008-2018 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 lib/c-strcase.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* Case-insensitive string comparison functions in C locale.
Copyright (C) 1995-1996, 2001, 2003, 2005, 2009-2017 Free Software
Copyright (C) 1995-1996, 2001, 2003, 2005, 2009-2018 Free Software
Foundation, Inc.
This program is free software; you can redistribute it and/or modify
Expand Down
2 changes: 1 addition & 1 deletion lib/c-strcasecmp.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* c-strcasecmp.c -- case insensitive string comparator in C locale
Copyright (C) 1998-1999, 2005-2006, 2009-2017 Free Software Foundation, Inc.
Copyright (C) 1998-1999, 2005-2006, 2009-2018 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 lib/c-strncasecmp.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* c-strncasecmp.c -- case insensitive string comparator in C locale
Copyright (C) 1998-1999, 2005-2006, 2009-2017 Free Software Foundation, Inc.
Copyright (C) 1998-1999, 2005-2006, 2009-2018 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 lib/careadlinkat.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* Read symbolic links into a buffer without size limitation, relative to fd.
Copyright (C) 2001, 2003-2004, 2007, 2009-2017 Free Software Foundation,
Copyright (C) 2001, 2003-2004, 2007, 2009-2018 Free Software Foundation,
Inc.
This program is free software: you can redistribute it and/or modify
Expand Down
2 changes: 1 addition & 1 deletion lib/careadlinkat.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* Read symbolic links into a buffer without size limitation, relative to fd.
Copyright (C) 2011-2017 Free Software Foundation, Inc.
Copyright (C) 2011-2018 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 lib/cloexec.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* cloexec.c - set or clear the close-on-exec descriptor flag
Copyright (C) 1991, 2004-2006, 2009-2017 Free Software Foundation, Inc.
Copyright (C) 1991, 2004-2006, 2009-2018 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 lib/cloexec.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* cloexec.c - set or clear the close-on-exec descriptor flag
Copyright (C) 2004, 2009-2017 Free Software Foundation, Inc.
Copyright (C) 2004, 2009-2018 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 lib/close-stream.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* Close a stream, with nicer error checking than fclose's.
Copyright (C) 1998-2002, 2004, 2006-2017 Free Software Foundation, Inc.
Copyright (C) 1998-2002, 2004, 2006-2018 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 lib/count-leading-zeros.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* count-leading-zeros.h -- counts the number of leading 0 bits in a word.
Copyright (C) 2012-2017 Free Software Foundation, Inc.
Copyright (C) 2012-2018 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 lib/count-one-bits.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* count-one-bits.h -- counts the number of 1-bits in a word.
Copyright (C) 2007-2017 Free Software Foundation, Inc.
Copyright (C) 2007-2018 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 lib/count-trailing-zeros.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* count-trailing-zeros.h -- counts the number of trailing 0 bits in a word.
Copyright 2013-2017 Free Software Foundation, Inc.
Copyright 2013-2018 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 lib/diffseq.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* Analyze differences between two vectors.
Copyright (C) 1988-1989, 1992-1995, 2001-2004, 2006-2017 Free Software
Copyright (C) 1988-1989, 1992-1995, 2001-2004, 2006-2018 Free Software
Foundation, Inc.
This program is free software: you can redistribute it and/or modify
Expand Down
2 changes: 1 addition & 1 deletion lib/dirent.in.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* A GNU-like <dirent.h>.
Copyright (C) 2006-2017 Free Software Foundation, Inc.
Copyright (C) 2006-2018 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 lib/dirfd.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* dirfd.c -- return the file descriptor associated with an open DIR*
Copyright (C) 2001, 2006, 2008-2017 Free Software Foundation, Inc.
Copyright (C) 2001, 2006, 2008-2018 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 lib/dosname.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* File names on MS-DOS/Windows systems.
Copyright (C) 2000-2001, 2004-2006, 2009-2017 Free Software Foundation, Inc.
Copyright (C) 2000-2001, 2004-2006, 2009-2018 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 lib/dtotimespec.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* Convert double to timespec.
Copyright (C) 2011-2017 Free Software Foundation, Inc.
Copyright (C) 2011-2018 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 lib/dup2.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* Duplicate an open file descriptor to a specified file descriptor.
Copyright (C) 1999, 2004-2007, 2009-2017 Free Software Foundation, Inc.
Copyright (C) 1999, 2004-2007, 2009-2018 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 lib/errno.in.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* A POSIX-like <errno.h>.
Copyright (C) 2008-2017 Free Software Foundation, Inc.
Copyright (C) 2008-2018 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 lib/euidaccess.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* euidaccess -- check if effective user id can access file
Copyright (C) 1990-1991, 1995, 1998, 2000, 2003-2006, 2008-2017 Free
Copyright (C) 1990-1991, 1995, 1998, 2000, 2003-2006, 2008-2018 Free
Software Foundation, Inc.
This file is part of the GNU C Library.
Expand Down
2 changes: 1 addition & 1 deletion lib/execinfo.in.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* Information about executables.
Copyright (C) 2012-2017 Free Software Foundation, Inc.
Copyright (C) 2012-2018 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 220a9ec

Please sign in to comment.