aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Eggert2014-01-20 12:48:14 -0800
committerPaul Eggert2014-01-20 12:48:14 -0800
commitcec62009bb94b74bb46dd911a22dc1ec97097970 (patch)
tree7e8e3569612303588ff164fa070e8210c7c00ec4
parent2d3c36db70ea118d3168a43e92b750c8999d60a6 (diff)
downloademacs-cec62009bb94b74bb46dd911a22dc1ec97097970.tar.gz
emacs-cec62009bb94b74bb46dd911a22dc1ec97097970.zip
Merge from gnulib.
This incorporates: 2014-01-20 stdalign: port to HP-UX compilers 2014-01-16 strtoimax: port to platforms lacking 'long long' 2014-01-16 update from texinfo * doc/misc/texinfo.tex, lib/stdalign.in.h, lib/strtoimax.c: Update from gnulib.
-rw-r--r--ChangeLog9
-rw-r--r--doc/misc/texinfo.tex20
-rw-r--r--lib/stdalign.in.h3
-rw-r--r--lib/strtoimax.c16
4 files changed, 37 insertions, 11 deletions
diff --git a/ChangeLog b/ChangeLog
index 52519f3382c..52d13cdc87a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
12014-01-20 Paul Eggert <eggert@cs.ucla.edu>
2
3 Merge from gnulib, incorporating:
4 2014-01-20 stdalign: port to HP-UX compilers
5 2014-01-16 strtoimax: port to platforms lacking 'long long'
6 2014-01-16 update from texinfo
7 * doc/misc/texinfo.tex, lib/stdalign.in.h, lib/strtoimax.c:
8 Update from gnulib.
9
12014-01-12 Glenn Morris <rgm@gnu.org> 102014-01-12 Glenn Morris <rgm@gnu.org>
2 11
3 * README: Replace reference to etc/MAILINGLISTS. 12 * README: Replace reference to etc/MAILINGLISTS.
diff --git a/doc/misc/texinfo.tex b/doc/misc/texinfo.tex
index d92fb8a55e0..704d66453f5 100644
--- a/doc/misc/texinfo.tex
+++ b/doc/misc/texinfo.tex
@@ -3,7 +3,7 @@
3% Load plain if necessary, i.e., if running under initex. 3% Load plain if necessary, i.e., if running under initex.
4\expandafter\ifx\csname fmtname\endcsname\relax\input plain\fi 4\expandafter\ifx\csname fmtname\endcsname\relax\input plain\fi
5% 5%
6\def\texinfoversion{2014-01-06.16} 6\def\texinfoversion{2014-01-16.10}
7% 7%
8% Copyright 1985, 1986, 1988, 1990, 1991, 1992, 1993, 1994, 1995, 8% Copyright 1985, 1986, 1988, 1990, 1991, 1992, 1993, 1994, 1995,
9% 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 9% 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006,
@@ -8334,8 +8334,9 @@ end
8334% 8334%
8335% Auto-number footnotes. Otherwise like plain. 8335% Auto-number footnotes. Otherwise like plain.
8336\gdef\footnote{% 8336\gdef\footnote{%
8337 %\let\indent=\ptexindent 8337 \let\indent=\ptexindent
8338 %\let\noindent=\ptexnoindent 8338 \let\noindent=\ptexnoindent
8339 %
8339 \global\advance\footnoteno by \@ne 8340 \global\advance\footnoteno by \@ne
8340 \edef\thisfootno{$^{\the\footnoteno}$}% 8341 \edef\thisfootno{$^{\the\footnoteno}$}%
8341 % 8342 %
@@ -8359,6 +8360,11 @@ end
8359% 8360%
8360\gdef\dofootnote{% 8361\gdef\dofootnote{%
8361 \insert\footins\bgroup 8362 \insert\footins\bgroup
8363 %
8364 % Nested footnotes are not supported in TeX, that would take a lot
8365 % more work. (\startsavinginserts does not suffice.)
8366 \let\footnote=\errfootnote
8367 %
8362 % We want to typeset this text as a normal paragraph, even if the 8368 % We want to typeset this text as a normal paragraph, even if the
8363 % footnote reference occurs in (for example) a display environment. 8369 % footnote reference occurs in (for example) a display environment.
8364 % So reset some parameters. 8370 % So reset some parameters.
@@ -8396,13 +8402,19 @@ end
8396} 8402}
8397}%end \catcode `\@=11 8403}%end \catcode `\@=11
8398 8404
8405\def\errfootnote{%
8406 \errhelp=\EMsimple
8407 \errmessage{Nested footnotes not supported in texinfo.tex,
8408 even though they work in makeinfo; sorry}
8409}
8410
8399% In case a @footnote appears in a vbox, save the footnote text and create 8411% In case a @footnote appears in a vbox, save the footnote text and create
8400% the real \insert just after the vbox finished. Otherwise, the insertion 8412% the real \insert just after the vbox finished. Otherwise, the insertion
8401% would be lost. 8413% would be lost.
8402% Similarly, if a @footnote appears inside an alignment, save the footnote 8414% Similarly, if a @footnote appears inside an alignment, save the footnote
8403% text to a box and make the \insert when a row of the table is finished. 8415% text to a box and make the \insert when a row of the table is finished.
8404% And the same can be done for other insert classes. --kasal, 16nov03. 8416% And the same can be done for other insert classes. --kasal, 16nov03.
8405 8417%
8406% Replace the \insert primitive by a cheating macro. 8418% Replace the \insert primitive by a cheating macro.
8407% Deeper inside, just make sure that the saved insertions are not spilled 8419% Deeper inside, just make sure that the saved insertions are not spilled
8408% out prematurely. 8420% out prematurely.
diff --git a/lib/stdalign.in.h b/lib/stdalign.in.h
index f9adf663b38..dcaab55b577 100644
--- a/lib/stdalign.in.h
+++ b/lib/stdalign.in.h
@@ -95,7 +95,8 @@
95#if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112 95#if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112
96# if defined __cplusplus && 201103 <= __cplusplus 96# if defined __cplusplus && 201103 <= __cplusplus
97# define _Alignas(a) alignas (a) 97# define _Alignas(a) alignas (a)
98# elif __GNUC__ || __IBMC__ || __IBMCPP__ || __ICC || 0x5110 <= __SUNPRO_C 98# elif (__GNUC__ || __HP_cc || __HP_aCC || __IBMC__ || __IBMCPP__ \
99 || __ICC || 0x5110 <= __SUNPRO_C)
99# define _Alignas(a) __attribute__ ((__aligned__ (a))) 100# define _Alignas(a) __attribute__ ((__aligned__ (a)))
100# elif 1300 <= _MSC_VER 101# elif 1300 <= _MSC_VER
101# define _Alignas(a) __declspec (align (a)) 102# define _Alignas(a) __declspec (align (a))
diff --git a/lib/strtoimax.c b/lib/strtoimax.c
index 219ebaf523d..2c33d5857a9 100644
--- a/lib/strtoimax.c
+++ b/lib/strtoimax.c
@@ -28,20 +28,24 @@
28#include "verify.h" 28#include "verify.h"
29 29
30#ifdef UNSIGNED 30#ifdef UNSIGNED
31# ifndef HAVE_DECL_STRTOULL 31# if HAVE_UNSIGNED_LONG_LONG_INT
32# ifndef HAVE_DECL_STRTOULL
32"this configure-time declaration test was not run" 33"this configure-time declaration test was not run"
33# endif 34# endif
34# if !HAVE_DECL_STRTOULL && HAVE_UNSIGNED_LONG_LONG_INT 35# if !HAVE_DECL_STRTOULL
35unsigned long long int strtoull (char const *, char **, int); 36unsigned long long int strtoull (char const *, char **, int);
37# endif
36# endif 38# endif
37 39
38#else 40#else
39 41
40# ifndef HAVE_DECL_STRTOLL 42# if HAVE_LONG_LONG_INT
43# ifndef HAVE_DECL_STRTOLL
41"this configure-time declaration test was not run" 44"this configure-time declaration test was not run"
42# endif 45# endif
43# if !HAVE_DECL_STRTOLL && HAVE_LONG_LONG_INT 46# if !HAVE_DECL_STRTOLL
44long long int strtoll (char const *, char **, int); 47long long int strtoll (char const *, char **, int);
48# endif
45# endif 49# endif
46#endif 50#endif
47 51