Skip to content

Commit 64d1b9f

Browse files
committed
Update from gnulib
This incorporates: 2019-12-23 mktime, nstrftime: tweak division performance 2019-12-22 count-leading-zeros: assume 'long long' 2019-12-22 count-one-bits: assume 'long long' 2019-12-22 count-trailing-zeros: assume 'long long' 2019-12-12 inttypes-incomplete: assume 'long long' 2019-12-22 malloca: assume 'long long' 2019-12-22 stdint: assume 'long long' 2019-12-22 strtoll, strtoimax, strtoumax: assume 'long long' 2019-12-22 prefer lib_SOURCES to unconditional AC_LIBOBJ 2019-12-19 nstrftime: avoid a shadowing warning 2019-12-18 improve port of AC_C_RESTRICT to Oracle C++ 2019-12-12 stdalign: port to xlclang 16.01 2019-12-11 stddef, unistd: fix compilation error in C++ mode on MSVC 2019-12-08 fix compilation errors in C++ mode on Haiku 2019-12-08 fix compilation errors in 32-bit C++ mode on HP-UX 11/ia64 2019-12-08 fix compilation error in C++ mode on OpenBSD * build-aux/config.guess, doc/misc/texinfo.tex: * lib/count-leading-zeros.h, lib/count-one-bits.h: * lib/count-trailing-zeros.h, lib/inttypes.in.h, lib/malloca.h: * lib/mktime.c, lib/nstrftime.c, lib/signal.in.h, lib/stdalign.in.h: * lib/stddef.in.h, lib/stdint.in.h, lib/stdio.in.h, lib/stdlib.in.h: * lib/strtoimax.c, lib/unistd.in.h, m4/gnulib-common.m4: * m4/inttypes.m4, m4/largefile.m4, m4/malloca.m4, m4/strtoimax.m4: * m4/strtoll.m4: Copy from Gnulib. Also, change copyright notices in some other Gnulib-copied files to exactly match Gnulib, as Gnulib updated them in a trivially different way. * lib/gnulib.mk.in, m4/gnulib-comp.m4: Regenerate.
1 parent c6fb86b commit 64d1b9f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

85 files changed

+217
-258
lines changed

build-aux/config.guess

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
#! /bin/sh
22
# Attempt to guess a canonical system name.
3-
# Copyright 1992-2020 Free Software Foundation, Inc.
3+
# Copyright 1992-2019 Free Software Foundation, Inc.
44

5-
timestamp='2019-09-10'
5+
timestamp='2019-12-21'
66

77
# This file is free software; you can redistribute it and/or modify it
88
# under the terms of the GNU General Public License as published by
@@ -99,6 +99,8 @@ tmp=
9999
trap 'test -z "$tmp" || rm -fr "$tmp"' 0 1 2 13 15
100100

101101
set_cc_for_build() {
102+
# prevent multiple calls if $tmp is already set
103+
test "$tmp" && return 0
102104
: "${TMPDIR=/tmp}"
103105
# shellcheck disable=SC2039
104106
{ tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } ||
@@ -924,7 +926,7 @@ EOF
924926
echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
925927
exit ;;
926928
alpha:Linux:*:*)
927-
case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
929+
case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' /proc/cpuinfo 2>/dev/null` in
928930
EV5) UNAME_MACHINE=alphaev5 ;;
929931
EV56) UNAME_MACHINE=alphaev56 ;;
930932
PCA56) UNAME_MACHINE=alphapca56 ;;

build-aux/config.sub

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#! /bin/sh
22
# Configuration validation subroutine script.
3-
# Copyright 1992-2020 Free Software Foundation, Inc.
3+
# Copyright 1992-2019 Free Software Foundation, Inc.
44

55
timestamp='2019-06-30'
66

