diff options
| author | Paul Eggert | 2017-01-01 01:32:27 -0800 |
|---|---|---|
| committer | Paul Eggert | 2017-01-01 01:32:56 -0800 |
| commit | 5a59e28dec039453aaad27fd0919bb93ed517079 (patch) | |
| tree | aea1913198992523e05fc1b52c9930df9de052cb | |
| parent | bcf244ef9be0fe61f4b9a48d3412b2c8a9f1edb9 (diff) | |
| download | emacs-5a59e28dec039453aaad27fd0919bb93ed517079.tar.gz emacs-5a59e28dec039453aaad27fd0919bb93ed517079.zip | |
Merge from gnulib
This incorporates:
2016-12-19 stdint: Fix WINT_MAX to match wint_t on mingw
2016-12-18 getopt: Fix link error for users of getopt() in <unistd.h>
2016-12-17 getlogin: Port to newer mingw
2016-12-17 stdint: Fix WINT_MAX to match wint_t on MSVC
2016-12-17 Avoid redefinition errors on MSVC
* lib/getopt.in.h, lib/stdint.in.h, lib/stdio.in.h, lib/unistd.in.h:
* m4/stdint.m4, m4/unistd_h.m4:
Copy from gnulib.
* lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
Plus, this commit updates the indenting on copyright notices to
match that of gnulib.
79 files changed, 154 insertions, 145 deletions
diff --git a/lib/alloca.in.h b/lib/alloca.in.h index aa482589d96..c3dc38a5b94 100644 --- a/lib/alloca.in.h +++ b/lib/alloca.in.h | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | /* Memory allocation on the stack. | 1 | /* Memory allocation on the stack. |
| 2 | 2 | ||
| 3 | Copyright (C) 1995, 1999, 2001-2004, 2006-2017 Free Software | 3 | Copyright (C) 1995, 1999, 2001-2004, 2006-2017 Free Software Foundation, |
| 4 | Foundation, Inc. | 4 | Inc. |
| 5 | 5 | ||
| 6 | This program is free software; you can redistribute it and/or modify it | 6 | This program is free software; you can redistribute it and/or modify it |
| 7 | under the terms of the GNU General Public License as published | 7 | under the terms of the GNU General Public License as published |
diff --git a/lib/binary-io.h b/lib/binary-io.h index da0b47c878a..f766439e2fb 100644 --- a/lib/binary-io.h +++ b/lib/binary-io.h | |||
| @@ -1,6 +1,5 @@ | |||
| 1 | /* Binary mode I/O. | 1 | /* Binary mode I/O. |
| 2 | Copyright (C) 2001, 2003, 2005, 2008-2017 Free Software Foundation, | 2 | Copyright (C) 2001, 2003, 2005, 2008-2017 Free Software Foundation, Inc. |
| 3 | Inc. | ||
| 4 | 3 | ||
| 5 | This program is free software: you can redistribute it and/or modify | 4 | This program is free software: you can redistribute it and/or modify |
| 6 | it under the terms of the GNU General Public License as published by | 5 | it under the terms of the GNU General Public License as published by |
diff --git a/lib/c-ctype.h b/lib/c-ctype.h index 8d6156b6f68..faf21581ca0 100644 --- a/lib/c-ctype.h +++ b/lib/c-ctype.h | |||
| @@ -5,8 +5,7 @@ | |||
| 5 | <ctype.h> functions' behaviour depends on the current locale set via | 5 | <ctype.h> functions' behaviour depends on the current locale set via |
| 6 | setlocale. | 6 | setlocale. |
| 7 | 7 | ||
| 8 | Copyright (C) 2000-2003, 2006, 2008-2017 Free Software Foundation, | 8 | Copyright (C) 2000-2003, 2006, 2008-2017 Free Software Foundation, Inc. |
| 9 | Inc. | ||
| 10 | 9 | ||
| 11 | This program is free software; you can redistribute it and/or modify | 10 | This program is free software; you can redistribute it and/or modify |
| 12 | it under the terms of the GNU General Public License as published by | 11 | it under the terms of the GNU General Public License as published by |
diff --git a/lib/c-strcasecmp.c b/lib/c-strcasecmp.c index 0354fa864f6..5bce873d7b2 100644 --- a/lib/c-strcasecmp.c +++ b/lib/c-strcasecmp.c | |||
| @@ -1,6 +1,5 @@ | |||
| 1 | /* c-strcasecmp.c -- case insensitive string comparator in C locale | 1 | /* c-strcasecmp.c -- case insensitive string comparator in C locale |
| 2 | Copyright (C) 1998-1999, 2005-2006, 2009-2017 Free Software | 2 | Copyright (C) 1998-1999, 2005-2006, 2009-2017 Free Software Foundation, Inc. |
| 3 | Foundation, Inc. | ||
| 4 | 3 | ||
| 5 | This program is free software; you can redistribute it and/or modify | 4 | This program is free software; you can redistribute it and/or modify |
| 6 | it under the terms of the GNU General Public License as published by | 5 | it under the terms of the GNU General Public License as published by |
diff --git a/lib/c-strncasecmp.c b/lib/c-strncasecmp.c index 9dcf9149ab9..ada62d70b7b 100644 --- a/lib/c-strncasecmp.c +++ b/lib/c-strncasecmp.c | |||
| @@ -1,6 +1,5 @@ | |||
| 1 | /* c-strncasecmp.c -- case insensitive string comparator in C locale | 1 | /* c-strncasecmp.c -- case insensitive string comparator in C locale |
| 2 | Copyright (C) 1998-1999, 2005-2006, 2009-2017 Free Software | 2 | Copyright (C) 1998-1999, 2005-2006, 2009-2017 Free Software Foundation, Inc. |
| 3 | Foundation, Inc. | ||
| 4 | 3 | ||
| 5 | This program is free software; you can redistribute it and/or modify | 4 | This program is free software; you can redistribute it and/or modify |
| 6 | it under the terms of the GNU General Public License as published by | 5 | it under the terms of the GNU General Public License as published by |
diff --git a/lib/careadlinkat.c b/lib/careadlinkat.c index 6345a01a3c8..455e00efe00 100644 --- a/lib/careadlinkat.c +++ b/lib/careadlinkat.c | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | /* Read symbolic links into a buffer without size limitation, relative to fd. | 1 | /* Read symbolic links into a buffer without size limitation, relative to fd. |
| 2 | 2 | ||
| 3 | Copyright (C) 2001, 2003-2004, 2007, 2009-2017 Free Software | 3 | Copyright (C) 2001, 2003-2004, 2007, 2009-2017 Free Software Foundation, |
| 4 | Foundation, Inc. | 4 | Inc. |
| 5 | 5 | ||
| 6 | This program is free software: you can redistribute it and/or modify | 6 | This program is free software: you can redistribute it and/or modify |
| 7 | it under the terms of the GNU General Public License as published by | 7 | it under the terms of the GNU General Public License as published by |
diff --git a/lib/close-stream.c b/lib/close-stream.c index 8c5763593d7..96c126536cc 100644 --- a/lib/close-stream.c +++ b/lib/close-stream.c | |||
| @@ -1,7 +1,6 @@ | |||
| 1 | /* Close a stream, with nicer error checking than fclose's. | 1 | /* Close a stream, with nicer error checking than fclose's. |
| 2 | 2 | ||
| 3 | Copyright (C) 1998-2002, 2004, 2006-2017 Free Software Foundation, | 3 | Copyright (C) 1998-2002, 2004, 2006-2017 Free Software Foundation, Inc. |
| 4 | Inc. | ||
| 5 | 4 | ||
| 6 | This program is free software: you can redistribute it and/or modify | 5 | This program is free software: you can redistribute it and/or modify |
| 7 | it under the terms of the GNU General Public License as published by | 6 | it under the terms of the GNU General Public License as published by |
diff --git a/lib/dosname.h b/lib/dosname.h index d5d97413ab1..dd5c177725c 100644 --- a/lib/dosname.h +++ b/lib/dosname.h | |||
| @@ -1,7 +1,6 @@ | |||
| 1 | /* File names on MS-DOS/Windows systems. | 1 | /* File names on MS-DOS/Windows systems. |
| 2 | 2 | ||
| 3 | Copyright (C) 2000-2001, 2004-2006, 2009-2017 Free Software | 3 | Copyright (C) 2000-2001, 2004-2006, 2009-2017 Free Software Foundation, Inc. |
| 4 | Foundation, Inc. | ||
| 5 | 4 | ||
| 6 | This program is free software: you can redistribute it and/or modify | 5 | This program is free software: you can redistribute it and/or modify |
| 7 | it under the terms of the GNU General Public License as published by | 6 | it under the terms of the GNU General Public License as published by |
diff --git a/lib/dup2.c b/lib/dup2.c index 7d593e473fb..c0c7cadf4a8 100644 --- a/lib/dup2.c +++ b/lib/dup2.c | |||
| @@ -1,7 +1,6 @@ | |||
| 1 | /* Duplicate an open file descriptor to a specified file descriptor. | 1 | /* Duplicate an open file descriptor to a specified file descriptor. |
| 2 | 2 | ||
| 3 | Copyright (C) 1999, 2004-2007, 2009-2017 Free Software Foundation, | 3 | Copyright (C) 1999, 2004-2007, 2009-2017 Free Software Foundation, Inc. |
| 4 | Inc. | ||
| 5 | 4 | ||
| 6 | This program is free software: you can redistribute it and/or modify | 5 | This program is free software: you can redistribute it and/or modify |
| 7 | it under the terms of the GNU General Public License as published by | 6 | it under the terms of the GNU General Public License as published by |
diff --git a/lib/filemode.h b/lib/filemode.h index cd263d70950..5fbb79146d8 100644 --- a/lib/filemode.h +++ b/lib/filemode.h | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | /* Make a string describing file modes. | 1 | /* Make a string describing file modes. |
| 2 | 2 | ||
| 3 | Copyright (C) 1998-1999, 2003, 2006, 2009-2017 Free Software | 3 | Copyright (C) 1998-1999, 2003, 2006, 2009-2017 Free Software Foundation, |
| 4 | Foundation, Inc. | 4 | Inc. |
| 5 | 5 | ||
| 6 | This program is free software: you can redistribute it and/or modify | 6 | This program is free software: you can redistribute it and/or modify |
| 7 | it under the terms of the GNU General Public License as published by | 7 | it under the terms of the GNU General Public License as published by |
diff --git a/lib/filevercmp.c b/lib/filevercmp.c index a75c9468e31..0396867c7e5 100644 --- a/lib/filevercmp.c +++ b/lib/filevercmp.c | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | /* | 1 | /* |
| 2 | Copyright (C) 1995 Ian Jackson <iwj10@cus.cam.ac.uk> | 2 | Copyright (C) 1995 Ian Jackson <iwj10@cus.cam.ac.uk> |
| 3 | Copyright (C) 2001 Anthony Towns <aj@azure.humbug.org.au> | 3 | Copyright (C) 2001 Anthony Towns <aj@azure.humbug.org.au> |
| 4 | Copyright (C) 2008-2016 Free Software Foundation, Inc. | 4 | Copyright (C) 2008-2017 Free Software Foundation, Inc. |
| 5 | 5 | ||
| 6 | This program is free software: you can redistribute it and/or modify | 6 | This program is free software: you can redistribute it and/or modify |
| 7 | it under the terms of the GNU General Public License as published by | 7 | it under the terms of the GNU General Public License as published by |
diff --git a/lib/filevercmp.h b/lib/filevercmp.h index 220b71b5790..d6989911726 100644 --- a/lib/filevercmp.h +++ b/lib/filevercmp.h | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | /* | 1 | /* |
| 2 | Copyright (C) 1995 Ian Jackson <iwj10@cus.cam.ac.uk> | 2 | Copyright (C) 1995 Ian Jackson <iwj10@cus.cam.ac.uk> |
| 3 | Copyright (C) 2001 Anthony Towns <aj@azure.humbug.org.au> | 3 | Copyright (C) 2001 Anthony Towns <aj@azure.humbug.org.au> |
| 4 | Copyright (C) 2008-2016 Free Software Foundation, Inc. | 4 | Copyright (C) 2008-2017 Free Software Foundation, Inc. |
| 5 | 5 | ||
| 6 | This program is free software: you can redistribute it and/or modify | 6 | This program is free software: you can redistribute it and/or modify |
| 7 | it under the terms of the GNU General Public License as published by | 7 | it under the terms of the GNU General Public License as published by |
diff --git a/lib/flexmember.h b/lib/flexmember.h index 62c556bae25..c71ea651036 100644 --- a/lib/flexmember.h +++ b/lib/flexmember.h | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* Sizes of structs with flexible array members. | 1 | /* Sizes of structs with flexible array members. |
| 2 | 2 | ||
| 3 | Copyright 2016 Free Software Foundation, Inc. | 3 | Copyright 2016-2017 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | This program is free software: you can redistribute it and/or modify | 5 | This program is free software: you can redistribute it and/or modify |
| 6 | it under the terms of the GNU General Public License as published by | 6 | it under the terms of the GNU General Public License as published by |
diff --git a/lib/fpending.c b/lib/fpending.c index 8ead4ac371d..8761c77ca66 100644 --- a/lib/fpending.c +++ b/lib/fpending.c | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* fpending.c -- return the number of pending output bytes on a stream | 1 | /* fpending.c -- return the number of pending output bytes on a stream |
| 2 | Copyright (C) 2000, 2004, 2006-2007, 2009-2017 Free Software | 2 | Copyright (C) 2000, 2004, 2006-2007, 2009-2017 Free Software Foundation, |
| 3 | Foundation, Inc. | 3 | Inc. |
| 4 | 4 | ||
| 5 | This program is free software: you can redistribute it and/or modify | 5 | This program is free software: you can redistribute it and/or modify |
| 6 | it under the terms of the GNU General Public License as published by | 6 | it under the terms of the GNU General Public License as published by |
diff --git a/lib/fpending.h b/lib/fpending.h index 480827b1469..a901deee4b0 100644 --- a/lib/fpending.h +++ b/lib/fpending.h | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | /* Declare __fpending. | 1 | /* Declare __fpending. |
| 2 | 2 | ||
| 3 | Copyright (C) 2000, 2003, 2005-2006, 2009-2017 Free Software | 3 | Copyright (C) 2000, 2003, 2005-2006, 2009-2017 Free Software Foundation, |
| 4 | Foundation, Inc. | 4 | Inc. |
| 5 | 5 | ||
| 6 | This program is free software: you can redistribute it and/or modify | 6 | This program is free software: you can redistribute it and/or modify |
| 7 | it under the terms of the GNU General Public License as published by | 7 | it under the terms of the GNU General Public License as published by |
diff --git a/lib/getgroups.c b/lib/getgroups.c index 491d358cb53..dce0f2d0034 100644 --- a/lib/getgroups.c +++ b/lib/getgroups.c | |||
| @@ -1,7 +1,6 @@ | |||
| 1 | /* provide consistent interface to getgroups for systems that don't allow N==0 | 1 | /* provide consistent interface to getgroups for systems that don't allow N==0 |
| 2 | 2 | ||
| 3 | Copyright (C) 1996, 1999, 2003, 2006-2017 Free Software Foundation, | 3 | Copyright (C) 1996, 1999, 2003, 2006-2017 Free Software Foundation, Inc. |
| 4 | Inc. | ||
| 5 | 4 | ||
| 6 | This program is free software: you can redistribute it and/or modify | 5 | This program is free software: you can redistribute it and/or modify |
| 7 | it under the terms of the GNU General Public License as published by | 6 | it under the terms of the GNU General Public License as published by |
diff --git a/lib/getloadavg.c b/lib/getloadavg.c index 123dac511be..0fe23bb9a59 100644 --- a/lib/getloadavg.c +++ b/lib/getloadavg.c | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | /* Get the system load averages. | 1 | /* Get the system load averages. |
| 2 | 2 | ||
| 3 | Copyright (C) 1985-1989, 1991-1995, 1997, 1999-2000, 2003-2017 Free | 3 | Copyright (C) 1985-1989, 1991-1995, 1997, 1999-2000, 2003-2017 Free Software |
| 4 | Software Foundation, Inc. | 4 | Foundation, Inc. |
| 5 | 5 | ||
| 6 | NOTE: The canonical source of this file is maintained with gnulib. | 6 | NOTE: The canonical source of this file is maintained with gnulib. |
| 7 | Bugs can be reported to bug-gnulib@gnu.org. | 7 | Bugs can be reported to bug-gnulib@gnu.org. |
diff --git a/lib/getopt.in.h b/lib/getopt.in.h index dc2e2f2c549..6cbad8e0339 100644 --- a/lib/getopt.in.h +++ b/lib/getopt.in.h | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* Declarations for getopt. | 1 | /* Declarations for getopt. |
| 2 | Copyright (C) 1989-1994, 1996-1999, 2001, 2003-2007, 2009-2017 Free | 2 | Copyright (C) 1989-1994, 1996-1999, 2001, 2003-2007, 2009-2017 Free Software |
| 3 | Software Foundation, Inc. | 3 | Foundation, Inc. |
| 4 | This file is part of the GNU C Library. | 4 | This file is part of the GNU C Library. |
| 5 | 5 | ||
| 6 | This program is free software: you can redistribute it and/or modify | 6 | This program is free software: you can redistribute it and/or modify |
| @@ -47,15 +47,20 @@ | |||
| 47 | identifiers so that they do not collide with the system functions | 47 | identifiers so that they do not collide with the system functions |
| 48 | and variables. Renaming avoids problems with some compilers and | 48 | and variables. Renaming avoids problems with some compilers and |
| 49 | linkers. */ | 49 | linkers. */ |
| 50 | #if defined __GETOPT_PREFIX && !defined __need_getopt | 50 | #if defined __GETOPT_PREFIX |
| 51 | # if !@HAVE_GETOPT_H@ | 51 | # if !defined __need_getopt |
| 52 | # define __need_system_stdlib_h | 52 | # if !@HAVE_GETOPT_H@ |
| 53 | # include <stdlib.h> | 53 | # define __need_system_stdlib_h |
| 54 | # undef __need_system_stdlib_h | 54 | # include <stdlib.h> |
| 55 | # include <stdio.h> | 55 | # undef __need_system_stdlib_h |
| 56 | # include <unistd.h> | 56 | # include <stdio.h> |
| 57 | # include <unistd.h> | ||
| 58 | # endif | ||
| 59 | # undef __need_getopt | ||
| 57 | # endif | 60 | # endif |
| 58 | # undef __need_getopt | 61 | # undef __GETOPT_CONCAT |
| 62 | # undef __GETOPT_XCONCAT | ||
| 63 | # undef __GETOPT_ID | ||
| 59 | # undef getopt | 64 | # undef getopt |
| 60 | # undef getopt_long | 65 | # undef getopt_long |
| 61 | # undef getopt_long_only | 66 | # undef getopt_long_only |
| @@ -64,6 +69,7 @@ | |||
| 64 | # undef optind | 69 | # undef optind |
| 65 | # undef optopt | 70 | # undef optopt |
| 66 | # undef option | 71 | # undef option |
| 72 | # undef _getopt_internal | ||
| 67 | # define __GETOPT_CONCAT(x, y) x ## y | 73 | # define __GETOPT_CONCAT(x, y) x ## y |
| 68 | # define __GETOPT_XCONCAT(x, y) __GETOPT_CONCAT (x, y) | 74 | # define __GETOPT_XCONCAT(x, y) __GETOPT_CONCAT (x, y) |
| 69 | # define __GETOPT_ID(y) __GETOPT_XCONCAT (__GETOPT_PREFIX, y) | 75 | # define __GETOPT_ID(y) __GETOPT_XCONCAT (__GETOPT_PREFIX, y) |
diff --git a/lib/getopt1.c b/lib/getopt1.c index 55210c8982b..4d2e8cbac33 100644 --- a/lib/getopt1.c +++ b/lib/getopt1.c | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* getopt_long and getopt_long_only entry points for GNU getopt. | 1 | /* getopt_long and getopt_long_only entry points for GNU getopt. |
| 2 | Copyright (C) 1987-1994, 1996-1998, 2004, 2006, 2009-2017 Free | 2 | Copyright (C) 1987-1994, 1996-1998, 2004, 2006, 2009-2017 Free Software |
| 3 | Software Foundation, Inc. | 3 | Foundation, Inc. |
| 4 | This file is part of the GNU C Library. | 4 | This file is part of the GNU C Library. |
| 5 | 5 | ||
| 6 | This program is free software: you can redistribute it and/or modify | 6 | This program is free software: you can redistribute it and/or modify |
diff --git a/lib/getopt_int.h b/lib/getopt_int.h index 62103144e8c..a7ce0e9cc14 100644 --- a/lib/getopt_int.h +++ b/lib/getopt_int.h | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* Internal declarations for getopt. | 1 | /* Internal declarations for getopt. |
| 2 | Copyright (C) 1989-1994, 1996-1999, 2001, 2003-2004, 2009-2017 Free | 2 | Copyright (C) 1989-1994, 1996-1999, 2001, 2003-2004, 2009-2017 Free Software |
| 3 | Software Foundation, Inc. | 3 | Foundation, Inc. |
| 4 | This file is part of the GNU C Library. | 4 | This file is part of the GNU C Library. |
| 5 | 5 | ||
| 6 | This program is free software: you can redistribute it and/or modify | 6 | This program is free software: you can redistribute it and/or modify |
diff --git a/lib/gettext.h b/lib/gettext.h index 41ed85ddf62..0465d7ad148 100644 --- a/lib/gettext.h +++ b/lib/gettext.h | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* Convenience header for conditional use of GNU <libintl.h>. | 1 | /* Convenience header for conditional use of GNU <libintl.h>. |
| 2 | Copyright (C) 1995-1998, 2000-2002, 2004-2006, 2009-2017 Free | 2 | Copyright (C) 1995-1998, 2000-2002, 2004-2006, 2009-2017 Free Software |
| 3 | Software Foundation, Inc. | 3 | Foundation, Inc. |
| 4 | 4 | ||
| 5 | This program is free software; you can redistribute it and/or modify | 5 | This program is free software; you can redistribute it and/or modify |
| 6 | it under the terms of the GNU General Public License as published by | 6 | it under the terms of the GNU General Public License as published by |
diff --git a/lib/gettime.c b/lib/gettime.c index b3eb3d38f7a..4ae313e78ea 100644 --- a/lib/gettime.c +++ b/lib/gettime.c | |||
| @@ -1,7 +1,6 @@ | |||
| 1 | /* gettime -- get the system clock | 1 | /* gettime -- get the system clock |
| 2 | 2 | ||
| 3 | Copyright (C) 2002, 2004-2007, 2009-2017 Free Software Foundation, | 3 | Copyright (C) 2002, 2004-2007, 2009-2017 Free Software Foundation, Inc. |
| 4 | Inc. | ||
| 5 | 4 | ||
| 6 | This program is free software: you can redistribute it and/or modify | 5 | This program is free software: you can redistribute it and/or modify |
| 7 | it under the terms of the GNU General Public License as published by | 6 | it under the terms of the GNU General Public License as published by |
diff --git a/lib/gettimeofday.c b/lib/gettimeofday.c index f7e198b01ad..18dcbda4db5 100644 --- a/lib/gettimeofday.c +++ b/lib/gettimeofday.c | |||
| @@ -1,7 +1,6 @@ | |||
| 1 | /* Provide gettimeofday for systems that don't have it or for which it's broken. | 1 | /* Provide gettimeofday for systems that don't have it or for which it's broken. |
| 2 | 2 | ||
| 3 | Copyright (C) 2001-2003, 2005-2007, 2009-2017 Free Software | 3 | Copyright (C) 2001-2003, 2005-2007, 2009-2017 Free Software Foundation, Inc. |
| 4 | Foundation, Inc. | ||
| 5 | 4 | ||
| 6 | This program is free software; you can redistribute it and/or modify | 5 | This program is free software; you can redistribute it and/or modify |
| 7 | it under the terms of the GNU General Public License as published by | 6 | it under the terms of the GNU General Public License as published by |
diff --git a/lib/gnulib.mk b/lib/gnulib.mk index eb5155af910..4398fe37173 100644 --- a/lib/gnulib.mk +++ b/lib/gnulib.mk | |||
| @@ -1054,6 +1054,7 @@ stdint.h: stdint.in.h $(top_builddir)/config.status | |||
| 1054 | -e 's/@''BITSIZEOF_WINT_T''@/$(BITSIZEOF_WINT_T)/g' \ | 1054 | -e 's/@''BITSIZEOF_WINT_T''@/$(BITSIZEOF_WINT_T)/g' \ |
| 1055 | -e 's/@''HAVE_SIGNED_WINT_T''@/$(HAVE_SIGNED_WINT_T)/g' \ | 1055 | -e 's/@''HAVE_SIGNED_WINT_T''@/$(HAVE_SIGNED_WINT_T)/g' \ |
| 1056 | -e 's/@''WINT_T_SUFFIX''@/$(WINT_T_SUFFIX)/g' \ | 1056 | -e 's/@''WINT_T_SUFFIX''@/$(WINT_T_SUFFIX)/g' \ |
| 1057 | -e 's/@''GNULIB_OVERRIDES_WINT_T''@/$(GNULIB_OVERRIDES_WINT_T)/g' \ | ||
| 1057 | < $(srcdir)/stdint.in.h; \ | 1058 | < $(srcdir)/stdint.in.h; \ |
| 1058 | } > $@-t && \ | 1059 | } > $@-t && \ |
| 1059 | mv $@-t $@ | 1060 | mv $@-t $@ |
| @@ -1815,7 +1816,6 @@ unistd.h: unistd.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H | |||
| 1815 | -e 's|@''HAVE_GETDTABLESIZE''@|$(HAVE_GETDTABLESIZE)|g' \ | 1816 | -e 's|@''HAVE_GETDTABLESIZE''@|$(HAVE_GETDTABLESIZE)|g' \ |
| 1816 | -e 's|@''HAVE_GETGROUPS''@|$(HAVE_GETGROUPS)|g' \ | 1817 | -e 's|@''HAVE_GETGROUPS''@|$(HAVE_GETGROUPS)|g' \ |
| 1817 | -e 's|@''HAVE_GETHOSTNAME''@|$(HAVE_GETHOSTNAME)|g' \ | 1818 | -e 's|@''HAVE_GETHOSTNAME''@|$(HAVE_GETHOSTNAME)|g' \ |
| 1818 | -e 's|@''HAVE_GETLOGIN''@|$(HAVE_GETLOGIN)|g' \ | ||
| 1819 | -e 's|@''HAVE_GETPAGESIZE''@|$(HAVE_GETPAGESIZE)|g' \ | 1819 | -e 's|@''HAVE_GETPAGESIZE''@|$(HAVE_GETPAGESIZE)|g' \ |
| 1820 | -e 's|@''HAVE_GROUP_MEMBER''@|$(HAVE_GROUP_MEMBER)|g' \ | 1820 | -e 's|@''HAVE_GROUP_MEMBER''@|$(HAVE_GROUP_MEMBER)|g' \ |
| 1821 | -e 's|@''HAVE_LCHOWN''@|$(HAVE_LCHOWN)|g' \ | 1821 | -e 's|@''HAVE_LCHOWN''@|$(HAVE_LCHOWN)|g' \ |
| @@ -1837,6 +1837,7 @@ unistd.h: unistd.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H | |||
| 1837 | -e 's|@''HAVE_DECL_FCHDIR''@|$(HAVE_DECL_FCHDIR)|g' \ | 1837 | -e 's|@''HAVE_DECL_FCHDIR''@|$(HAVE_DECL_FCHDIR)|g' \ |
| 1838 | -e 's|@''HAVE_DECL_FDATASYNC''@|$(HAVE_DECL_FDATASYNC)|g' \ | 1838 | -e 's|@''HAVE_DECL_FDATASYNC''@|$(HAVE_DECL_FDATASYNC)|g' \ |
| 1839 | -e 's|@''HAVE_DECL_GETDOMAINNAME''@|$(HAVE_DECL_GETDOMAINNAME)|g' \ | 1839 | -e 's|@''HAVE_DECL_GETDOMAINNAME''@|$(HAVE_DECL_GETDOMAINNAME)|g' \ |
| 1840 | -e 's|@''HAVE_DECL_GETLOGIN''@|$(HAVE_DECL_GETLOGIN)|g' \ | ||
| 1840 | -e 's|@''HAVE_DECL_GETLOGIN_R''@|$(HAVE_DECL_GETLOGIN_R)|g' \ | 1841 | -e 's|@''HAVE_DECL_GETLOGIN_R''@|$(HAVE_DECL_GETLOGIN_R)|g' \ |
| 1841 | -e 's|@''HAVE_DECL_GETPAGESIZE''@|$(HAVE_DECL_GETPAGESIZE)|g' \ | 1842 | -e 's|@''HAVE_DECL_GETPAGESIZE''@|$(HAVE_DECL_GETPAGESIZE)|g' \ |
| 1842 | -e 's|@''HAVE_DECL_GETUSERSHELL''@|$(HAVE_DECL_GETUSERSHELL)|g' \ | 1843 | -e 's|@''HAVE_DECL_GETUSERSHELL''@|$(HAVE_DECL_GETUSERSHELL)|g' \ |
diff --git a/lib/group-member.c b/lib/group-member.c index d4e2b3b22ee..20f8ee8b67f 100644 --- a/lib/group-member.c +++ b/lib/group-member.c | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | /* group-member.c -- determine whether group id is in calling user's group list | 1 | /* group-member.c -- determine whether group id is in calling user's group list |
| 2 | 2 | ||
| 3 | Copyright (C) 1994, 1997-1998, 2003, 2005-2006, 2009-2017 Free | 3 | Copyright (C) 1994, 1997-1998, 2003, 2005-2006, 2009-2017 Free Software |
| 4 | Software Foundation, Inc. | 4 | Foundation, Inc. |
| 5 | 5 | ||
| 6 | This program is free software: you can redistribute it and/or modify | 6 | This program is free software: you can redistribute it and/or modify |
| 7 | it under the terms of the GNU General Public License as published by | 7 | it under the terms of the GNU General Public License as published by |
diff --git a/lib/limits.in.h b/lib/limits.in.h index a1eae02ada8..a7e307f5c66 100644 --- a/lib/limits.in.h +++ b/lib/limits.in.h | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* A GNU-like <limits.h>. | 1 | /* A GNU-like <limits.h>. |
| 2 | 2 | ||
| 3 | Copyright 2016 Free Software Foundation, Inc. | 3 | Copyright 2016-2017 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | This program is free software; you can redistribute it and/or | 5 | This program is free software; you can redistribute it and/or |
| 6 | modify it under the terms of the GNU General Public License | 6 | modify it under the terms of the GNU General Public License |
| @@ -1,7 +1,7 @@ | |||
| 1 | /* Functions to compute MD5 message digest of files or memory blocks. | 1 | /* Functions to compute MD5 message digest of files or memory blocks. |
| 2 | according to the definition of MD5 in RFC 1321 from April 1992. | 2 | according to the definition of MD5 in RFC 1321 from April 1992. |
| 3 | Copyright (C) 1995-1997, 1999-2001, 2005-2006, 2008-2017 Free | 3 | Copyright (C) 1995-1997, 1999-2001, 2005-2006, 2008-2017 Free Software |
| 4 | Software Foundation, Inc. | 4 | Foundation, Inc. |
| 5 | This file is part of the GNU C Library. | 5 | This file is part of the GNU C Library. |
| 6 | 6 | ||
| 7 | This program is free software; you can redistribute it and/or modify it | 7 | This program is free software; you can redistribute it and/or modify it |
| @@ -1,7 +1,7 @@ | |||
| 1 | /* Declaration of functions and data types used for MD5 sum computing | 1 | /* Declaration of functions and data types used for MD5 sum computing |
| 2 | library functions. | 2 | library functions. |
| 3 | Copyright (C) 1995-1997, 1999-2001, 2004-2006, 2008-2017 Free | 3 | Copyright (C) 1995-1997, 1999-2001, 2004-2006, 2008-2017 Free Software |
| 4 | Software Foundation, Inc. | 4 | Foundation, Inc. |
| 5 | This file is part of the GNU C Library. | 5 | This file is part of the GNU C Library. |
| 6 | 6 | ||
| 7 | This program is free software; you can redistribute it and/or modify it | 7 | This program is free software; you can redistribute it and/or modify it |
diff --git a/lib/memrchr.c b/lib/memrchr.c index 7f0236cc991..fefe16cc517 100644 --- a/lib/memrchr.c +++ b/lib/memrchr.c | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | /* memrchr -- find the last occurrence of a byte in a memory block | 1 | /* memrchr -- find the last occurrence of a byte in a memory block |
| 2 | 2 | ||
| 3 | Copyright (C) 1991, 1993, 1996-1997, 1999-2000, 2003-2017 Free | 3 | Copyright (C) 1991, 1993, 1996-1997, 1999-2000, 2003-2017 Free Software |
| 4 | Software Foundation, Inc. | 4 | Foundation, Inc. |
| 5 | 5 | ||
| 6 | Based on strlen implementation by Torbjorn Granlund (tege@sics.se), | 6 | Based on strlen implementation by Torbjorn Granlund (tege@sics.se), |
| 7 | with help from Dan Sahlin (dan@sics.se) and | 7 | with help from Dan Sahlin (dan@sics.se) and |
diff --git a/lib/mktime-internal.h b/lib/mktime-internal.h index 2f586aef641..6c8b2e7f526 100644 --- a/lib/mktime-internal.h +++ b/lib/mktime-internal.h | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* mktime variant that also uses an offset guess | 1 | /* mktime variant that also uses an offset guess |
| 2 | 2 | ||
| 3 | Copyright 2016 Free Software Foundation, Inc. | 3 | Copyright 2016-2017 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | This program is free software; you can redistribute it and/or | 5 | This program is free software; you can redistribute it and/or |
| 6 | modify it under the terms of the GNU General Public | 6 | modify it under the terms of the GNU General Public |
diff --git a/lib/sha1.c b/lib/sha1.c index 11050ea6327..ea0474f2ce0 100644 --- a/lib/sha1.c +++ b/lib/sha1.c | |||
| @@ -1,8 +1,7 @@ | |||
| 1 | /* sha1.c - Functions to compute SHA1 message digest of files or | 1 | /* sha1.c - Functions to compute SHA1 message digest of files or |
| 2 | memory blocks according to the NIST specification FIPS-180-1. | 2 | memory blocks according to the NIST specification FIPS-180-1. |
| 3 | 3 | ||
| 4 | Copyright (C) 2000-2001, 2003-2006, 2008-2017 Free Software | 4 | Copyright (C) 2000-2001, 2003-2006, 2008-2017 Free Software Foundation, Inc. |
| 5 | Foundation, Inc. | ||
| 6 | 5 | ||
| 7 | This program is free software; you can redistribute it and/or modify it | 6 | This program is free software; you can redistribute it and/or modify it |
| 8 | under the terms of the GNU General Public License as published by the | 7 | under the terms of the GNU General Public License as published by the |
diff --git a/lib/sig2str.c b/lib/sig2str.c index af171aed06b..c50c612b397 100644 --- a/lib/sig2str.c +++ b/lib/sig2str.c | |||
| @@ -1,7 +1,6 @@ | |||
| 1 | /* sig2str.c -- convert between signal names and numbers | 1 | /* sig2str.c -- convert between signal names and numbers |
| 2 | 2 | ||
| 3 | Copyright (C) 2002, 2004, 2006, 2009-2017 Free Software Foundation, | 3 | Copyright (C) 2002, 2004, 2006, 2009-2017 Free Software Foundation, Inc. |
| 4 | Inc. | ||
| 5 | 4 | ||
| 6 | This program is free software: you can redistribute it and/or modify | 5 | This program is free software: you can redistribute it and/or modify |
| 7 | it under the terms of the GNU General Public License as published by | 6 | it under the terms of the GNU General Public License as published by |
diff --git a/lib/stdint.in.h b/lib/stdint.in.h index 90c8a79a561..d899c1e034e 100644 --- a/lib/stdint.in.h +++ b/lib/stdint.in.h | |||
| @@ -83,6 +83,15 @@ | |||
| 83 | LONG_MIN, LONG_MAX, ULONG_MAX, _GL_INTEGER_WIDTH. */ | 83 | LONG_MIN, LONG_MAX, ULONG_MAX, _GL_INTEGER_WIDTH. */ |
| 84 | #include <limits.h> | 84 | #include <limits.h> |
| 85 | 85 | ||
| 86 | /* Override WINT_MIN and WINT_MAX if gnulib's <wchar.h> or <wctype.h> overrides | ||
| 87 | wint_t. */ | ||
| 88 | #if @GNULIB_OVERRIDES_WINT_T@ | ||
| 89 | # undef WINT_MIN | ||
| 90 | # undef WINT_MAX | ||
| 91 | # define WINT_MIN 0x0U | ||
| 92 | # define WINT_MAX 0xffffffffU | ||
| 93 | #endif | ||
| 94 | |||
| 86 | #if ! @HAVE_C99_STDINT_H@ | 95 | #if ! @HAVE_C99_STDINT_H@ |
| 87 | 96 | ||
| 88 | /* <sys/types.h> defines some of the stdint.h types as well, on glibc, | 97 | /* <sys/types.h> defines some of the stdint.h types as well, on glibc, |
diff --git a/lib/stdio-impl.h b/lib/stdio-impl.h index 766d6936590..d2d4daa6e10 100644 --- a/lib/stdio-impl.h +++ b/lib/stdio-impl.h | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* Implementation details of FILE streams. | 1 | /* Implementation details of FILE streams. |
| 2 | Copyright (C) 2007-2008, 2010-2016 Free Software Foundation, Inc. | 2 | Copyright (C) 2007-2008, 2010-2017 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This program is free software: you can redistribute it and/or modify | 4 | This program is free software: you can redistribute it and/or modify |
| 5 | it under the terms of the GNU General Public License as published by | 5 | it under the terms of the GNU General Public License as published by |
diff --git a/lib/stdio.in.h b/lib/stdio.in.h index 4c7ee55fd05..d706377f984 100644 --- a/lib/stdio.in.h +++ b/lib/stdio.in.h | |||
| @@ -118,6 +118,26 @@ | |||
| 118 | # include <unistd.h> | 118 | # include <unistd.h> |
| 119 | #endif | 119 | #endif |
| 120 | 120 | ||
| 121 | /* MSVC declares 'perror' in <stdlib.h>, not in <stdio.h>. We must include | ||
| 122 | it before we #define perror rpl_perror. */ | ||
| 123 | /* But in any case avoid namespace pollution on glibc systems. */ | ||
| 124 | #if (@GNULIB_PERROR@ || defined GNULIB_POSIXCHECK) \ | ||
| 125 | && ((defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__) \ | ||
| 126 | && ! defined __GLIBC__ | ||
| 127 | # include <stdlib.h> | ||
| 128 | #endif | ||
| 129 | |||
| 130 | /* MSVC declares 'remove' in <io.h>, not in <stdio.h>. We must include | ||
| 131 | it before we #define remove rpl_remove. */ | ||
| 132 | /* MSVC declares 'rename' in <io.h>, not in <stdio.h>. We must include | ||
| 133 | it before we #define rename rpl_rename. */ | ||
| 134 | /* But in any case avoid namespace pollution on glibc systems. */ | ||
| 135 | #if (@GNULIB_REMOVE@ || @GNULIB_RENAME@ || defined GNULIB_POSIXCHECK) \ | ||
| 136 | && ((defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__) \ | ||
| 137 | && ! defined __GLIBC__ | ||
| 138 | # include <io.h> | ||
| 139 | #endif | ||
| 140 | |||
| 121 | 141 | ||
| 122 | /* The definitions of _GL_FUNCDECL_RPL etc. are copied here. */ | 142 | /* The definitions of _GL_FUNCDECL_RPL etc. are copied here. */ |
| 123 | 143 | ||
diff --git a/lib/stdlib.in.h b/lib/stdlib.in.h index 55602fae0d3..b5cf9d36958 100644 --- a/lib/stdlib.in.h +++ b/lib/stdlib.in.h | |||
| @@ -1,7 +1,6 @@ | |||
| 1 | /* A GNU-like <stdlib.h>. | 1 | /* A GNU-like <stdlib.h>. |
| 2 | 2 | ||
| 3 | Copyright (C) 1995, 2001-2004, 2006-2017 Free Software Foundation, | 3 | Copyright (C) 1995, 2001-2004, 2006-2017 Free Software Foundation, Inc. |
| 4 | Inc. | ||
| 5 | 4 | ||
| 6 | This program is free software: you can redistribute it and/or modify | 5 | This program is free software: you can redistribute it and/or modify |
| 7 | it under the terms of the GNU General Public License as published by | 6 | it under the terms of the GNU General Public License as published by |
diff --git a/lib/strftime.c b/lib/strftime.c index 2e010830f7a..9aabcc6748c 100644 --- a/lib/strftime.c +++ b/lib/strftime.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* Copyright (C) 1991-2016 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1991-2017 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
diff --git a/lib/strtoimax.c b/lib/strtoimax.c index a4faa186c77..3f31fe913ad 100644 --- a/lib/strtoimax.c +++ b/lib/strtoimax.c | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | /* Convert string representation of a number into an intmax_t value. | 1 | /* Convert string representation of a number into an intmax_t value. |
| 2 | 2 | ||
| 3 | Copyright (C) 1999, 2001-2004, 2006, 2009-2017 Free Software | 3 | Copyright (C) 1999, 2001-2004, 2006, 2009-2017 Free Software Foundation, |
| 4 | Foundation, Inc. | 4 | Inc. |
| 5 | 5 | ||
| 6 | This program is free software: you can redistribute it and/or modify | 6 | This program is free software: you can redistribute it and/or modify |
| 7 | it under the terms of the GNU General Public License as published by | 7 | it under the terms of the GNU General Public License as published by |
diff --git a/lib/strtol.c b/lib/strtol.c index 473a5fb90da..751d1e0f1e8 100644 --- a/lib/strtol.c +++ b/lib/strtol.c | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | /* Convert string representation of a number into an integer value. | 1 | /* Convert string representation of a number into an integer value. |
| 2 | 2 | ||
| 3 | Copyright (C) 1991-1992, 1994-1999, 2003, 2005-2007, 2009-2017 Free | 3 | Copyright (C) 1991-1992, 1994-1999, 2003, 2005-2007, 2009-2017 Free Software |
| 4 | Software Foundation, Inc. | 4 | Foundation, Inc. |
| 5 | 5 | ||
| 6 | NOTE: The canonical source of this file is maintained with the GNU C | 6 | NOTE: The canonical source of this file is maintained with the GNU C |
| 7 | Library. Bugs can be reported to bug-glibc@gnu.org. | 7 | Library. Bugs can be reported to bug-glibc@gnu.org. |
diff --git a/lib/strtoll.c b/lib/strtoll.c index 330167f7453..d770e81db39 100644 --- a/lib/strtoll.c +++ b/lib/strtoll.c | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* Function to parse a 'long long int' from text. | 1 | /* Function to parse a 'long long int' from text. |
| 2 | Copyright (C) 1995-1997, 1999, 2001, 2009-2017 Free Software | 2 | Copyright (C) 1995-1997, 1999, 2001, 2009-2017 Free Software Foundation, |
| 3 | Foundation, Inc. | 3 | Inc. |
| 4 | This file is part of the GNU C Library. | 4 | This file is part of the GNU C Library. |
| 5 | 5 | ||
| 6 | This program is free software: you can redistribute it and/or modify | 6 | This program is free software: you can redistribute it and/or modify |
diff --git a/lib/strtoull.c b/lib/strtoull.c index 00d487bd6f8..51ae3acb03c 100644 --- a/lib/strtoull.c +++ b/lib/strtoull.c | |||
| @@ -1,6 +1,5 @@ | |||
| 1 | /* Function to parse an 'unsigned long long int' from text. | 1 | /* Function to parse an 'unsigned long long int' from text. |
| 2 | Copyright (C) 1995-1997, 1999, 2009-2017 Free Software Foundation, | 2 | Copyright (C) 1995-1997, 1999, 2009-2017 Free Software Foundation, Inc. |
| 3 | Inc. | ||
| 4 | NOTE: The canonical source of this file is maintained with the GNU C | 3 | NOTE: The canonical source of this file is maintained with the GNU C |
| 5 | Library. Bugs can be reported to bug-glibc@gnu.org. | 4 | Library. Bugs can be reported to bug-glibc@gnu.org. |
| 6 | 5 | ||
diff --git a/lib/tempname.c b/lib/tempname.c index 83e537a6940..2cd90328bda 100644 --- a/lib/tempname.c +++ b/lib/tempname.c | |||
| @@ -1,7 +1,6 @@ | |||
| 1 | /* tempname.c - generate the name of a temporary file. | 1 | /* tempname.c - generate the name of a temporary file. |
| 2 | 2 | ||
| 3 | Copyright (C) 1991-2003, 2005-2007, 2009-2017 Free Software | 3 | Copyright (C) 1991-2003, 2005-2007, 2009-2017 Free Software Foundation, Inc. |
| 4 | Foundation, Inc. | ||
| 5 | 4 | ||
| 6 | This program is free software: you can redistribute it and/or modify | 5 | This program is free software: you can redistribute it and/or modify |
| 7 | it under the terms of the GNU General Public License as published by | 6 | it under the terms of the GNU General Public License as published by |
diff --git a/lib/time_r.c b/lib/time_r.c index f0f562db010..708a98b3241 100644 --- a/lib/time_r.c +++ b/lib/time_r.c | |||
| @@ -1,7 +1,6 @@ | |||
| 1 | /* Reentrant time functions like localtime_r. | 1 | /* Reentrant time functions like localtime_r. |
| 2 | 2 | ||
| 3 | Copyright (C) 2003, 2006-2007, 2010-2017 Free Software Foundation, | 3 | Copyright (C) 2003, 2006-2007, 2010-2017 Free Software Foundation, Inc. |
| 4 | Inc. | ||
| 5 | 4 | ||
| 6 | This program is free software; you can redistribute it and/or modify | 5 | This program is free software; you can redistribute it and/or modify |
| 7 | it under the terms of the GNU General Public License as published by | 6 | it under the terms of the GNU General Public License as published by |
diff --git a/lib/timegm.c b/lib/timegm.c index e5525941208..957a3b830c9 100644 --- a/lib/timegm.c +++ b/lib/timegm.c | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | /* Convert UTC calendar time to simple time. Like mktime but assumes UTC. | 1 | /* Convert UTC calendar time to simple time. Like mktime but assumes UTC. |
| 2 | 2 | ||
| 3 | Copyright (C) 1994, 1997, 2003-2004, 2006-2007, 2009-2017 Free | 3 | Copyright (C) 1994, 1997, 2003-2004, 2006-2007, 2009-2017 Free Software |
| 4 | Software Foundation, Inc. This file is part of the GNU C Library. | 4 | Foundation, Inc. This file is part of the GNU C Library. |
| 5 | 5 | ||
| 6 | This program is free software; you can redistribute it and/or modify | 6 | This program is free software; you can redistribute it and/or modify |
| 7 | it under the terms of the GNU General Public License as published by | 7 | it under the terms of the GNU General Public License as published by |
diff --git a/lib/unistd.in.h b/lib/unistd.in.h index 428b408016f..d5fa34dbe56 100644 --- a/lib/unistd.in.h +++ b/lib/unistd.in.h | |||
| @@ -55,9 +55,13 @@ | |||
| 55 | #include <stddef.h> | 55 | #include <stddef.h> |
| 56 | 56 | ||
| 57 | /* mingw doesn't define the SEEK_* or *_FILENO macros in <unistd.h>. */ | 57 | /* mingw doesn't define the SEEK_* or *_FILENO macros in <unistd.h>. */ |
| 58 | /* MSVC declares 'unlink' in <stdio.h>, not in <unistd.h>. We must include | ||
| 59 | it before we #define unlink rpl_unlink. */ | ||
| 58 | /* Cygwin 1.7.1 declares symlinkat in <stdio.h>, not in <unistd.h>. */ | 60 | /* Cygwin 1.7.1 declares symlinkat in <stdio.h>, not in <unistd.h>. */ |
| 59 | /* But avoid namespace pollution on glibc systems. */ | 61 | /* But avoid namespace pollution on glibc systems. */ |
| 60 | #if (!(defined SEEK_CUR && defined SEEK_END && defined SEEK_SET) \ | 62 | #if (!(defined SEEK_CUR && defined SEEK_END && defined SEEK_SET) \ |
| 63 | || ((@GNULIB_UNLINK@ || defined GNULIB_POSIXCHECK) \ | ||
| 64 | && ((defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__)) \ | ||
| 61 | || ((@GNULIB_SYMLINKAT@ || defined GNULIB_POSIXCHECK) \ | 65 | || ((@GNULIB_SYMLINKAT@ || defined GNULIB_POSIXCHECK) \ |
| 62 | && defined __CYGWIN__)) \ | 66 | && defined __CYGWIN__)) \ |
| 63 | && ! defined __GLIBC__ | 67 | && ! defined __GLIBC__ |
| @@ -776,7 +780,7 @@ _GL_WARN_ON_USE (gethostname, "gethostname is unportable - " | |||
| 776 | ${LOGNAME-$USER} on Unix platforms, | 780 | ${LOGNAME-$USER} on Unix platforms, |
| 777 | $USERNAME on native Windows platforms. | 781 | $USERNAME on native Windows platforms. |
| 778 | */ | 782 | */ |
| 779 | # if !@HAVE_GETLOGIN@ | 783 | # if !@HAVE_DECL_GETLOGIN@ |
| 780 | _GL_FUNCDECL_SYS (getlogin, char *, (void)); | 784 | _GL_FUNCDECL_SYS (getlogin, char *, (void)); |
| 781 | # endif | 785 | # endif |
| 782 | _GL_CXXALIAS_SYS (getlogin, char *, (void)); | 786 | _GL_CXXALIAS_SYS (getlogin, char *, (void)); |
diff --git a/lib/xalloc-oversized.h b/lib/xalloc-oversized.h index e93c5cc1464..6b4e68b7c0e 100644 --- a/lib/xalloc-oversized.h +++ b/lib/xalloc-oversized.h | |||
| @@ -1,7 +1,6 @@ | |||
| 1 | /* xalloc-oversized.h -- memory allocation size checking | 1 | /* xalloc-oversized.h -- memory allocation size checking |
| 2 | 2 | ||
| 3 | Copyright (C) 1990-2000, 2003-2004, 2006-2017 Free Software | 3 | Copyright (C) 1990-2000, 2003-2004, 2006-2017 Free Software Foundation, Inc. |
| 4 | Foundation, Inc. | ||
| 5 | 4 | ||
| 6 | This program is free software: you can redistribute it and/or modify | 5 | This program is free software: you can redistribute it and/or modify |
| 7 | it under the terms of the GNU General Public License as published by | 6 | it under the terms of the GNU General Public License as published by |
diff --git a/m4/alloca.m4 b/m4/alloca.m4 index fd8751b5269..7f0604cbdac 100644 --- a/m4/alloca.m4 +++ b/m4/alloca.m4 | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | # alloca.m4 serial 14 | 1 | # alloca.m4 serial 14 |
| 2 | dnl Copyright (C) 2002-2004, 2006-2007, 2009-2017 Free Software | 2 | dnl Copyright (C) 2002-2004, 2006-2007, 2009-2017 Free Software Foundation, |
| 3 | dnl Foundation, Inc. | 3 | dnl Inc. |
| 4 | dnl This file is free software; the Free Software Foundation | 4 | dnl This file is free software; the Free Software Foundation |
| 5 | dnl gives unlimited permission to copy and/or distribute it, | 5 | dnl gives unlimited permission to copy and/or distribute it, |
| 6 | dnl with or without modifications, as long as this notice is preserved. | 6 | dnl with or without modifications, as long as this notice is preserved. |
diff --git a/m4/dup2.m4 b/m4/dup2.m4 index f327cb021a3..bdb9ae25018 100644 --- a/m4/dup2.m4 +++ b/m4/dup2.m4 | |||
| @@ -1,6 +1,5 @@ | |||
| 1 | #serial 25 | 1 | #serial 25 |
| 2 | dnl Copyright (C) 2002, 2005, 2007, 2009-2017 Free Software Foundation, | 2 | dnl Copyright (C) 2002, 2005, 2007, 2009-2017 Free Software Foundation, Inc. |
| 3 | dnl Inc. | ||
| 4 | dnl This file is free software; the Free Software Foundation | 3 | dnl This file is free software; the Free Software Foundation |
| 5 | dnl gives unlimited permission to copy and/or distribute it, | 4 | dnl gives unlimited permission to copy and/or distribute it, |
| 6 | dnl with or without modifications, as long as this notice is preserved. | 5 | dnl with or without modifications, as long as this notice is preserved. |
diff --git a/m4/filemode.m4 b/m4/filemode.m4 index d85bf517e49..91602e18088 100644 --- a/m4/filemode.m4 +++ b/m4/filemode.m4 | |||
| @@ -1,6 +1,5 @@ | |||
| 1 | # filemode.m4 serial 8 | 1 | # filemode.m4 serial 8 |
| 2 | dnl Copyright (C) 2002, 2005-2006, 2009-2017 Free Software Foundation, | 2 | dnl Copyright (C) 2002, 2005-2006, 2009-2017 Free Software Foundation, Inc. |
| 3 | dnl Inc. | ||
| 4 | dnl This file is free software; the Free Software Foundation | 3 | dnl This file is free software; the Free Software Foundation |
| 5 | dnl gives unlimited permission to copy and/or distribute it, | 4 | dnl gives unlimited permission to copy and/or distribute it, |
| 6 | dnl with or without modifications, as long as this notice is preserved. | 5 | dnl with or without modifications, as long as this notice is preserved. |
diff --git a/m4/flexmember.m4 b/m4/flexmember.m4 index 155ae9b8120..35580ac27c4 100644 --- a/m4/flexmember.m4 +++ b/m4/flexmember.m4 | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | # serial 4 | 1 | # serial 4 |
| 2 | # Check for flexible array member support. | 2 | # Check for flexible array member support. |
| 3 | 3 | ||
| 4 | # Copyright (C) 2006, 2009-2016 Free Software Foundation, Inc. | 4 | # Copyright (C) 2006, 2009-2017 Free Software Foundation, Inc. |
| 5 | # This file is free software; the Free Software Foundation | 5 | # This file is free software; the Free Software Foundation |
| 6 | # gives unlimited permission to copy and/or distribute it, | 6 | # gives unlimited permission to copy and/or distribute it, |
| 7 | # with or without modifications, as long as this notice is preserved. | 7 | # with or without modifications, as long as this notice is preserved. |
diff --git a/m4/getgroups.m4 b/m4/getgroups.m4 index 85605c11510..02ce2353ca4 100644 --- a/m4/getgroups.m4 +++ b/m4/getgroups.m4 | |||
| @@ -3,8 +3,7 @@ | |||
| 3 | dnl From Jim Meyering. | 3 | dnl From Jim Meyering. |
| 4 | dnl A wrapper around AC_FUNC_GETGROUPS. | 4 | dnl A wrapper around AC_FUNC_GETGROUPS. |
| 5 | 5 | ||
| 6 | # Copyright (C) 1996-1997, 1999-2004, 2008-2017 Free Software | 6 | # Copyright (C) 1996-1997, 1999-2004, 2008-2017 Free Software Foundation, Inc. |
| 7 | # Foundation, Inc. | ||
| 8 | # | 7 | # |
| 9 | # This file is free software; the Free Software Foundation | 8 | # This file is free software; the Free Software Foundation |
| 10 | # gives unlimited permission to copy and/or distribute it, | 9 | # gives unlimited permission to copy and/or distribute it, |
diff --git a/m4/getloadavg.m4 b/m4/getloadavg.m4 index e5f991ba019..86334cd0430 100644 --- a/m4/getloadavg.m4 +++ b/m4/getloadavg.m4 | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | # Check for getloadavg. | 1 | # Check for getloadavg. |
| 2 | 2 | ||
| 3 | # Copyright (C) 1992-1996, 1999-2000, 2002-2003, 2006, 2008-2017 Free | 3 | # Copyright (C) 1992-1996, 1999-2000, 2002-2003, 2006, 2008-2017 Free Software |
| 4 | # Software Foundation, Inc. | 4 | # Foundation, Inc. |
| 5 | 5 | ||
| 6 | # This file is free software; the Free Software Foundation | 6 | # This file is free software; the Free Software Foundation |
| 7 | # gives unlimited permission to copy and/or distribute it, | 7 | # gives unlimited permission to copy and/or distribute it, |
diff --git a/m4/gettime.m4 b/m4/gettime.m4 index cfaa2c0a999..1cdab2780d6 100644 --- a/m4/gettime.m4 +++ b/m4/gettime.m4 | |||
| @@ -1,6 +1,5 @@ | |||
| 1 | # gettime.m4 serial 8 | 1 | # gettime.m4 serial 8 |
| 2 | dnl Copyright (C) 2002, 2004-2006, 2009-2017 Free Software Foundation, | 2 | dnl Copyright (C) 2002, 2004-2006, 2009-2017 Free Software Foundation, Inc. |
| 3 | dnl Inc. | ||
| 4 | dnl This file is free software; the Free Software Foundation | 3 | dnl This file is free software; the Free Software Foundation |
| 5 | dnl gives unlimited permission to copy and/or distribute it, | 4 | dnl gives unlimited permission to copy and/or distribute it, |
| 6 | dnl with or without modifications, as long as this notice is preserved. | 5 | dnl with or without modifications, as long as this notice is preserved. |
diff --git a/m4/gettimeofday.m4 b/m4/gettimeofday.m4 index 21579d78dce..4f501e5bf91 100644 --- a/m4/gettimeofday.m4 +++ b/m4/gettimeofday.m4 | |||
| @@ -1,7 +1,6 @@ | |||
| 1 | # serial 21 | 1 | # serial 21 |
| 2 | 2 | ||
| 3 | # Copyright (C) 2001-2003, 2005, 2007, 2009-2017 Free Software | 3 | # Copyright (C) 2001-2003, 2005, 2007, 2009-2017 Free Software Foundation, Inc. |
| 4 | # Foundation, Inc. | ||
| 5 | # This file is free software; the Free Software Foundation | 4 | # This file is free software; the Free Software Foundation |
| 6 | # gives unlimited permission to copy and/or distribute it, | 5 | # gives unlimited permission to copy and/or distribute it, |
| 7 | # with or without modifications, as long as this notice is preserved. | 6 | # with or without modifications, as long as this notice is preserved. |
diff --git a/m4/gnulib-comp.m4 b/m4/gnulib-comp.m4 index 1df5bd17380..14af9fbd6bf 100644 --- a/m4/gnulib-comp.m4 +++ b/m4/gnulib-comp.m4 | |||
| @@ -265,7 +265,6 @@ AC_DEFUN([gl_INIT], | |||
| 265 | GNULIB_GL_UNISTD_H_GETOPT=1 | 265 | GNULIB_GL_UNISTD_H_GETOPT=1 |
| 266 | fi | 266 | fi |
| 267 | AC_SUBST([GNULIB_GL_UNISTD_H_GETOPT]) | 267 | AC_SUBST([GNULIB_GL_UNISTD_H_GETOPT]) |
| 268 | gl_MODULE_INDICATOR_FOR_TESTS([getopt-gnu]) | ||
| 269 | gl_FUNC_GETOPT_POSIX | 268 | gl_FUNC_GETOPT_POSIX |
| 270 | if test $REPLACE_GETOPT = 1; then | 269 | if test $REPLACE_GETOPT = 1; then |
| 271 | AC_LIBOBJ([getopt]) | 270 | AC_LIBOBJ([getopt]) |
| @@ -1099,4 +1098,5 @@ AC_DEFUN([gl_FILE_LIST], [ | |||
| 1099 | m4/warn-on-use.m4 | 1098 | m4/warn-on-use.m4 |
| 1100 | m4/warnings.m4 | 1099 | m4/warnings.m4 |
| 1101 | m4/wchar_t.m4 | 1100 | m4/wchar_t.m4 |
| 1101 | m4/wint_t.m4 | ||
| 1102 | ]) | 1102 | ]) |
diff --git a/m4/group-member.m4 b/m4/group-member.m4 index f4415dd9de9..a68538d24dc 100644 --- a/m4/group-member.m4 +++ b/m4/group-member.m4 | |||
| @@ -1,7 +1,6 @@ | |||
| 1 | # serial 14 | 1 | # serial 14 |
| 2 | 2 | ||
| 3 | # Copyright (C) 1999-2001, 2003-2007, 2009-2017 Free Software | 3 | # Copyright (C) 1999-2001, 2003-2007, 2009-2017 Free Software Foundation, Inc. |
| 4 | # Foundation, Inc. | ||
| 5 | 4 | ||
| 6 | # This file is free software; the Free Software Foundation | 5 | # This file is free software; the Free Software Foundation |
| 7 | # gives unlimited permission to copy and/or distribute it, | 6 | # gives unlimited permission to copy and/or distribute it, |
diff --git a/m4/limits-h.m4 b/m4/limits-h.m4 index 31fdf0a779e..443f91b4dc9 100644 --- a/m4/limits-h.m4 +++ b/m4/limits-h.m4 | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | dnl Check whether limits.h has needed features. | 1 | dnl Check whether limits.h has needed features. |
| 2 | 2 | ||
| 3 | dnl Copyright 2016 Free Software Foundation, Inc. | 3 | dnl Copyright 2016-2017 Free Software Foundation, Inc. |
| 4 | dnl This file is free software; the Free Software Foundation | 4 | dnl This file is free software; the Free Software Foundation |
| 5 | dnl gives unlimited permission to copy and/or distribute it, | 5 | dnl gives unlimited permission to copy and/or distribute it, |
| 6 | dnl with or without modifications, as long as this notice is preserved. | 6 | dnl with or without modifications, as long as this notice is preserved. |
diff --git a/m4/manywarnings.m4 b/m4/manywarnings.m4 index 4f701f4eaca..0f06adecfbb 100644 --- a/m4/manywarnings.m4 +++ b/m4/manywarnings.m4 | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | # manywarnings.m4 serial 8 | 1 | # manywarnings.m4 serial 8 |
| 2 | dnl Copyright (C) 2008-2016 Free Software Foundation, Inc. | 2 | dnl Copyright (C) 2008-2017 Free Software Foundation, Inc. |
| 3 | dnl This file is free software; the Free Software Foundation | 3 | dnl This file is free software; the Free Software Foundation |
| 4 | dnl gives unlimited permission to copy and/or distribute it, | 4 | dnl gives unlimited permission to copy and/or distribute it, |
| 5 | dnl with or without modifications, as long as this notice is preserved. | 5 | dnl with or without modifications, as long as this notice is preserved. |
diff --git a/m4/memrchr.m4 b/m4/memrchr.m4 index f8ca1646299..e180f6105fd 100644 --- a/m4/memrchr.m4 +++ b/m4/memrchr.m4 | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | # memrchr.m4 serial 10 | 1 | # memrchr.m4 serial 10 |
| 2 | dnl Copyright (C) 2002-2003, 2005-2007, 2009-2017 Free Software | 2 | dnl Copyright (C) 2002-2003, 2005-2007, 2009-2017 Free Software Foundation, |
| 3 | dnl Foundation, Inc. | 3 | dnl Inc. |
| 4 | dnl This file is free software; the Free Software Foundation | 4 | dnl This file is free software; the Free Software Foundation |
| 5 | dnl gives unlimited permission to copy and/or distribute it, | 5 | dnl gives unlimited permission to copy and/or distribute it, |
| 6 | dnl with or without modifications, as long as this notice is preserved. | 6 | dnl with or without modifications, as long as this notice is preserved. |
diff --git a/m4/mktime.m4 b/m4/mktime.m4 index 23cad732ff4..d594ddc58be 100644 --- a/m4/mktime.m4 +++ b/m4/mktime.m4 | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | # serial 27 | 1 | # serial 27 |
| 2 | dnl Copyright (C) 2002-2003, 2005-2007, 2009-2016 Free Software Foundation, | 2 | dnl Copyright (C) 2002-2003, 2005-2007, 2009-2017 Free Software Foundation, |
| 3 | dnl Inc. | 3 | dnl Inc. |
| 4 | dnl This file is free software; the Free Software Foundation | 4 | dnl This file is free software; the Free Software Foundation |
| 5 | dnl gives unlimited permission to copy and/or distribute it, | 5 | dnl gives unlimited permission to copy and/or distribute it, |
diff --git a/m4/pathmax.m4 b/m4/pathmax.m4 index af51f03f4ec..c6c9f24d06f 100644 --- a/m4/pathmax.m4 +++ b/m4/pathmax.m4 | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | # pathmax.m4 serial 10 | 1 | # pathmax.m4 serial 10 |
| 2 | dnl Copyright (C) 2002-2003, 2005-2006, 2009-2017 Free Software | 2 | dnl Copyright (C) 2002-2003, 2005-2006, 2009-2017 Free Software Foundation, |
| 3 | dnl Foundation, Inc. | 3 | dnl Inc. |
| 4 | dnl This file is free software; the Free Software Foundation | 4 | dnl This file is free software; the Free Software Foundation |
| 5 | dnl gives unlimited permission to copy and/or distribute it, | 5 | dnl gives unlimited permission to copy and/or distribute it, |
| 6 | dnl with or without modifications, as long as this notice is preserved. | 6 | dnl with or without modifications, as long as this notice is preserved. |
diff --git a/m4/sig2str.m4 b/m4/sig2str.m4 index 23b42933a55..c8b89964174 100644 --- a/m4/sig2str.m4 +++ b/m4/sig2str.m4 | |||
| @@ -1,6 +1,5 @@ | |||
| 1 | # serial 7 | 1 | # serial 7 |
| 2 | dnl Copyright (C) 2002, 2005-2006, 2009-2017 Free Software Foundation, | 2 | dnl Copyright (C) 2002, 2005-2006, 2009-2017 Free Software Foundation, Inc. |
| 3 | dnl Inc. | ||
| 4 | dnl This file is free software; the Free Software Foundation | 3 | dnl This file is free software; the Free Software Foundation |
| 5 | dnl gives unlimited permission to copy and/or distribute it, | 4 | dnl gives unlimited permission to copy and/or distribute it, |
| 6 | dnl with or without modifications, as long as this notice is preserved. | 5 | dnl with or without modifications, as long as this notice is preserved. |
diff --git a/m4/ssize_t.m4 b/m4/ssize_t.m4 index b262b222a26..66ba9d4ea25 100644 --- a/m4/ssize_t.m4 +++ b/m4/ssize_t.m4 | |||
| @@ -1,6 +1,5 @@ | |||
| 1 | # ssize_t.m4 serial 5 (gettext-0.18.2) | 1 | # ssize_t.m4 serial 5 (gettext-0.18.2) |
| 2 | dnl Copyright (C) 2001-2003, 2006, 2010-2017 Free Software Foundation, | 2 | dnl Copyright (C) 2001-2003, 2006, 2010-2017 Free Software Foundation, Inc. |
| 3 | dnl Inc. | ||
| 4 | dnl This file is free software; the Free Software Foundation | 3 | dnl This file is free software; the Free Software Foundation |
| 5 | dnl gives unlimited permission to copy and/or distribute it, | 4 | dnl gives unlimited permission to copy and/or distribute it, |
| 6 | dnl with or without modifications, as long as this notice is preserved. | 5 | dnl with or without modifications, as long as this notice is preserved. |
diff --git a/m4/st_dm_mode.m4 b/m4/st_dm_mode.m4 index af6757e8a38..ed2cff8c2cc 100644 --- a/m4/st_dm_mode.m4 +++ b/m4/st_dm_mode.m4 | |||
| @@ -1,7 +1,6 @@ | |||
| 1 | # serial 6 | 1 | # serial 6 |
| 2 | 2 | ||
| 3 | # Copyright (C) 1998-1999, 2001, 2009-2017 Free Software Foundation, | 3 | # Copyright (C) 1998-1999, 2001, 2009-2017 Free Software Foundation, Inc. |
| 4 | # Inc. | ||
| 5 | # This file is free software; the Free Software Foundation | 4 | # This file is free software; the Free Software Foundation |
| 6 | # gives unlimited permission to copy and/or distribute it, | 5 | # gives unlimited permission to copy and/or distribute it, |
| 7 | # with or without modifications, as long as this notice is preserved. | 6 | # with or without modifications, as long as this notice is preserved. |
diff --git a/m4/stat-time.m4 b/m4/stat-time.m4 index af747c6772d..4017fc9d7f1 100644 --- a/m4/stat-time.m4 +++ b/m4/stat-time.m4 | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | # Checks for stat-related time functions. | 1 | # Checks for stat-related time functions. |
| 2 | 2 | ||
| 3 | # Copyright (C) 1998-1999, 2001, 2003, 2005-2007, 2009-2017 Free | 3 | # Copyright (C) 1998-1999, 2001, 2003, 2005-2007, 2009-2017 Free Software |
| 4 | # Software Foundation, Inc. | 4 | # Foundation, Inc. |
| 5 | 5 | ||
| 6 | # This file is free software; the Free Software Foundation | 6 | # This file is free software; the Free Software Foundation |
| 7 | # gives unlimited permission to copy and/or distribute it, | 7 | # gives unlimited permission to copy and/or distribute it, |
diff --git a/m4/std-gnu11.m4 b/m4/std-gnu11.m4 index 10da26f1302..9dae9b1ccf1 100644 --- a/m4/std-gnu11.m4 +++ b/m4/std-gnu11.m4 | |||
| @@ -7,7 +7,7 @@ | |||
| 7 | # or later is installed everywhere a Gnulib program might be developed. | 7 | # or later is installed everywhere a Gnulib program might be developed. |
| 8 | 8 | ||
| 9 | 9 | ||
| 10 | # Copyright (C) 2001-2016 Free Software Foundation, Inc. | 10 | # Copyright (C) 2001-2017 Free Software Foundation, Inc. |
| 11 | 11 | ||
| 12 | # This program is free software; you can redistribute it and/or modify | 12 | # This program is free software; you can redistribute it and/or modify |
| 13 | # it under the terms of the GNU General Public License as published by | 13 | # it under the terms of the GNU General Public License as published by |
diff --git a/m4/stdint.m4 b/m4/stdint.m4 index 05b6ab7846b..4ac854d5198 100644 --- a/m4/stdint.m4 +++ b/m4/stdint.m4 | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | # stdint.m4 serial 48 | 1 | # stdint.m4 serial 50 |
| 2 | dnl Copyright (C) 2001-2016 Free Software Foundation, Inc. | 2 | dnl Copyright (C) 2001-2017 Free Software Foundation, Inc. |
| 3 | dnl This file is free software; the Free Software Foundation | 3 | dnl This file is free software; the Free Software Foundation |
| 4 | dnl gives unlimited permission to copy and/or distribute it, | 4 | dnl gives unlimited permission to copy and/or distribute it, |
| 5 | dnl with or without modifications, as long as this notice is preserved. | 5 | dnl with or without modifications, as long as this notice is preserved. |
| @@ -12,6 +12,7 @@ AC_DEFUN_ONCE([gl_STDINT_H], | |||
| 12 | AC_PREREQ([2.59])dnl | 12 | AC_PREREQ([2.59])dnl |
| 13 | 13 | ||
| 14 | AC_REQUIRE([gl_LIMITS_H]) | 14 | AC_REQUIRE([gl_LIMITS_H]) |
| 15 | AC_REQUIRE([gt_TYPE_WINT_T]) | ||
| 15 | 16 | ||
| 16 | dnl Check for long long int and unsigned long long int. | 17 | dnl Check for long long int and unsigned long long int. |
| 17 | AC_REQUIRE([AC_TYPE_LONG_LONG_INT]) | 18 | AC_REQUIRE([AC_TYPE_LONG_LONG_INT]) |
| @@ -354,7 +355,7 @@ int32_t i32 = INT32_C (0x7fffffff); | |||
| 354 | gl_STDINT_TYPE_PROPERTIES | 355 | gl_STDINT_TYPE_PROPERTIES |
| 355 | fi | 356 | fi |
| 356 | 357 | ||
| 357 | # The substitute stdint.h needs the substitute limit.h's _GL_INTEGER_WIDTH. | 358 | dnl The substitute stdint.h needs the substitute limit.h's _GL_INTEGER_WIDTH. |
| 358 | LIMITS_H=limits.h | 359 | LIMITS_H=limits.h |
| 359 | AM_CONDITIONAL([GL_GENERATE_LIMITS_H], [test -n "$LIMITS_H"]) | 360 | AM_CONDITIONAL([GL_GENERATE_LIMITS_H], [test -n "$LIMITS_H"]) |
| 360 | 361 | ||
| @@ -528,7 +529,7 @@ AC_DEFUN([gl_STDINT_TYPE_PROPERTIES], | |||
| 528 | dnl requirement that wint_t is "unchanged by default argument promotions". | 529 | dnl requirement that wint_t is "unchanged by default argument promotions". |
| 529 | dnl In this case gnulib's <wchar.h> and <wctype.h> override wint_t. | 530 | dnl In this case gnulib's <wchar.h> and <wctype.h> override wint_t. |
| 530 | dnl Set the variable BITSIZEOF_WINT_T accordingly. | 531 | dnl Set the variable BITSIZEOF_WINT_T accordingly. |
| 531 | if test $BITSIZEOF_WINT_T -lt 32; then | 532 | if test $GNULIB_OVERRIDES_WINT_T = 1; then |
| 532 | BITSIZEOF_WINT_T=32 | 533 | BITSIZEOF_WINT_T=32 |
| 533 | fi | 534 | fi |
| 534 | ]) | 535 | ]) |
diff --git a/m4/stdio_h.m4 b/m4/stdio_h.m4 index eaa25a01d49..9ffbb852ead 100644 --- a/m4/stdio_h.m4 +++ b/m4/stdio_h.m4 | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | # stdio_h.m4 serial 48 | 1 | # stdio_h.m4 serial 48 |
| 2 | dnl Copyright (C) 2007-2016 Free Software Foundation, Inc. | 2 | dnl Copyright (C) 2007-2017 Free Software Foundation, Inc. |
| 3 | dnl This file is free software; the Free Software Foundation | 3 | dnl This file is free software; the Free Software Foundation |
| 4 | dnl gives unlimited permission to copy and/or distribute it, | 4 | dnl gives unlimited permission to copy and/or distribute it, |
| 5 | dnl with or without modifications, as long as this notice is preserved. | 5 | dnl with or without modifications, as long as this notice is preserved. |
diff --git a/m4/stdlib_h.m4 b/m4/stdlib_h.m4 index 3999068153d..110fe2d1a9f 100644 --- a/m4/stdlib_h.m4 +++ b/m4/stdlib_h.m4 | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | # stdlib_h.m4 serial 43 | 1 | # stdlib_h.m4 serial 43 |
| 2 | dnl Copyright (C) 2007-2016 Free Software Foundation, Inc. | 2 | dnl Copyright (C) 2007-2017 Free Software Foundation, Inc. |
| 3 | dnl This file is free software; the Free Software Foundation | 3 | dnl This file is free software; the Free Software Foundation |
| 4 | dnl gives unlimited permission to copy and/or distribute it, | 4 | dnl gives unlimited permission to copy and/or distribute it, |
| 5 | dnl with or without modifications, as long as this notice is preserved. | 5 | dnl with or without modifications, as long as this notice is preserved. |
diff --git a/m4/strftime.m4 b/m4/strftime.m4 index b708b1b7dc5..3a5db9b4e3c 100644 --- a/m4/strftime.m4 +++ b/m4/strftime.m4 | |||
| @@ -1,7 +1,6 @@ | |||
| 1 | # serial 33 | 1 | # serial 33 |
| 2 | 2 | ||
| 3 | # Copyright (C) 1996-1997, 1999-2007, 2009-2017 Free Software | 3 | # Copyright (C) 1996-1997, 1999-2007, 2009-2017 Free Software Foundation, Inc. |
| 4 | # Foundation, Inc. | ||
| 5 | # | 4 | # |
| 6 | # This file is free software; the Free Software Foundation | 5 | # This file is free software; the Free Software Foundation |
| 7 | # gives unlimited permission to copy and/or distribute it, | 6 | # gives unlimited permission to copy and/or distribute it, |
diff --git a/m4/strtoimax.m4 b/m4/strtoimax.m4 index 4e98e6690d0..f0586f1a802 100644 --- a/m4/strtoimax.m4 +++ b/m4/strtoimax.m4 | |||
| @@ -1,6 +1,5 @@ | |||
| 1 | # strtoimax.m4 serial 14 | 1 | # strtoimax.m4 serial 14 |
| 2 | dnl Copyright (C) 2002-2004, 2006, 2009-2017 Free Software Foundation, | 2 | dnl Copyright (C) 2002-2004, 2006, 2009-2017 Free Software Foundation, Inc. |
| 3 | dnl Inc. | ||
| 4 | dnl This file is free software; the Free Software Foundation | 3 | dnl This file is free software; the Free Software Foundation |
| 5 | dnl gives unlimited permission to copy and/or distribute it, | 4 | dnl gives unlimited permission to copy and/or distribute it, |
| 6 | dnl with or without modifications, as long as this notice is preserved. | 5 | dnl with or without modifications, as long as this notice is preserved. |
diff --git a/m4/strtoll.m4 b/m4/strtoll.m4 index 3570f381701..9c2a903428a 100644 --- a/m4/strtoll.m4 +++ b/m4/strtoll.m4 | |||
| @@ -1,6 +1,5 @@ | |||
| 1 | # strtoll.m4 serial 7 | 1 | # strtoll.m4 serial 7 |
| 2 | dnl Copyright (C) 2002, 2004, 2006, 2008-2017 Free Software Foundation, | 2 | dnl Copyright (C) 2002, 2004, 2006, 2008-2017 Free Software Foundation, Inc. |
| 3 | dnl Inc. | ||
| 4 | dnl This file is free software; the Free Software Foundation | 3 | dnl This file is free software; the Free Software Foundation |
| 5 | dnl gives unlimited permission to copy and/or distribute it, | 4 | dnl gives unlimited permission to copy and/or distribute it, |
| 6 | dnl with or without modifications, as long as this notice is preserved. | 5 | dnl with or without modifications, as long as this notice is preserved. |
diff --git a/m4/strtoull.m4 b/m4/strtoull.m4 index bc9b7ca8eba..c6b215072b6 100644 --- a/m4/strtoull.m4 +++ b/m4/strtoull.m4 | |||
| @@ -1,6 +1,5 @@ | |||
| 1 | # strtoull.m4 serial 7 | 1 | # strtoull.m4 serial 7 |
| 2 | dnl Copyright (C) 2002, 2004, 2006, 2008-2017 Free Software Foundation, | 2 | dnl Copyright (C) 2002, 2004, 2006, 2008-2017 Free Software Foundation, Inc. |
| 3 | dnl Inc. | ||
| 4 | dnl This file is free software; the Free Software Foundation | 3 | dnl This file is free software; the Free Software Foundation |
| 5 | dnl gives unlimited permission to copy and/or distribute it, | 4 | dnl gives unlimited permission to copy and/or distribute it, |
| 6 | dnl with or without modifications, as long as this notice is preserved. | 5 | dnl with or without modifications, as long as this notice is preserved. |
diff --git a/m4/strtoumax.m4 b/m4/strtoumax.m4 index 5b690d55002..43ef5b5abbf 100644 --- a/m4/strtoumax.m4 +++ b/m4/strtoumax.m4 | |||
| @@ -1,6 +1,5 @@ | |||
| 1 | # strtoumax.m4 serial 12 | 1 | # strtoumax.m4 serial 12 |
| 2 | dnl Copyright (C) 2002-2004, 2006, 2009-2017 Free Software Foundation, | 2 | dnl Copyright (C) 2002-2004, 2006, 2009-2017 Free Software Foundation, Inc. |
| 3 | dnl Inc. | ||
| 4 | dnl This file is free software; the Free Software Foundation | 3 | dnl This file is free software; the Free Software Foundation |
| 5 | dnl gives unlimited permission to copy and/or distribute it, | 4 | dnl gives unlimited permission to copy and/or distribute it, |
| 6 | dnl with or without modifications, as long as this notice is preserved. | 5 | dnl with or without modifications, as long as this notice is preserved. |
diff --git a/m4/sys_types_h.m4 b/m4/sys_types_h.m4 index 159b005b3d4..2eb4e9e44e2 100644 --- a/m4/sys_types_h.m4 +++ b/m4/sys_types_h.m4 | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | # sys_types_h.m4 serial 6 | 1 | # sys_types_h.m4 serial 6 |
| 2 | dnl Copyright (C) 2011-2016 Free Software Foundation, Inc. | 2 | dnl Copyright (C) 2011-2017 Free Software Foundation, Inc. |
| 3 | dnl This file is free software; the Free Software Foundation | 3 | dnl This file is free software; the Free Software Foundation |
| 4 | dnl gives unlimited permission to copy and/or distribute it, | 4 | dnl gives unlimited permission to copy and/or distribute it, |
| 5 | dnl with or without modifications, as long as this notice is preserved. | 5 | dnl with or without modifications, as long as this notice is preserved. |
diff --git a/m4/time_h.m4 b/m4/time_h.m4 index bdc1499b2e0..b92567875cb 100644 --- a/m4/time_h.m4 +++ b/m4/time_h.m4 | |||
| @@ -1,7 +1,6 @@ | |||
| 1 | # Configure a more-standard replacement for <time.h>. | 1 | # Configure a more-standard replacement for <time.h>. |
| 2 | 2 | ||
| 3 | # Copyright (C) 2000-2001, 2003-2007, 2009-2017 Free Software | 3 | # Copyright (C) 2000-2001, 2003-2007, 2009-2017 Free Software Foundation, Inc. |
| 4 | # Foundation, Inc. | ||
| 5 | 4 | ||
| 6 | # serial 9 | 5 | # serial 9 |
| 7 | 6 | ||
diff --git a/m4/timespec.m4 b/m4/timespec.m4 index 6c9aa08a4b2..c901468ed80 100644 --- a/m4/timespec.m4 +++ b/m4/timespec.m4 | |||
| @@ -1,7 +1,6 @@ | |||
| 1 | #serial 15 | 1 | #serial 15 |
| 2 | 2 | ||
| 3 | # Copyright (C) 2000-2001, 2003-2007, 2009-2017 Free Software | 3 | # Copyright (C) 2000-2001, 2003-2007, 2009-2017 Free Software Foundation, Inc. |
| 4 | # Foundation, Inc. | ||
| 5 | 4 | ||
| 6 | # This file is free software; the Free Software Foundation | 5 | # This file is free software; the Free Software Foundation |
| 7 | # gives unlimited permission to copy and/or distribute it, | 6 | # gives unlimited permission to copy and/or distribute it, |
diff --git a/m4/unistd_h.m4 b/m4/unistd_h.m4 index 1a50760548d..25aef19ec9d 100644 --- a/m4/unistd_h.m4 +++ b/m4/unistd_h.m4 | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | # unistd_h.m4 serial 68 | 1 | # unistd_h.m4 serial 69 |
| 2 | dnl Copyright (C) 2006-2017 Free Software Foundation, Inc. | 2 | dnl Copyright (C) 2006-2017 Free Software Foundation, Inc. |
| 3 | dnl This file is free software; the Free Software Foundation | 3 | dnl This file is free software; the Free Software Foundation |
| 4 | dnl gives unlimited permission to copy and/or distribute it, | 4 | dnl gives unlimited permission to copy and/or distribute it, |
| @@ -145,6 +145,7 @@ AC_DEFUN([gl_UNISTD_H_DEFAULTS], | |||
| 145 | HAVE_DECL_FCHDIR=1; AC_SUBST([HAVE_DECL_FCHDIR]) | 145 | HAVE_DECL_FCHDIR=1; AC_SUBST([HAVE_DECL_FCHDIR]) |
| 146 | HAVE_DECL_FDATASYNC=1; AC_SUBST([HAVE_DECL_FDATASYNC]) | 146 | HAVE_DECL_FDATASYNC=1; AC_SUBST([HAVE_DECL_FDATASYNC]) |
| 147 | HAVE_DECL_GETDOMAINNAME=1; AC_SUBST([HAVE_DECL_GETDOMAINNAME]) | 147 | HAVE_DECL_GETDOMAINNAME=1; AC_SUBST([HAVE_DECL_GETDOMAINNAME]) |
| 148 | HAVE_DECL_GETLOGIN=1; AC_SUBST([HAVE_DECL_GETLOGIN]) | ||
| 148 | HAVE_DECL_GETLOGIN_R=1; AC_SUBST([HAVE_DECL_GETLOGIN_R]) | 149 | HAVE_DECL_GETLOGIN_R=1; AC_SUBST([HAVE_DECL_GETLOGIN_R]) |
| 149 | HAVE_DECL_GETPAGESIZE=1; AC_SUBST([HAVE_DECL_GETPAGESIZE]) | 150 | HAVE_DECL_GETPAGESIZE=1; AC_SUBST([HAVE_DECL_GETPAGESIZE]) |
| 150 | HAVE_DECL_GETUSERSHELL=1; AC_SUBST([HAVE_DECL_GETUSERSHELL]) | 151 | HAVE_DECL_GETUSERSHELL=1; AC_SUBST([HAVE_DECL_GETUSERSHELL]) |
diff --git a/m4/utimbuf.m4 b/m4/utimbuf.m4 index f11d5da706a..1c422349590 100644 --- a/m4/utimbuf.m4 +++ b/m4/utimbuf.m4 | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | # serial 9 | 1 | # serial 9 |
| 2 | 2 | ||
| 3 | # Copyright (C) 1998-2001, 2003-2004, 2007, 2009-2017 Free Software | 3 | # Copyright (C) 1998-2001, 2003-2004, 2007, 2009-2017 Free Software Foundation, |
| 4 | # Foundation, Inc. | 4 | # Inc. |
| 5 | # | 5 | # |
| 6 | # This file is free software; the Free Software Foundation | 6 | # This file is free software; the Free Software Foundation |
| 7 | # gives unlimited permission to copy and/or distribute it, | 7 | # gives unlimited permission to copy and/or distribute it, |