From 581c785bf31bc74430320c7856bbfa3875d025fe Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Sat, 1 Jan 2022 10:54:23 -0800 Subject: Update copyright dates with scripts/update-copyrights I used these shell commands: ../glibc/scripts/update-copyrights $PWD/../gnulib/build-aux/update-copyright (cd ../glibc && git commit -am"[this commit message]") and then ignored the output, which consisted lines saying "FOO: warning: copyright statement not found" for each of 7061 files FOO. I then removed trailing white space from math/tgmath.h, support/tst-support-open-dev-null-range.c, and sysdeps/x86_64/multiarch/strlen-vec.S, to work around the following obscure pre-commit check failure diagnostics from Savannah. I don't know why I run into these diagnostics whereas others evidently do not. remote: *** 912-#endif remote: *** 913: remote: *** 914- remote: *** error: lines with trailing whitespace found ... remote: *** error: sysdeps/unix/sysv/linux/statx_cp.c: trailing lines --- support/tst-support-open-dev-null-range.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'support/tst-support-open-dev-null-range.c') diff --git a/support/tst-support-open-dev-null-range.c b/support/tst-support-open-dev-null-range.c index 8e29def1ce..3ed3177d57 100644 --- a/support/tst-support-open-dev-null-range.c +++ b/support/tst-support-open-dev-null-range.c @@ -1,5 +1,5 @@ /* Tests for support_open_dev_null_range. - Copyright (C) 2021 Free Software Foundation, Inc. + Copyright (C) 2021-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 @@ -117,7 +117,7 @@ do_test (void) struct rlimit rl; if (getrlimit (RLIMIT_NOFILE, &rl) == -1) FAIL_EXIT1 ("getrlimit (RLIMIT_NOFILE): %m"); - + rl.rlim_cur = number_of_opened_files (); if (setrlimit (RLIMIT_NOFILE, &rl) == 1) -- cgit v1.2.3-70-g09d2