]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - stdlib/test-canon2.c
stdlib: Tune down fork arc4random tests
[thirdparty/glibc.git] / stdlib / test-canon2.c
index ba491995b74e473820abcb4e5145efd7674cbd39..e45cc3a7165cb51157a0ddd04d250785052ffd1e 100644 (file)
@@ -1,7 +1,6 @@
 /* Test for realpath/canonicalize function.
-   Copyright (C) 1998 Free Software Foundation, Inc.
+   Copyright (C) 1998-2023 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
-   Contributed by Ulrich Drepper <drepper@cygnus.com>, 1998.
 
    The GNU C Library is free software; you can redistribute it and/or
    modify it under the terms of the GNU Lesser General Public
@@ -14,9 +13,8 @@
    Lesser General Public License for more details.
 
    You should have received a copy of the GNU Lesser General Public
-   License along with the GNU C Library; if not, write to the Free
-   Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
-   02111-1307 USA.  */
+   License along with the GNU C Library; if not, see
+   <https://www.gnu.org/licenses/>.  */
 
 #include <errno.h>
 #include <string.h>
@@ -39,7 +37,7 @@ char *name2;
 void
 do_prepare (int argc, char *argv[])
 {
-  char test_dir_len;
+  size_t test_dir_len;
 
   test_dir_len = strlen (test_dir);