diff options
Diffstat (limited to 'support')
-rw-r--r-- | support/ChangeLog | 11 | ||||
-rw-r--r-- | support/cdefs.h | 7 | ||||
-rw-r--r-- | support/dfa.c | 4 | ||||
-rw-r--r-- | support/dfa.h | 4 | ||||
-rw-r--r-- | support/dynarray.h | 2 | ||||
-rw-r--r-- | support/flexmember.h | 2 | ||||
-rw-r--r-- | support/idx.h | 2 | ||||
-rw-r--r-- | support/intprops.h | 12 | ||||
-rw-r--r-- | support/libc-config.h | 2 | ||||
-rw-r--r-- | support/localeinfo.c | 4 | ||||
-rw-r--r-- | support/localeinfo.h | 4 | ||||
-rw-r--r-- | support/malloc/dynarray-skeleton.c | 2 | ||||
-rw-r--r-- | support/malloc/dynarray.h | 2 | ||||
-rw-r--r-- | support/malloc/dynarray_at_failure.c | 2 | ||||
-rw-r--r-- | support/malloc/dynarray_emplace_enlarge.c | 2 | ||||
-rw-r--r-- | support/malloc/dynarray_finalize.c | 2 | ||||
-rw-r--r-- | support/malloc/dynarray_resize.c | 2 | ||||
-rw-r--r-- | support/malloc/dynarray_resize_clear.c | 2 | ||||
-rw-r--r-- | support/regcomp.c | 2 | ||||
-rw-r--r-- | support/regex.c | 2 | ||||
-rw-r--r-- | support/regex.h | 2 | ||||
-rw-r--r-- | support/regex_internal.c | 2 | ||||
-rw-r--r-- | support/regex_internal.h | 2 | ||||
-rw-r--r-- | support/regexec.c | 2 | ||||
-rw-r--r-- | support/verify.h | 2 |
25 files changed, 49 insertions, 33 deletions
diff --git a/support/ChangeLog b/support/ChangeLog index 0dc26649..7fa46da5 100644 --- a/support/ChangeLog +++ b/support/ChangeLog @@ -1,3 +1,14 @@ +2022-01-19 Arnold D. Robbins <arnold@skeeve.com> + + * cdefs.h, dfa.c, dfa.h, dynarray.h, flexmember.h, idx.h, + intprops.h, libc-config.h, localeinfo.c, localeinfo.h, + malloc/dynarray-skeleton.c, malloc/dynarray.h, + malloc/dynarray_at_failure.c, malloc/dynarray_emplace_enlarge.c, + malloc/dynarray_finalize.c, malloc/dynarray_resize.c, + malloc/dynarray_resize_clear.c, regcomp.c, regex.c, regex.h, + regex_internal.c, regex_internal.h, regexec.c, verify.h: Sync + with GNULIB. Primarily updates copyright year. + 2021-12-10 Arnold D. Robbins <arnold@skeeve.com> * intprops.h, regcomp.c, regex_internal.c, regex_internal.h, diff --git a/support/cdefs.h b/support/cdefs.h index ab57d4a0..44d3826b 100644 --- a/support/cdefs.h +++ b/support/cdefs.h @@ -1,4 +1,4 @@ -/* Copyright (C) 1992-2021 Free Software Foundation, Inc. +/* Copyright (C) 1992-2022 Free Software Foundation, Inc. Copyright The GNU Toolchain Authors. This file is part of the GNU C Library. @@ -143,7 +143,8 @@ #define __bos0(ptr) __builtin_object_size (ptr, 0) /* Use __builtin_dynamic_object_size at _FORTIFY_SOURCE=3 when available. */ -#if __USE_FORTIFY_LEVEL == 3 && __glibc_clang_prereq (9, 0) +#if __USE_FORTIFY_LEVEL == 3 && (__glibc_clang_prereq (9, 0) \ + || __GNUC_PREREQ (12, 0)) # define __glibc_objsize0(__o) __builtin_dynamic_object_size (__o, 0) # define __glibc_objsize(__o) __builtin_dynamic_object_size (__o, 1) #else @@ -169,7 +170,7 @@ __s, __osz)) \ && __glibc_safe_len_cond ((__SIZE_TYPE__) (__l), __s, __osz)) -/* Conversely, we know at compile time that the length is safe if the +/* Conversely, we know at compile time that the length is unsafe if the __L * __S <= __OBJSZ condition can be folded to a constant and if it is false. */ #define __glibc_unsafe_len(__l, __s, __osz) \ diff --git a/support/dfa.c b/support/dfa.c index 459f10f7..a27d096f 100644 --- a/support/dfa.c +++ b/support/dfa.c @@ -1,10 +1,10 @@ /* dfa.c - deterministic extended regexp routines for GNU - Copyright (C) 1988, 1998, 2000, 2002, 2004-2005, 2007-2021 Free Software + Copyright (C) 1988, 1998, 2000, 2002, 2004-2005, 2007-2022 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 3, or (at your option) + the Free Software Foundation, either version 3, or (at your option) any later version. This program is distributed in the hope that it will be useful, diff --git a/support/dfa.h b/support/dfa.h index 84aba7d1..e94e4354 100644 --- a/support/dfa.h +++ b/support/dfa.h @@ -1,9 +1,9 @@ /* dfa.h - declarations for GNU deterministic regexp compiler - Copyright (C) 1988, 1998, 2007, 2009-2021 Free Software Foundation, Inc. + Copyright (C) 1988, 1998, 2007, 2009-2022 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 3, or (at your option) + the Free Software Foundation, either version 3, or (at your option) any later version. This program is distributed in the hope that it will be useful, diff --git a/support/dynarray.h b/support/dynarray.h index 76ca2294..bada2b54 100644 --- a/support/dynarray.h +++ b/support/dynarray.h @@ -1,5 +1,5 @@ /* Type-safe arrays which grow dynamically. - Copyright 2021 Free Software Foundation, Inc. + Copyright 2021-2022 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as diff --git a/support/flexmember.h b/support/flexmember.h index 1b19a2bf..1545639f 100644 --- a/support/flexmember.h +++ b/support/flexmember.h @@ -1,6 +1,6 @@ /* Sizes of structs with flexible array members. - Copyright 2016-2021 Free Software Foundation, Inc. + Copyright 2016-2022 Free Software Foundation, Inc. This file is part of the GNU C Library. diff --git a/support/idx.h b/support/idx.h index 54ad5d81..c3669dda 100644 --- a/support/idx.h +++ b/support/idx.h @@ -1,5 +1,5 @@ /* A type for indices and sizes. - Copyright (C) 2020-2021 Free Software Foundation, Inc. + Copyright (C) 2020-2022 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or diff --git a/support/intprops.h b/support/intprops.h index 7f20f09f..d4a917f7 100644 --- a/support/intprops.h +++ b/support/intprops.h @@ -1,6 +1,6 @@ /* intprops.h -- properties of integer types - Copyright (C) 2001-2021 Free Software Foundation, Inc. + Copyright (C) 2001-2022 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published @@ -229,18 +229,22 @@ /* True if __builtin_add_overflow (A, B, P) and __builtin_sub_overflow (A, B, P) work when P is non-null. */ -#if defined __has_builtin +#ifdef __EDG__ +/* EDG-based compilers like nvc 22.1 cannot add 64-bit signed to unsigned + <https://bugs.gnu.org/53256>. */ +# define _GL_HAS_BUILTIN_ADD_OVERFLOW 0 +#elif defined __has_builtin # define _GL_HAS_BUILTIN_ADD_OVERFLOW __has_builtin (__builtin_add_overflow) /* __builtin_{add,sub}_overflow exists but is not reliable in GCC 5.x and 6.x, see <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98269>. */ -#elif 7 <= __GNUC__ && !defined __EDG__ +#elif 7 <= __GNUC__ # define _GL_HAS_BUILTIN_ADD_OVERFLOW 1 #else # define _GL_HAS_BUILTIN_ADD_OVERFLOW 0 #endif /* True if __builtin_mul_overflow (A, B, P) works when P is non-null. */ -#if defined __clang_major_ && __clang_major__ < 14 +#if defined __clang_major__ && __clang_major__ < 14 /* Work around Clang bug <https://bugs.llvm.org/show_bug.cgi?id=16404>. */ # define _GL_HAS_BUILTIN_MUL_OVERFLOW 0 #else diff --git a/support/libc-config.h b/support/libc-config.h index 886c11f3..8fec4893 100644 --- a/support/libc-config.h +++ b/support/libc-config.h @@ -1,6 +1,6 @@ /* System definitions for code taken from the GNU C Library - Copyright 2017-2021 Free Software Foundation, Inc. + Copyright 2017-2022 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public diff --git a/support/localeinfo.c b/support/localeinfo.c index f75a3235..13478da2 100644 --- a/support/localeinfo.c +++ b/support/localeinfo.c @@ -1,10 +1,10 @@ /* locale information - Copyright 2016-2021 Free Software Foundation, Inc. + Copyright 2016-2022 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 3, or (at your option) + the Free Software Foundation, either version 3, or (at your option) any later version. This program is distributed in the hope that it will be useful, diff --git a/support/localeinfo.h b/support/localeinfo.h index 5013612c..ac235fcc 100644 --- a/support/localeinfo.h +++ b/support/localeinfo.h @@ -1,10 +1,10 @@ /* locale information - Copyright 2016-2021 Free Software Foundation, Inc. + Copyright 2016-2022 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 3, or (at your option) + the Free Software Foundation, either version 3, or (at your option) any later version. This program is distributed in the hope that it will be useful, diff --git a/support/malloc/dynarray-skeleton.c b/support/malloc/dynarray-skeleton.c index 48210e32..bad548a4 100644 --- a/support/malloc/dynarray-skeleton.c +++ b/support/malloc/dynarray-skeleton.c @@ -1,5 +1,5 @@ /* Type-safe arrays which grow dynamically. - Copyright (C) 2017-2021 Free Software Foundation, Inc. + Copyright (C) 2017-2022 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or diff --git a/support/malloc/dynarray.h b/support/malloc/dynarray.h index 638c33f9..f16fd950 100644 --- a/support/malloc/dynarray.h +++ b/support/malloc/dynarray.h @@ -1,5 +1,5 @@ /* Type-safe arrays which grow dynamically. Shared definitions. - Copyright (C) 2017-2021 Free Software Foundation, Inc. + Copyright (C) 2017-2022 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or diff --git a/support/malloc/dynarray_at_failure.c b/support/malloc/dynarray_at_failure.c index 8dd68507..062ab706 100644 --- a/support/malloc/dynarray_at_failure.c +++ b/support/malloc/dynarray_at_failure.c @@ -1,5 +1,5 @@ /* Report an dynamic array index out of bounds condition. - Copyright (C) 2017-2021 Free Software Foundation, Inc. + Copyright (C) 2017-2022 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or diff --git a/support/malloc/dynarray_emplace_enlarge.c b/support/malloc/dynarray_emplace_enlarge.c index 0f8baf94..0cff2e70 100644 --- a/support/malloc/dynarray_emplace_enlarge.c +++ b/support/malloc/dynarray_emplace_enlarge.c @@ -1,5 +1,5 @@ /* Increase the size of a dynamic array in preparation of an emplace operation. - Copyright (C) 2017-2021 Free Software Foundation, Inc. + Copyright (C) 2017-2022 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or diff --git a/support/malloc/dynarray_finalize.c b/support/malloc/dynarray_finalize.c index c33da413..3f360c3a 100644 --- a/support/malloc/dynarray_finalize.c +++ b/support/malloc/dynarray_finalize.c @@ -1,5 +1,5 @@ /* Copy the dynamically-allocated area to an explicitly-sized heap allocation. - Copyright (C) 2017-2021 Free Software Foundation, Inc. + Copyright (C) 2017-2022 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or diff --git a/support/malloc/dynarray_resize.c b/support/malloc/dynarray_resize.c index 5a57166a..8d1922e5 100644 --- a/support/malloc/dynarray_resize.c +++ b/support/malloc/dynarray_resize.c @@ -1,5 +1,5 @@ /* Increase the size of a dynamic array. - Copyright (C) 2017-2021 Free Software Foundation, Inc. + Copyright (C) 2017-2022 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or diff --git a/support/malloc/dynarray_resize_clear.c b/support/malloc/dynarray_resize_clear.c index 9c43b00c..8cf1b0d0 100644 --- a/support/malloc/dynarray_resize_clear.c +++ b/support/malloc/dynarray_resize_clear.c @@ -1,5 +1,5 @@ /* Increase the size of a dynamic array and clear the new part. - Copyright (C) 2017-2021 Free Software Foundation, Inc. + Copyright (C) 2017-2022 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or diff --git a/support/regcomp.c b/support/regcomp.c index 6a97fdee..b607c853 100644 --- a/support/regcomp.c +++ b/support/regcomp.c @@ -1,5 +1,5 @@ /* Extended regular expression matching and search library. - Copyright (C) 2002-2021 Free Software Foundation, Inc. + Copyright (C) 2002-2022 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Isamu Hasegawa <isamu@yamato.ibm.com>. diff --git a/support/regex.c b/support/regex.c index d3286397..ff117678 100644 --- a/support/regex.c +++ b/support/regex.c @@ -1,5 +1,5 @@ /* Extended regular expression matching and search library. - Copyright (C) 2002-2021 Free Software Foundation, Inc. + Copyright (C) 2002-2022 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Isamu Hasegawa <isamu@yamato.ibm.com>. diff --git a/support/regex.h b/support/regex.h index adb69768..a7e0bd02 100644 --- a/support/regex.h +++ b/support/regex.h @@ -1,6 +1,6 @@ /* Definitions for data structures and routines for the regular expression library. - Copyright (C) 1985, 1989-2021 Free Software Foundation, Inc. + Copyright (C) 1985, 1989-2022 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or diff --git a/support/regex_internal.c b/support/regex_internal.c index 9767cd0d..3945ee7e 100644 --- a/support/regex_internal.c +++ b/support/regex_internal.c @@ -1,5 +1,5 @@ /* Extended regular expression matching and search library. - Copyright (C) 2002-2021 Free Software Foundation, Inc. + Copyright (C) 2002-2022 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Isamu Hasegawa <isamu@yamato.ibm.com>. diff --git a/support/regex_internal.h b/support/regex_internal.h index 8493db27..57a455b1 100644 --- a/support/regex_internal.h +++ b/support/regex_internal.h @@ -1,5 +1,5 @@ /* Extended regular expression matching and search library. - Copyright (C) 2002-2021 Free Software Foundation, Inc. + Copyright (C) 2002-2022 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Isamu Hasegawa <isamu@yamato.ibm.com>. diff --git a/support/regexec.c b/support/regexec.c index 31967083..aea1e7da 100644 --- a/support/regexec.c +++ b/support/regexec.c @@ -1,5 +1,5 @@ /* Extended regular expression matching and search library. - Copyright (C) 2002-2021 Free Software Foundation, Inc. + Copyright (C) 2002-2022 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Isamu Hasegawa <isamu@yamato.ibm.com>. diff --git a/support/verify.h b/support/verify.h index a8ca59b0..07b2f486 100644 --- a/support/verify.h +++ b/support/verify.h @@ -1,6 +1,6 @@ /* Compile-time assert-like macros. - Copyright (C) 2005-2006, 2009-2021 Free Software Foundation, Inc. + Copyright (C) 2005-2006, 2009-2022 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as |