about summary refs log tree commit diff
path: root/support/tst-support-open-dev-null-range.c
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2022-01-01 10:54:23 -0800
committerPaul Eggert <eggert@cs.ucla.edu>2022-01-01 11:40:24 -0800
commit581c785bf31bc74430320c7856bbfa3875d025fe (patch)
treebf80527b52a15bc7c28e7df94082cabdadffedf8 /support/tst-support-open-dev-null-range.c
parentedb5ab841a049c8a8267ebc4d537eec690952daa (diff)
downloadglibc-581c785bf31bc74430320c7856bbfa3875d025fe.tar.gz
glibc-581c785bf31bc74430320c7856bbfa3875d025fe.tar.xz
glibc-581c785bf31bc74430320c7856bbfa3875d025fe.zip
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
Diffstat (limited to 'support/tst-support-open-dev-null-range.c')
-rw-r--r--support/tst-support-open-dev-null-range.c4
1 files changed, 2 insertions, 2 deletions
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)