doc/misc/texinfo.tex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
%
66
\def\texinfoversion{2019-09-24.13}
77
%
8-
% Copyright 1985--1986, 1988, 1990--2020 Free Software Foundation, Inc.
8+
% Copyright 1985, 1986, 1988, 1990-2019 Free Software Foundation, Inc.
99
%
1010
% This texinfo.tex file is free software: you can redistribute it and/or
1111
% modify it under the terms of the GNU General Public License as
@@ -7690,7 +7690,7 @@
76907690
% If SUBTOPIC is present, precede it with a space, and call \doind.
76917691
% (At some time during the 20th century, this made a two-level entry in an
76927692
% index such as the operation index. Nobody seemed to notice the change in
7693-
% behavior though.)
7693+
% behaviour though.)
76947694
\def\dosubind#1#2#3{%
76957695
\def\thirdarg{#3}%
76967696
\ifx\thirdarg\empty

lib/alloca.in.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/* Memory allocation on the stack.
22
3-
Copyright (C) 1995, 1999, 2001-2004, 2006-2020 Free Software
4-
Foundation, Inc.
3+
Copyright (C) 1995, 1999, 2001-2004, 2006-2020 Free Software Foundation,
4+
Inc.
55
66
This program is free software; you can redistribute it and/or modify it
77
under the terms of the GNU General Public License as published

lib/binary-io.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
/* Binary mode I/O.
2-
Copyright (C) 2001, 2003, 2005, 2008-2020 Free Software Foundation,
3-
Inc.
2+
Copyright (C) 2001, 2003, 2005, 2008-2020 Free Software Foundation, Inc.
43
54
This program is free software: you can redistribute it and/or modify
65
it under the terms of the GNU General Public License as published by

lib/c-ctype.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@
55
<ctype.h> functions' behaviour depends on the current locale set via
66
setlocale.
77
8-
Copyright (C) 2000-2003, 2006, 2008-2020 Free Software Foundation,
9-
Inc.
8+
Copyright (C) 2000-2003, 2006, 2008-2020 Free Software Foundation, Inc.
109
1110
This program is free software; you can redistribute it and/or modify
1211
it under the terms of the GNU General Public License as published by

lib/c-strcasecmp.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
/* c-strcasecmp.c -- case insensitive string comparator in C locale
2-
Copyright (C) 1998-1999, 2005-2006, 2009-2020 Free Software
3-
Foundation, Inc.
2+
Copyright (C) 1998-1999, 2005-2006, 2009-2020 Free Software Foundation, Inc.
43
54
This program is free software; you can redistribute it and/or modify
65
it under the terms of the GNU General Public License as published by

lib/c-strncasecmp.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
/* c-strncasecmp.c -- case insensitive string comparator in C locale
2-
Copyright (C) 1998-1999, 2005-2006, 2009-2020 Free Software
3-
Foundation, Inc.
2+
Copyright (C) 1998-1999, 2005-2006, 2009-2020 Free Software Foundation, Inc.
43
54
This program is free software; you can redistribute it and/or modify
65
it under the terms of the GNU General Public License as published by

lib/careadlinkat.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/* Read symbolic links into a buffer without size limitation, relative to fd.
22
3-
Copyright (C) 2001, 2003-2004, 2007, 2009-2020 Free Software
4-
Foundation, Inc.
3+
Copyright (C) 2001, 2003-2004, 2007, 2009-2020 Free Software Foundation,
4+
Inc.
55
66
This program is free software: you can redistribute it and/or modify
77
it under the terms of the GNU General Public License as published by

lib/cloexec.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
/* cloexec.c - set or clear the close-on-exec descriptor flag
22
3-
Copyright (C) 1991, 2004-2006, 2009-2020 Free Software Foundation,
4-
Inc.
3+
Copyright (C) 1991, 2004-2006, 2009-2020 Free Software Foundation, Inc.
54
65
This program is free software: you can redistribute it and/or modify
76
it under the terms of the GNU General Public License as published by

0 commit comments

Comments
 (0)